Searched refs:code_item_accessor_ (Results 1 – 13 of 13) sorted by relevance
/art/compiler/optimizing/ |
D | builder.cc | 50 code_item_accessor_(accessor), in HGraphBuilder() 66 code_item_accessor_(accessor), in HGraphBuilder() 86 const uint32_t code_units = code_item_accessor_.InsnsSizeInCodeUnits(); in SkipCompilation() 108 DCHECK(code_item_accessor_.HasCodeItem()); in BuildGraph() 111 graph_->SetNumberOfVRegs(code_item_accessor_.RegistersSize()); in BuildGraph() 112 graph_->SetNumberOfInVRegs(code_item_accessor_.InsSize()); in BuildGraph() 113 graph_->SetMaximumNumberOfOutVRegs(code_item_accessor_.OutsSize()); in BuildGraph() 114 graph_->SetHasTryCatch(code_item_accessor_.TriesSize() != 0); in BuildGraph() 118 HBasicBlockBuilder block_builder(graph_, dex_file_, code_item_accessor_, &local_allocator); in BuildGraph() 128 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 | block_builder.h | 73 CodeItemDataAccessor code_item_accessor_; // null code item for intrinsic graph. variable
|
D | builder.h | 62 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() 408 DCHECK(!code_item_accessor_.HasCodeItem()); in BuildIntrinsic() 470 code_item_accessor_.InsnsSizeInCodeUnits(), in FindNativeDebugInfoLocations() 476 code_item_accessor_.DecodeDebugPositionInfo([&](const DexFile::PositionInfo& entry) { in FindNativeDebugInfoLocations() 481 for (const DexInstructionPcPair& inst : code_item_accessor_) { in FindNativeDebugInfoLocations() 490 if (next != code_item_accessor_.end()) { in FindNativeDebugInfoLocations() 1867 code_item_accessor_.Insns() + payload_offset); in BuildFillArrayData()
|
D | instruction_builder.h | 300 const CodeItemDebugInfoAccessor code_item_accessor_; // null for intrinsic graph. variable
|
/art/runtime/verifier/ |
D | method_verifier.cc | 725 CHECK(code_item_accessor_.HasCodeItem()); // This only makes sense for methods with code. in FindLocksAtDexPc() 728 for (const DexInstructionPcPair& inst : code_item_accessor_) { in FindLocksAtDexPc() 788 if (!code_item_accessor_.HasCodeItem()) { in Verify() 880 if (code_item_accessor_.InsSize() > code_item_accessor_.RegistersSize()) { in Verify() 882 << code_item_accessor_.InsSize() in Verify() 883 << " regs=" << code_item_accessor_.RegistersSize(); in Verify() 889 code_item_accessor_.InsnsSizeInCodeUnits())); in Verify() 892 code_item_accessor_.InsnsSizeInCodeUnits(), in Verify() 931 SafeDexInstructionIterator it(code_item_accessor_.begin(), code_item_accessor_.end()); in ComputeWidthsAndCountOps() 932 for ( ; !it.IsErrorState() && it < code_item_accessor_.end(); ++it) { in ComputeWidthsAndCountOps() [all …]
|
D | method_verifier.h | 168 return code_item_accessor_; in CodeItem() 298 const CodeItemDataAccessor code_item_accessor_; variable
|
/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/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
|