Home
last modified time | relevance | path

Searched refs:code_item_accessor_ (Results 1 – 12 of 12) sorted by relevance

/art/compiler/optimizing/
Dbuilder.cc46 code_item_accessor_(accessor), in HGraphBuilder()
59 code_item_accessor_(accessor), in HGraphBuilder()
78 const uint32_t code_units = code_item_accessor_.InsnsSizeInCodeUnits(); in SkipCompilation()
91 DCHECK(code_item_accessor_.HasCodeItem()); in BuildGraph()
94 graph_->SetNumberOfVRegs(code_item_accessor_.RegistersSize()); in BuildGraph()
95 graph_->SetNumberOfInVRegs(code_item_accessor_.InsSize()); in BuildGraph()
96 graph_->SetMaximumNumberOfOutVRegs(code_item_accessor_.OutsSize()); in BuildGraph()
100 HBasicBlockBuilder block_builder(graph_, dex_file_, code_item_accessor_, &local_allocator); in BuildGraph()
109 code_item_accessor_, in BuildGraph()
145 DCHECK(!code_item_accessor_.HasCodeItem()); in BuildIntrinsicGraph()
Dblock_builder.cc33 code_item_accessor_(accessor), in HBasicBlockBuilder()
35 branch_targets_(code_item_accessor_.HasCodeItem() in HBasicBlockBuilder()
36 ? code_item_accessor_.InsnsSizeInCodeUnits() in HBasicBlockBuilder()
62 if (code_item_accessor_.TriesSize() != 0) { in CreateBranchTargets()
67 for (const dex::TryItem& try_item : code_item_accessor_.TryItems()) { in CreateBranchTargets()
71 if (dex_pc_end < code_item_accessor_.InsnsSizeInCodeUnits()) { in CreateBranchTargets()
74 } else if (dex_pc_end == code_item_accessor_.InsnsSizeInCodeUnits()) { in CreateBranchTargets()
85 const uint8_t* handlers_ptr = code_item_accessor_.GetCatchHandlerData(); in CreateBranchTargets()
98 for (const DexInstructionPcPair& pair : code_item_accessor_) { in CreateBranchTargets()
127 if (next == code_item_accessor_.end()) { in CreateBranchTargets()
[all …]
Dblock_builder.h76 CodeItemDataAccessor code_item_accessor_; // null code item for intrinsic graph. variable
Dbuilder.h60 const CodeItemDebugInfoAccessor code_item_accessor_; // null for intrinsic graph. variable
Dinstruction_builder.h304 const CodeItemDebugInfoAccessor code_item_accessor_; // null for intrinsic graph. variable
Dinstruction_builder.cc100 code_item_accessor_(accessor), in HInstructionBuilder()
357 DCHECK(code_item_accessor_.HasCodeItem()); in Build()
410 for (const DexInstructionPcPair& pair : code_item_accessor_.InstructionsFrom(block_dex_pc)) { in Build()
457 DCHECK(!code_item_accessor_.HasCodeItem()); in BuildIntrinsic()
538 code_item_accessor_.InsnsSizeInCodeUnits(), in FindNativeDebugInfoLocations()
543 code_item_accessor_.DecodeDebugPositionInfo([&](const DexFile::PositionInfo& entry) { in FindNativeDebugInfoLocations()
548 for (const DexInstructionPcPair& inst : code_item_accessor_) { in FindNativeDebugInfoLocations()
557 if (next != code_item_accessor_.end()) { in FindNativeDebugInfoLocations()
2483 code_item_accessor_.Insns() + payload_offset); in BuildFillArrayData()
/art/runtime/verifier/
Dmethod_verifier.cc290 if (UNLIKELY(idx >= code_item_accessor_.RegistersSize())) { in CheckRegisterIndex()
292 << code_item_accessor_.RegistersSize() << ")"; in CheckRegisterIndex()
300 if (UNLIKELY(idx + 1 >= code_item_accessor_.RegistersSize())) { in CheckWideRegisterIndex()
302 << "+1 >= " << code_item_accessor_.RegistersSize() << ")"; in CheckWideRegisterIndex()
415 uint16_t registers_size = code_item_accessor_.RegistersSize(); in CheckVarArgRegs()
431 uint16_t registers_size = code_item_accessor_.RegistersSize(); in CheckVarArgRangeRegs()
834 CHECK(code_item_accessor_.HasCodeItem()); // This only makes sense for methods with code. in FindLocksAtDexPc()
837 for (const DexInstructionPcPair& inst : code_item_accessor_) { in FindLocksAtDexPc()
897 if (!code_item_accessor_.HasCodeItem()) { in Verify()
1023 if (code_item_accessor_.InsSize() > code_item_accessor_.RegistersSize()) { in Verify()
[all …]
Dmethod_verifier.h163 return code_item_accessor_; in CodeItem()
313 const CodeItemDataAccessor code_item_accessor_; variable
/art/tools/veridex/
Dflow_analysis.cc34 code_item_accessor_(method.GetInstructionsAndData()), in VeriFlowAnalysis()
35 dex_registers_(code_item_accessor_.InsnsSizeInCodeUnits()), in VeriFlowAnalysis()
36 instruction_infos_(code_item_accessor_.InsnsSizeInCodeUnits()) {} in VeriFlowAnalysis()
41 new std::vector<RegisterValue>(code_item_accessor_.RegistersSize())); in SetAsBranchTarget()
50 if (dex_pc >= code_item_accessor_.InsnsSizeInCodeUnits()) { in MergeRegisterValues()
69 if (code_item_accessor_.TriesSize() != 0) { in FindBranches()
79 const uint8_t* handlers_ptr = code_item_accessor_.GetCatchHandlerData(); in FindBranches()
91 const uint32_t max_pc = code_item_accessor_.InsnsSizeInCodeUnits(); in FindBranches()
92 for (const DexInstructionPcPair& pair : code_item_accessor_) { in FindBranches()
220 const uint32_t max_pc = code_item_accessor_.InsnsSizeInCodeUnits(); in AnalyzeCode()
[all …]
Dflow_analysis.h157 CodeItemDataAccessor code_item_accessor_; variable
/art/compiler/driver/
Ddex_compilation_unit.h119 return code_item_accessor_; in GetCodeItemAccessor()
176 const CodeItemDataAccessor code_item_accessor_; variable
Ddex_compilation_unit.cc49 code_item_accessor_(dex_file, code_item), in DexCompilationUnit()