Searched refs:code_item_accessor_ (Results 1 – 13 of 13) sorted by relevance
/art/compiler/optimizing/ |
D | builder.cc | 49 code_item_accessor_(accessor), in HGraphBuilder() 63 code_item_accessor_(accessor), in HGraphBuilder() 82 const uint32_t code_units = code_item_accessor_.InsnsSizeInCodeUnits(); in SkipCompilation() 104 DCHECK(code_item_accessor_.HasCodeItem()); in BuildGraph() 107 graph_->SetNumberOfVRegs(code_item_accessor_.RegistersSize()); in BuildGraph() 108 graph_->SetNumberOfInVRegs(code_item_accessor_.InsSize()); in BuildGraph() 109 graph_->SetMaximumNumberOfOutVRegs(code_item_accessor_.OutsSize()); in BuildGraph() 110 graph_->SetHasTryCatch(code_item_accessor_.TriesSize() != 0); in BuildGraph() 114 HBasicBlockBuilder block_builder(graph_, dex_file_, code_item_accessor_, &local_allocator); in BuildGraph() 123 code_item_accessor_, in BuildGraph() [all …]
|
D | block_builder.cc | 34 code_item_accessor_(accessor), in HBasicBlockBuilder() 36 branch_targets_(code_item_accessor_.HasCodeItem() in HBasicBlockBuilder() 37 ? code_item_accessor_.InsnsSizeInCodeUnits() in HBasicBlockBuilder() 66 if (code_item_accessor_.TriesSize() != 0) { in CreateBranchTargets() 71 for (const dex::TryItem& try_item : code_item_accessor_.TryItems()) { in CreateBranchTargets() 75 if (dex_pc_end < code_item_accessor_.InsnsSizeInCodeUnits()) { in CreateBranchTargets() 78 } else if (dex_pc_end == code_item_accessor_.InsnsSizeInCodeUnits()) { in CreateBranchTargets() 89 const uint8_t* handlers_ptr = code_item_accessor_.GetCatchHandlerData(); in CreateBranchTargets() 102 for (const DexInstructionPcPair& pair : code_item_accessor_) { in CreateBranchTargets() 133 if (next == code_item_accessor_.end()) { in CreateBranchTargets() [all …]
|
D | builder.h | 60 const CodeItemDebugInfoAccessor code_item_accessor_; // null for intrinsic graph. variable
|
D | block_builder.h | 78 CodeItemDataAccessor code_item_accessor_; // null code item for intrinsic graph. variable
|
D | instruction_builder.h | 305 const CodeItemDebugInfoAccessor code_item_accessor_; // null for intrinsic graph. variable
|
D | instruction_builder.cc | 60 code_item_accessor_(accessor), in HInstructionBuilder() 314 DCHECK(code_item_accessor_.HasCodeItem()); in Build() 364 for (const DexInstructionPcPair& pair : code_item_accessor_.InstructionsFrom(block_dex_pc)) { in Build() 415 DCHECK(!code_item_accessor_.HasCodeItem()); in BuildIntrinsic() 482 code_item_accessor_.InsnsSizeInCodeUnits(), in FindNativeDebugInfoLocations() 488 code_item_accessor_.DecodeDebugPositionInfo([&](const DexFile::PositionInfo& entry) { in FindNativeDebugInfoLocations() 493 for (const DexInstructionPcPair& inst : code_item_accessor_) { in FindNativeDebugInfoLocations() 502 if (next != code_item_accessor_.end()) { in FindNativeDebugInfoLocations() 2162 code_item_accessor_.Insns() + payload_offset); in BuildFillArrayData()
|
/art/runtime/ |
D | dex_to_dex_decompiler.cc | 38 : code_item_accessor_(dex_file, &code_item), in DexDecompiler() 80 const CodeItemInstructionAccessor code_item_accessor_; member in art::optimizer::DexDecompiler 94 for (const DexInstructionPcPair& pair : code_item_accessor_) { in Decompile()
|
/art/runtime/verifier/ |
D | method_verifier.cc | 310 if (UNLIKELY(idx >= code_item_accessor_.RegistersSize())) { in CheckRegisterIndex() 312 << code_item_accessor_.RegistersSize() << ")"; in CheckRegisterIndex() 320 if (UNLIKELY(idx + 1 >= code_item_accessor_.RegistersSize())) { in CheckWideRegisterIndex() 322 << "+1 >= " << code_item_accessor_.RegistersSize() << ")"; in CheckWideRegisterIndex() 435 uint16_t registers_size = code_item_accessor_.RegistersSize(); in CheckVarArgRegs() 451 uint16_t registers_size = code_item_accessor_.RegistersSize(); in CheckVarArgRangeRegs() 885 CHECK(code_item_accessor_.HasCodeItem()); // This only makes sense for methods with code. in FindLocksAtDexPc() 888 for (const DexInstructionPcPair& inst : code_item_accessor_) { in FindLocksAtDexPc() 948 if (!code_item_accessor_.HasCodeItem()) { in Verify() 1041 if (code_item_accessor_.InsSize() > code_item_accessor_.RegistersSize()) { in Verify() [all …]
|
D | method_verifier.h | 188 return code_item_accessor_; in CodeItem() 337 const CodeItemDataAccessor code_item_accessor_; variable
|
/art/compiler/driver/ |
D | dex_compilation_unit.h | 118 return code_item_accessor_; in GetCodeItemAccessor() 175 const CodeItemDataAccessor code_item_accessor_; variable
|
D | dex_compilation_unit.cc | 49 code_item_accessor_(dex_file, code_item), in DexCompilationUnit()
|
/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() 66 if (code_item_accessor_.TriesSize() != 0) { in FindBranches() 76 const uint8_t* handlers_ptr = code_item_accessor_.GetCatchHandlerData(); in FindBranches() 88 for (const DexInstructionPcPair& pair : code_item_accessor_) { in FindBranches() 203 const uint16_t* insns = code_item_accessor_.Insns() + dex_pc; in AnalyzeCode() 667 uint32_t number_of_registers = code_item_accessor_.RegistersSize(); in Run() 668 uint32_t number_of_parameters = code_item_accessor_.InsSize(); in Run()
|
D | flow_analysis.h | 157 CodeItemDataAccessor code_item_accessor_; variable
|