Home
last modified time | relevance | path

Searched refs:CodeItemDataAccessor (Results 1 – 25 of 59) sorted by relevance

123

/art/libdexfile/dex/
Ddex_file_exception_helpers.h30 class CodeItemDataAccessor; variable
34 CatchHandlerIterator(const CodeItemDataAccessor& accessor, uint32_t address);
36 CatchHandlerIterator(const CodeItemDataAccessor& accessor, const dex::TryItem& try_item);
59 void Init(const CodeItemDataAccessor& accessor, int32_t offset);
Dcode_item_accessors-inl.h92 inline void CodeItemDataAccessor::Init<CompactDexFile::CodeItem>(
104 inline void CodeItemDataAccessor::Init<StandardDexFile::CodeItem>(
113 inline void CodeItemDataAccessor::Init(const DexFile& dex_file, in Init()
125 inline CodeItemDataAccessor::CodeItemDataAccessor(const DexFile& dex_file, in CodeItemDataAccessor() function
130 inline IterationRange<const dex::TryItem*> CodeItemDataAccessor::TryItems() const { in TryItems()
137 inline const uint8_t* CodeItemDataAccessor::GetCatchHandlerData(size_t offset) const { in GetCatchHandlerData()
141 inline const dex::TryItem* CodeItemDataAccessor::FindTryItem(uint32_t try_dex_pc) const { in FindTryItem()
149 inline const void* CodeItemDataAccessor::CodeItemDataEnd() const { in CodeItemDataEnd()
176 CodeItemDataAccessor::Init(code_item);
184 CodeItemDataAccessor::Init(code_item);
Ddex_file_exception_helpers.cc24 CatchHandlerIterator::CatchHandlerIterator(const CodeItemDataAccessor& accessor, uint32_t address) { in CatchHandlerIterator()
52 CatchHandlerIterator::CatchHandlerIterator(const CodeItemDataAccessor& accessor, in CatchHandlerIterator()
58 void CatchHandlerIterator::Init(const CodeItemDataAccessor& accessor, int32_t offset) { in Init()
Dcode_item_accessors.h97 class CodeItemDataAccessor : public CodeItemInstructionAccessor {
99 ALWAYS_INLINE CodeItemDataAccessor(const DexFile& dex_file, const dex::CodeItem* code_item);
126 CodeItemDataAccessor() = default;
143 class CodeItemDebugInfoAccessor : public CodeItemDataAccessor {
Dstandard_dex_file.cc84 return reinterpret_cast<uintptr_t>(CodeItemDataAccessor(*this, &item).CodeItemDataEnd()) - in GetCodeItemSize()
Dstandard_dex_file.h72 friend class CodeItemDataAccessor; member
Dcompact_dex_file.cc60 return reinterpret_cast<uintptr_t>(CodeItemDataAccessor(*this, &item).CodeItemDataEnd()) - in GetCodeItemSize()
Dclass_accessor-inl.h149 inline CodeItemDataAccessor ClassAccessor::Method::GetInstructionsAndData() const { in GetInstructionsAndData()
150 return CodeItemDataAccessor(dex_file_, dex_file_.GetCodeItem(GetCodeItemOffset())); in GetInstructionsAndData()
Dcode_item_accessors_test.cc81 CodeItemDataAccessor data_accessor(*dex, item); in TEST()
/art/compiler/dex/
Dinline_method_analyser.h33 class CodeItemDataAccessor; variable
126 static bool AnalyseMethodCode(const CodeItemDataAccessor* code_item,
132 static bool AnalyseReturnMethod(const CodeItemDataAccessor* code_item, InlineMethod* result);
133 static bool AnalyseConstMethod(const CodeItemDataAccessor* code_item, InlineMethod* result);
134 static bool AnalyseIGetMethod(const CodeItemDataAccessor* code_item,
140 static bool AnalyseIPutMethod(const CodeItemDataAccessor* code_item,
Dinline_method_analyser.cc47 static bool Match(const CodeItemDataAccessor* code_item, MatchFn* const (&pattern)[size]);
66 explicit Matcher(const CodeItemDataAccessor* code_item) in Matcher()
70 static bool DoMatch(const CodeItemDataAccessor* code_item, MatchFn* const* pattern, size_t size);
72 const CodeItemDataAccessor* const code_item_;
79 bool Matcher::Match(const CodeItemDataAccessor* code_item, MatchFn* const (&pattern)[size]) { in Match()
129 bool Matcher::DoMatch(const CodeItemDataAccessor* code_item, MatchFn* const* pattern, size_t size) { in DoMatch()
145 CodeItemDataAccessor accessor(method->DexInstructionData()); in GetTargetConstructor()
163 size_t CountForwardedConstructorArguments(const CodeItemDataAccessor* code_item, in CountForwardedConstructorArguments()
254 bool DoAnalyseConstructor(const CodeItemDataAccessor* code_item, in DoAnalyseConstructor()
329 CodeItemDataAccessor target_code_item(target_method->DexInstructionData()); in DoAnalyseConstructor()
[all …]
/art/runtime/interpreter/
Dinterpreter.h30 class CodeItemDataAccessor; variable
57 const CodeItemDataAccessor& accessor,
62 const CodeItemDataAccessor& accessor,
Dinterpreter_switch_impl.h40 const CodeItemDataAccessor& accessor;
59 ALWAYS_INLINE JValue ExecuteSwitchImpl(Thread* self, const CodeItemDataAccessor& accessor, in ExecuteSwitchImpl()
Dunstarted_runtime.h28 class CodeItemDataAccessor; variable
52 const CodeItemDataAccessor& accessor,
Dshadow_frame.cc31 CodeItemDataAccessor accessor(m->DexInstructionData()); in GetThisObject()
/art/runtime/
Dnterp_helpers.cc98 CodeItemDataAccessor accessor(method->DexInstructionData()); in NterpGetFrameSize()
126 CodeItemDataAccessor accessor((*frame)->DexInstructionData()); in NterpGetRegistersArray()
133 CodeItemDataAccessor accessor((*frame)->DexInstructionData()); in NterpGetReferenceArray()
144 CodeItemDataAccessor accessor((*frame)->DexInstructionData()); in NterpGetDexPC()
Dcheck_reference_map_visitor.h74 CodeItemDataAccessor accessor(m->DexInstructionData()); in CheckOptimizedMethod()
Dquick_exception_handler.cc248 CodeItemDataAccessor accessor(GetHandlerMethod()->DexInstructionData()); in SetCatchEnvironmentForOptimizedHandler()
382 CodeItemDataAccessor accessor(method->DexInstructionData()); in VisitFrame()
434 CodeItemDataAccessor accessor(m->DexInstructionData()); in HandleNterpDeoptimization()
462 CodeItemDataAccessor accessor(m->DexInstructionData()); in HandleOptimizingDeoptimization()
/art/test/466-get-live-vreg/
Dget_live_vreg_jni.cc41 CHECK_EQ(CodeItemDataAccessor(m->DexInstructionData()).RegistersSize(), 3u); in VisitFrame()
47 CodeItemDataAccessor(m->DexInstructionData()).RegistersSize(); in VisitFrame()
/art/compiler/driver/
Ddex_compilation_unit.h117 const CodeItemDataAccessor& GetCodeItemAccessor() const { in GetCodeItemAccessor()
175 const CodeItemDataAccessor code_item_accessor_;
/art/compiler/
Dcompiler.cc56 CodeItemDataAccessor accessor(dex_file, &code_item); in IsPathologicalCase()
/art/compiler/optimizing/
Dinliner.h126 bool IsInliningAllowed(art::ArtMethod* method, const CodeItemDataAccessor& accessor) const
137 const CodeItemDataAccessor& accessor) const
144 bool IsInliningBudgetAvailable(art::ArtMethod* method, const CodeItemDataAccessor& accessor) const
Dblock_builder.h78 CodeItemDataAccessor code_item_accessor_; // null code item for intrinsic graph.
/art/tools/dexanalyze/
Ddexanalyze_bytecode.h67 const CodeItemDataAccessor& code_item,
/art/runtime/verifier/
Dmethod_verifier.h187 const CodeItemDataAccessor& CodeItem() const { in CodeItem()
337 const CodeItemDataAccessor code_item_accessor_;

123