Home
last modified time | relevance | path

Searched refs:DexInstructionIterator (Results 1 – 15 of 15) sorted by relevance

/art/libdexfile/dex/
Ddex_instruction_iterator.h55 friend class DexInstructionIterator; variable
121 class DexInstructionIterator : public DexInstructionIteratorBase {
125 explicit DexInstructionIterator(const uint16_t* inst, uint32_t dex_pc) in DexInstructionIterator() function
128 explicit DexInstructionIterator(const DexInstructionPcPair& pair) in DexInstructionIterator() function
129 : DexInstructionIterator(pair.Instructions(), pair.DexPc()) {} in DexInstructionIterator()
132 DexInstructionIterator& operator++() {
138 DexInstructionIterator operator++(int) {
139 DexInstructionIterator temp = *this;
Dcode_item_accessors-inl.h69 inline DexInstructionIterator CodeItemInstructionAccessor::begin() const { in begin()
70 return DexInstructionIterator(insns_, 0u); in begin()
73 inline DexInstructionIterator CodeItemInstructionAccessor::end() const { in end()
74 return DexInstructionIterator(insns_, insns_size_in_code_units_); in end()
77 inline IterationRange<DexInstructionIterator> CodeItemInstructionAccessor::InstructionsFrom( in InstructionsFrom()
81 DexInstructionIterator(insns_, start_dex_pc), in InstructionsFrom()
82 DexInstructionIterator(insns_, insns_size_in_code_units_) }; in InstructionsFrom()
Dcode_item_accessors.h40 ALWAYS_INLINE DexInstructionIterator begin() const;
42 ALWAYS_INLINE DexInstructionIterator end() const;
44 IterationRange<DexInstructionIterator> InstructionsFrom(uint32_t start_dex_pc) const;
Ddex_instruction_test.cc77 DexInstructionIterator ins(instruction, /*dex_pc*/ 0u); in TEST()
112 DexInstructionIterator ins(instruction, /*dex_pc*/ 0u); in TEST()
Ddex_file-inl.h135 inline const DexFile::TryItem* DexFile::GetTryItems(const DexInstructionIterator& code_item_end, in GetTryItems()
510 inline const uint8_t* DexFile::GetCatchHandlerData(const DexInstructionIterator& code_item_end, in GetCatchHandlerData()
Ddex_file.h742 static const TryItem* GetTryItems(const DexInstructionIterator& code_item_end, uint32_t offset);
745 static const uint8_t* GetCatchHandlerData(const DexInstructionIterator& code_item_end,
/art/compiler/optimizing/
Dblock_builder.cc132 DexInstructionIterator next(std::next(DexInstructionIterator(pair))); in CreateBranchTargets()
214 block->AddSuccessor(GetBlockAt(std::next(DexInstructionIterator(pair)).DexPc())); in ConnectBasicBlocks()
Dinstruction_builder.cc499 DexInstructionIterator next = std::next(DexInstructionIterator(inst)); in FindNativeDebugInfoLocations()
/art/compiler/dex/
Dinline_method_analyser.cc73 DexInstructionIterator instruction_;
524 DexInstructionIterator return_instruction = code_item->begin(); in AnalyseReturnMethod()
546 DexInstructionIterator instruction = code_item->begin(); in AnalyseConstMethod()
580 DexInstructionIterator instruction = code_item->begin(); in AnalyseIGetMethod()
644 DexInstructionIterator instruction = code_item->begin(); in AnalyseIPutMethod()
Ddex_to_dex_compiler.cc212 for (DexInstructionIterator it = instructions.begin(); it != instructions.end(); ++it) { in Compile()
/art/dexlayout/
Ddex_ir.h1092 IterationRange<DexInstructionIterator> Instructions() const { in Instructions()
1093 return MakeIterationRange(DexInstructionIterator(Insns(), 0u), in Instructions()
1094 DexInstructionIterator(Insns(), InsnsSize())); in Instructions()
Dcompact_dex_writer.cc170 IterationRange<DexInstructionIterator> instructions = code_item->Instructions(); in WriteCodeItem()
Ddexlayout_test.cc698 DexInstructionIterator last_instruction = instructions.begin(); in TEST_F()
Ddex_ir.cc173 IterationRange<DexInstructionIterator> instructions = code->Instructions(); in GetIdsFromByteCode()
/art/runtime/verifier/
Dmethod_verifier.cc978 DexInstructionIterator end_it(code_item_accessor_.Insns(), end); in ScanTryCatchBlocks()
979 for (DexInstructionIterator it(code_item_accessor_.Insns(), start); it < end_it; ++it) { in ScanTryCatchBlocks()