Home
last modified time | relevance | path

Searched refs:code_ir (Results 1 – 7 of 7) sorted by relevance

/tools/dexter/slicer/
Dinstrumentation.cc33 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()
101 bool EntryHook::Apply(lir::CodeIr* code_ir) { in Apply() argument
[all …]
DAndroid.bp9 "code_ir.cc",
Dcontrol_flow_graph.cc133 for (auto instr : code_ir->instructions) { in CreateBasicBlocks()
/tools/dexter/dexter/
Dexperimental.cc36 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 …]
Ddissasembler.cc327 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/
Dinstrumentation.h35 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);
Dcontrol_flow_graph.h93 const CodeIr* code_ir; member
96 ControlFlowGraph(const CodeIr* code_ir, bool model_exceptions) : code_ir(code_ir) { in ControlFlowGraph()