Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dbuilder.cc49 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 …]
Dblock_builder.cc34 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 …]
Dbuilder.h60 const CodeItemDebugInfoAccessor code_item_accessor_; // null for intrinsic graph. variable
Dblock_builder.h78 CodeItemDataAccessor code_item_accessor_; // null code item for intrinsic graph. variable
Dinstruction_builder.h305 const CodeItemDebugInfoAccessor code_item_accessor_; // null for intrinsic graph. variable
Dinstruction_builder.cc60 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/
Ddex_to_dex_decompiler.cc38 : 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/
Dmethod_verifier.cc310 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 …]
Dmethod_verifier.h188 return code_item_accessor_; in CodeItem()
337 const CodeItemDataAccessor code_item_accessor_; variable
/art/compiler/driver/
Ddex_compilation_unit.h118 return code_item_accessor_; in GetCodeItemAccessor()
175 const CodeItemDataAccessor code_item_accessor_; variable
Ddex_compilation_unit.cc49 code_item_accessor_(dex_file, code_item), in DexCompilationUnit()
/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()
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()
Dflow_analysis.h157 CodeItemDataAccessor code_item_accessor_; variable