Searched refs:code_item_accessor_ (Results 1 – 12 of 12) sorted by relevance
/art/compiler/optimizing/ |
D | builder.cc | 46 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()
|
D | block_builder.cc | 33 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 …]
|
D | block_builder.h | 76 CodeItemDataAccessor code_item_accessor_; // null code item for intrinsic graph. variable
|
D | builder.h | 60 const CodeItemDebugInfoAccessor code_item_accessor_; // null for intrinsic graph. variable
|
D | instruction_builder.h | 304 const CodeItemDebugInfoAccessor code_item_accessor_; // null for intrinsic graph. variable
|
D | instruction_builder.cc | 100 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/ |
D | method_verifier.cc | 290 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 …]
|
D | method_verifier.h | 163 return code_item_accessor_; in CodeItem() 313 const CodeItemDataAccessor code_item_accessor_; variable
|
/art/tools/veridex/ |
D | flow_analysis.cc | 34 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 …]
|
D | flow_analysis.h | 157 CodeItemDataAccessor code_item_accessor_; variable
|
/art/compiler/driver/ |
D | dex_compilation_unit.h | 119 return code_item_accessor_; in GetCodeItemAccessor() 176 const CodeItemDataAccessor code_item_accessor_; variable
|
D | dex_compilation_unit.cc | 49 code_item_accessor_(dex_file, code_item), in DexCompilationUnit()
|