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
120 class DexInstructionIterator : public DexInstructionIteratorBase {
124 explicit DexInstructionIterator(const uint16_t* inst, uint32_t dex_pc) in DexInstructionIterator() function
127 explicit DexInstructionIterator(const DexInstructionPcPair& pair) in DexInstructionIterator() function
128 : DexInstructionIterator(pair.Instructions(), pair.DexPc()) {} in DexInstructionIterator()
131 DexInstructionIterator& operator++() {
137 DexInstructionIterator operator++(int) {
138 DexInstructionIterator temp = *this;
Dcode_item_accessors-inl.h74 inline DexInstructionIterator CodeItemInstructionAccessor::begin() const { in begin()
75 return DexInstructionIterator(insns_, 0u); in begin()
78 inline DexInstructionIterator CodeItemInstructionAccessor::end() const { in end()
79 return DexInstructionIterator(insns_, insns_size_in_code_units_); in end()
82 inline IterationRange<DexInstructionIterator> CodeItemInstructionAccessor::InstructionsFrom( in InstructionsFrom()
86 DexInstructionIterator(insns_, start_dex_pc), in InstructionsFrom()
87 DexInstructionIterator(insns_, insns_size_in_code_units_) }; in InstructionsFrom()
Dcode_item_accessors.h47 ALWAYS_INLINE DexInstructionIterator begin() const;
49 ALWAYS_INLINE DexInstructionIterator end() const;
51 IterationRange<DexInstructionIterator> InstructionsFrom(uint32_t start_dex_pc) const;
Ddex_instruction_test.cc80 DexInstructionIterator ins(instruction, /*dex_pc=*/ 0u); in TEST()
118 DexInstructionIterator ins(instruction, /*dex_pc=*/ 0u); in TEST()
Ddex_file-inl.h163 inline const dex::TryItem* DexFile::GetTryItems(const DexInstructionIterator& code_item_end, in GetTryItems()
445 inline const uint8_t* DexFile::GetCatchHandlerData(const DexInstructionIterator& code_item_end, in GetCatchHandlerData()
Ddex_file.h42 class DexInstructionIterator; variable
504 static const dex::TryItem* GetTryItems(const DexInstructionIterator& code_item_end,
508 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()
/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()
/art/dexlayout/
Ddex_ir.h1072 IterationRange<DexInstructionIterator> Instructions() const { in Instructions()
1073 return MakeIterationRange(DexInstructionIterator(Insns(), 0u), in Instructions()
1074 DexInstructionIterator(Insns(), InsnsSize())); in Instructions()
Dcompact_dex_writer.cc169 IterationRange<DexInstructionIterator> instructions = code_item->Instructions(); in WriteCodeItem()
Ddexlayout_test.cc694 DexInstructionIterator last_instruction = instructions.begin(); in TEST_F()
Ddex_ir_builder.cc1013 IterationRange<DexInstructionIterator> instructions = code->Instructions(); in GetIdsFromByteCode()
/art/dex2oat/dex/
Ddex_to_dex_compiler.cc214 for (DexInstructionIterator it = instructions.begin(); it != instructions.end(); ++it) { in Compile()
/art/runtime/dex/
Ddex_file_annotations.cc1380 for (DexInstructionIterator iter = accessor.begin(); iter != accessor.end(); ++iter) { in MethodContainsRSensitiveAccess()
/art/dex2oat/
Ddex2oat_test.cc2190 DexInstructionIterator last_instruction = instructions.begin(); in TEST_F()