Searched refs:code_ir (Results 1 – 7 of 7) sorted by relevance
/tools/dexter/slicer/ |
D | instrumentation.cc | 37 lir::CodeIr* code_ir, in BoxValue() argument 73 ir::Builder builder(code_ir->dex_ir); in BoxValue() 83 auto boxing_method = code_ir->Alloc<lir::Method>(ir_method_decl, ir_method_decl->orig_index); in BoxValue() 85 auto args = code_ir->Alloc<lir::VRegRange>(src_reg, 1 + is_wide); in BoxValue() 86 auto boxing_invoke = code_ir->Alloc<lir::Bytecode>(); in BoxValue() 90 code_ir->instructions.InsertBefore(bytecode, boxing_invoke); in BoxValue() 92 auto move_result = code_ir->Alloc<lir::Bytecode>(); in BoxValue() 94 move_result->operands.push_back(code_ir->Alloc<lir::VReg>(dst_reg)); in BoxValue() 95 code_ir->instructions.InsertBefore(bytecode, move_result); in BoxValue() 105 bool EntryHook::Apply(lir::CodeIr* code_ir) { in Apply() argument [all …]
|
D | Android.bp | 9 "code_ir.cc",
|
D | control_flow_graph.cc | 132 for (auto instr : code_ir->instructions) { in CreateBasicBlocks()
|
/tools/dexter/dexter/ |
D | experimental.cc | 37 lir::CodeIr code_ir(ir_method.get(), dex_ir); in FullRewrite() local 38 lir::ControlFlowGraph cfg_compact(&code_ir, false); in FullRewrite() 39 lir::ControlFlowGraph cfg_verbose(&code_ir, true); in FullRewrite() 40 code_ir.Assemble(); in FullRewrite() 56 lir::CodeIr code_ir(ir_method.get(), dex_ir); in StressWrapInvoke() local 66 auto it = code_ir.instructions.begin(); in StressWrapInvoke() 67 while (it != code_ir.instructions.end()) { in StressWrapInvoke() 105 auto wraper_method = code_ir.Alloc<lir::Method>(ir_method_decl, ir_method_decl->orig_index); in StressWrapInvoke() 108 auto new_call = code_ir.Alloc<lir::Bytecode>(); in StressWrapInvoke() 112 code_ir.instructions.InsertBefore(bytecode, new_call); in StressWrapInvoke() [all …]
|
D | disassembler.cc | 346 lir::CodeIr code_ir(ir_method, dex_ir_); in Disassemble() local 350 cfg.reset(new lir::ControlFlowGraph(&code_ir, false)); in Disassemble() 353 cfg.reset(new lir::ControlFlowGraph(&code_ir, true)); in Disassemble() 359 code_ir.Accept(&visitor); in Disassemble()
|
/tools/dexter/slicer/export/slicer/ |
D | instrumentation.h | 35 virtual bool Apply(lir::CodeIr* code_ir) = 0; 72 virtual bool Apply(lir::CodeIr* code_ir) override; 78 bool InjectArrayParamsHook(lir::CodeIr* code_ir, lir::Bytecode* bytecode); 105 virtual bool Apply(lir::CodeIr* code_ir) override; 134 virtual bool Apply(lir::CodeIr* code_ir) override; 176 virtual bool Apply(lir::CodeIr* code_ir) override; 184 void RegsRenumbering(lir::CodeIr* code_ir); 185 void ShiftParams(lir::CodeIr* code_ir); 186 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()
|