Home
last modified time | relevance | path

Searched refs:iter (Results 1 – 19 of 19) sorted by relevance

/art/test/023-many-interfaces/src/
DManyInterfaces.java173 private static void report(String label, long start, long end, int iter, in report() argument
177 + " (" + (end - start) / (iter*rept) + "ns per call)"); in report()
195 int iter = 32768; in run() local
206 testIface001(obj, iter); in run()
208 report("testIface001", start, end, iter, rept); in run()
211 testIface049(obj, iter); in run()
213 report("testIface049", start, end, iter, rept); in run()
216 testIface099(obj, iter); in run()
218 report("testIface099", start, end, iter, rept); in run()
221 testVirt001(obj, iter); in run()
[all …]
/art/runtime/
Dexception_test.cc136 CatchHandlerIterator iter(*code_item, 4 /* Dex PC in the first try block */); in TEST_F() local
137 EXPECT_STREQ("Ljava/io/IOException;", dex_->StringByTypeIdx(iter.GetHandlerTypeIndex())); in TEST_F()
138 ASSERT_TRUE(iter.HasNext()); in TEST_F()
139 iter.Next(); in TEST_F()
140 EXPECT_STREQ("Ljava/lang/Exception;", dex_->StringByTypeIdx(iter.GetHandlerTypeIndex())); in TEST_F()
141 ASSERT_TRUE(iter.HasNext()); in TEST_F()
142 iter.Next(); in TEST_F()
143 EXPECT_FALSE(iter.HasNext()); in TEST_F()
146 CatchHandlerIterator iter(*code_item, 8 /* Dex PC in the second try block */); in TEST_F() local
147 EXPECT_STREQ("Ljava/io/IOException;", dex_->StringByTypeIdx(iter.GetHandlerTypeIndex())); in TEST_F()
[all …]
Delf_file.cc1497 std::unique_ptr<DebugInfoIterator> iter(new DebugInfoIterator(header, frame_size, abbrev)); in Create() local
1498 if (iter->GetCurrentTag() == nullptr) { in Create()
1501 return iter.release(); in Create()
1555 static bool FixupDebugInfo(uint32_t text_start, DebugInfoIterator* iter) { in FixupDebugInfo() argument
1557 if (iter->GetCurrentTag()->GetAttrSize(DW_AT_low_pc) != sizeof(int32_t) || in FixupDebugInfo()
1558 iter->GetCurrentTag()->GetAttrSize(DW_AT_high_pc) != sizeof(int32_t)) { in FixupDebugInfo()
1561 uint32_t* PC_low = reinterpret_cast<uint32_t*>(iter->GetPointerToField(DW_AT_low_pc)); in FixupDebugInfo()
1562 uint32_t* PC_high = reinterpret_cast<uint32_t*>(iter->GetPointerToField(DW_AT_high_pc)); in FixupDebugInfo()
1567 } while (iter->next()); in FixupDebugInfo()
1579 std::unique_ptr<DebugInfoIterator> iter( in FixupDebugSections() local
[all …]
Dprofiler.cc520 for (std::vector<InstructionLocation>::const_reverse_iterator iter = stack.rbegin(); in PutStack() local
521 iter != stack.rend(); ++iter) { in PutStack()
522 InstructionLocation inst_loc = *iter; in PutStack()
/art/compiler/dex/
Dssa_transformation.cc26 AllNodesIterator iter(this); in ClearAllVisitedFlags() local
27 for (BasicBlock* bb = iter.Next(); bb != NULL; bb = iter.Next()) { in ClearAllVisitedFlags()
123 AllNodesIterator iter(this); in ComputeDFSOrders() local
124 for (BasicBlock* bb = iter.Next(); bb != NULL; bb = iter.Next()) { in ComputeDFSOrders()
161 AllNodesIterator iter(this); in ComputeDefBlockMatrix() local
162 for (BasicBlock* bb = iter.Next(); bb != NULL; bb = iter.Next()) { in ComputeDefBlockMatrix()
320 GrowableArray<BasicBlockId>::Iterator iter(bb->predecessors); in ComputeblockIDom() local
325 BasicBlock* pred_bb = GetBasicBlock(iter.Next()); in ComputeblockIDom()
335 BasicBlock* pred_bb = GetBasicBlock(iter.Next()); in ComputeblockIDom()
385 PreOrderDfsIterator iter(this); in ComputeDominators() local
[all …]
Dmir_optimization.cc730 AllNodesIterator iter(this); in EliminateNullChecksAndInferTypesStart() local
731 for (BasicBlock* bb = iter.Next(); bb != nullptr; bb = iter.Next()) { in EliminateNullChecksAndInferTypesStart()
797 GrowableArray<BasicBlockId>::Iterator iter(bb->predecessors); in EliminateNullChecksAndInferTypes() local
798 BasicBlock* pred_bb = GetBasicBlock(iter.Next()); in EliminateNullChecksAndInferTypes()
801 pred_bb = GetBasicBlock(iter.Next()); in EliminateNullChecksAndInferTypes()
808 pred_bb = GetBasicBlock(iter.Next()); in EliminateNullChecksAndInferTypes()
953 AllNodesIterator iter(this); in EliminateNullChecksAndInferTypesEnd() local
954 for (BasicBlock* bb = iter.Next(); bb != nullptr; bb = iter.Next()) { in EliminateNullChecksAndInferTypesEnd()
971 AllNodesIterator iter(this); in EliminateClassInitChecksGate() local
972 for (BasicBlock* bb = iter.Next(); bb != nullptr; bb = iter.Next()) { in EliminateClassInitChecksGate()
[all …]
Ddataflow_iterator-inl.h131 ChildBlockIterator iter(bb, mir_graph_); in Next()
132 for (BasicBlock* child_bb = iter.Next(); child_bb != nullptr; child_bb = iter.Next()) { in Next()
Dmir_analysis.cc1101 AllNodesIterator iter(this); in SkipCompilation() local
1102 for (BasicBlock* bb = iter.Next(); bb != NULL; bb = iter.Next()) { in SkipCompilation()
1119 AllNodesIterator iter(this); in DoCacheFieldLoweringInfo() local
1120 for (BasicBlock* bb = iter.Next(); bb != nullptr; bb = iter.Next()) { in DoCacheFieldLoweringInfo()
1235 AllNodesIterator iter(this); in DoCacheMethodLoweringInfo() local
1236 for (BasicBlock* bb = iter.Next(); bb != nullptr; bb = iter.Next()) { in DoCacheMethodLoweringInfo()
Dglobal_value_numbering.cc97 GrowableArray<BasicBlockId>::Iterator iter(bb->predecessors); in PrepareBasicBlock() local
98 for (BasicBlock* pred_bb = mir_graph_->GetBasicBlock(iter.Next()); in PrepareBasicBlock()
99 pred_bb != nullptr; pred_bb = mir_graph_->GetBasicBlock(iter.Next())) { in PrepareBasicBlock()
Dvreg_analysis.cc451 GrowableArray<CompilerTemp*>::Iterator iter(&compiler_temps_); in InitRegLocations() local
452 for (CompilerTemp* ct = iter.Next(); ct != NULL; ct = iter.Next()) { in InitRegLocations()
Dmir_graph.cc998 GrowableArray<SuccessorBlockInfo*>::Iterator iter(bb->successor_blocks); in DumpCFG() local
1002 SuccessorBlockInfo* successor_block_info = iter.Next(); in DumpCFG()
1550 AllNodesIterator iter(mir_graph); in SelectTopologicalSortOrderFallBack() local
1551 for (BasicBlock* candidate = iter.Next(); candidate != nullptr; candidate = iter.Next()) { in SelectTopologicalSortOrderFallBack()
1605 GrowableArray<BasicBlockId>::Iterator iter(current_bb->predecessors); in ComputeUnvisitedReachableFrom() local
1606 BasicBlock* pred_bb = mir_graph->GetBasicBlock(iter.Next()); in ComputeUnvisitedReachableFrom()
1607 for ( ; pred_bb != nullptr; pred_bb = mir_graph->GetBasicBlock(iter.Next())) { in ComputeUnvisitedReachableFrom()
1698 AllNodesIterator iter(this); in ComputeTopologicalSortOrder() local
1700 BasicBlock* candidate = iter.Next(); in ComputeTopologicalSortOrder()
Dmir_dataflow.cc1355 GrowableArray<BasicBlockId>::Iterator iter(bb->predecessors); in VerifyPredInfo() local
1358 BasicBlock* pred_bb = GetBasicBlock(iter.Next()); in VerifyPredInfo()
1391 AllNodesIterator iter(this); in VerifyDataflow() local
1392 for (BasicBlock* bb = iter.Next(); bb != NULL; bb = iter.Next()) { in VerifyDataflow()
/art/test/088-monitor-verification/src/
DMain.java63 synchronized void recursiveSync(int iter) { in recursiveSync() argument
64 if (iter < 40) { in recursiveSync()
65 recursiveSync(iter+1); in recursiveSync()
/art/test/074-gc-thrash/src/
DMain.java201 int iter = 0; in run() local
207 dive(0, iter); in run()
209 iter += MAX_DEPTH; in run()
244 System.out.println("Deep: iters=" + iter / MAX_DEPTH); in run()
/art/compiler/dex/quick/
Dralloc_util.cc31 GrowableArray<RegisterInfo*>::Iterator iter(&tempreg_info_); in ResetRegPool() local
32 for (RegisterInfo* info = iter.Next(); info != NULL; info = iter.Next()) { in ResetRegPool()
225 GrowableArray<RegisterInfo*>::Iterator iter(&tempreg_info_); in ClobberSReg() local
226 for (RegisterInfo* info = iter.Next(); info != NULL; info = iter.Next()) { in ClobberSReg()
730 GrowableArray<RegisterInfo*>::Iterator iter(&tempreg_info_); in ResetDefTracking() local
731 for (RegisterInfo* info = iter.Next(); info != NULL; info = iter.Next()) { in ResetDefTracking()
737 GrowableArray<RegisterInfo*>::Iterator iter(&tempreg_info_); in ClobberAllTemps() local
738 for (RegisterInfo* info = iter.Next(); info != NULL; info = iter.Next()) { in ClobberAllTemps()
Dmir_to_lir.cc1244 PreOrderDfsIterator iter(mir_graph_); in MethodMIR2LIR() local
1245 BasicBlock* curr_bb = iter.Next(); in MethodMIR2LIR()
1246 BasicBlock* next_bb = iter.Next(); in MethodMIR2LIR()
1256 next_bb = iter.Next(); in MethodMIR2LIR()
/art/compiler/dex/quick/x86/
Dutility_x86.cc907 PreOrderDfsIterator iter(mir_graph_); in AnalyzeMIR() local
908 BasicBlock* curr_bb = iter.Next(); in AnalyzeMIR()
911 curr_bb = iter.Next(); in AnalyzeMIR()
/art/compiler/dex/portable/
Dmir_to_gbc.cc1743 GrowableArray<SuccessorBlockInfo*>::Iterator iter(bb->successor_blocks); in BlockBitcodeConversion() local
1750 SuccessorBlockInfo *successor_block_info = iter.Next(); in BlockBitcodeConversion()
1894 PreOrderDfsIterator iter(mir_graph_); in MethodMIR2Bitcode() local
1895 for (BasicBlock* bb = iter.Next(); bb != NULL; bb = iter.Next()) { in MethodMIR2Bitcode()
/art/compiler/llvm/
Dgbc_expander.cc2782 art::CatchHandlerIterator iter(*dex_compilation_unit_->GetCodeItem(), ti->start_addr_); in GetLandingPadBasicBlock() local
2784 for (uint32_t c = 0; iter.HasNext(); iter.Next(), ++c) { in GetLandingPadBasicBlock()
2785 sw->addCase(irb_.getInt32(c), GetBasicBlock(iter.GetHandlerAddress())); in GetLandingPadBasicBlock()