Lines Matching refs:ir
90 explicit Transformer(std::shared_ptr<ir::DexFile> dexIr) : dexIr_(dexIr) {} in Transformer()
95 std::unique_ptr<ir::Builder> builder; in transform()
174 builder_ = std::unique_ptr<ir::Builder>(new ir::Builder(dexIr_)); in prepareBuilder()
191 void addCall(CodeIr* cIr, lir::Instruction* instructionAfter, Opcode opcode, ir::Type* type, in addCall()
192 const char* methodName, ir::Type* returnType, in addCall()
193 const std::vector<ir::Type*>& types, const std::list<int>& regs) { in addCall()
206 void addCall(CodeIr* cIr, lir::Instruction* instructionAfter, Opcode opcode, ir::Type* type, in addCall()
207 const char* methodName, ir::Type* returnType, ir::Type* paramType, in addCall()
218 std::shared_ptr<ir::DexFile> dexIr_;
219 std::unique_ptr<ir::Builder> builder_;
221 ir::Type* voidType_ = nullptr;
222 ir::Type* hookType_ = nullptr;
223 ir::Type* objectType_ = nullptr;
235 std::shared_ptr<ir::DexFile> ir = reader.GetIr(); in maybeTransform() local
238 Transformer transformer(ir); in maybeTransform()
245 dex::Writer writer(ir); in maybeTransform()