Searched refs:code_ir (Results 1 – 7 of 7) sorted by relevance
/tools/dexter/slicer/ |
D | instrumentation.cc | 33 lir::CodeIr* code_ir, in BoxValue() argument 69 ir::Builder builder(code_ir->dex_ir); in BoxValue() 79 auto boxing_method = code_ir->Alloc<lir::Method>(ir_method_decl, ir_method_decl->orig_index); in BoxValue() 81 auto args = code_ir->Alloc<lir::VRegRange>(src_reg, 1 + is_wide); in BoxValue() 82 auto boxing_invoke = code_ir->Alloc<lir::Bytecode>(); in BoxValue() 86 code_ir->instructions.InsertBefore(bytecode, boxing_invoke); in BoxValue() 88 auto move_result = code_ir->Alloc<lir::Bytecode>(); in BoxValue() 90 move_result->operands.push_back(code_ir->Alloc<lir::VReg>(dst_reg)); in BoxValue() 91 code_ir->instructions.InsertBefore(bytecode, move_result); in BoxValue() 96 bool EntryHook::Apply(lir::CodeIr* code_ir) { in Apply() argument [all …]
|
D | Android.bp | 5 "code_ir.cc",
|
D | control_flow_graph.cc | 133 for (auto instr : code_ir->instructions) { in CreateBasicBlocks()
|
/tools/dexter/dexter/ |
D | experimental.cc | 36 lir::CodeIr code_ir(ir_method.get(), dex_ir); in FullRewrite() local 37 lir::ControlFlowGraph cfg_compact(&code_ir, false); in FullRewrite() 38 lir::ControlFlowGraph cfg_verbose(&code_ir, true); in FullRewrite() 39 code_ir.Assemble(); in FullRewrite() 55 lir::CodeIr code_ir(ir_method.get(), dex_ir); in StressWrapInvoke() local 65 auto it = code_ir.instructions.begin(); in StressWrapInvoke() 66 while (it != code_ir.instructions.end()) { in StressWrapInvoke() 104 auto wraper_method = code_ir.Alloc<lir::Method>(ir_method_decl, ir_method_decl->orig_index); in StressWrapInvoke() 107 auto new_call = code_ir.Alloc<lir::Bytecode>(); in StressWrapInvoke() 111 code_ir.instructions.InsertBefore(bytecode, new_call); in StressWrapInvoke() [all …]
|
D | dissasembler.cc | 327 lir::CodeIr code_ir(ir_method, dex_ir_); in Dissasemble() local 331 cfg.reset(new lir::ControlFlowGraph(&code_ir, false)); in Dissasemble() 334 cfg.reset(new lir::ControlFlowGraph(&code_ir, true)); in Dissasemble() 340 code_ir.Accept(&visitor); in Dissasemble()
|
/tools/dexter/slicer/export/slicer/ |
D | instrumentation.h | 35 virtual bool Apply(lir::CodeIr* code_ir) = 0; 71 virtual bool Apply(lir::CodeIr* code_ir) override; 77 bool InjectArrayParamsHook(lir::CodeIr* code_ir, lir::Bytecode* bytecode); 102 virtual bool Apply(lir::CodeIr* code_ir) override; 123 virtual bool Apply(lir::CodeIr* code_ir) override; 165 virtual bool Apply(lir::CodeIr* code_ir) override; 173 void RegsRenumbering(lir::CodeIr* code_ir); 174 void ShiftParams(lir::CodeIr* code_ir); 175 void Allocate(lir::CodeIr* code_ir, dex::u4 first_reg, int count);
|
D | control_flow_graph.h | 93 const CodeIr* code_ir; member 96 ControlFlowGraph(const CodeIr* code_ir, bool model_exceptions) : code_ir(code_ir) { in ControlFlowGraph()
|