Home
last modified time | relevance | path

Searched refs:GetSuccessors (Results 1 – 25 of 26) sorted by relevance

12

/art/compiler/optimizing/
Dloop_optimization_test.cc154 b = s->GetSuccessors()[0]; in TEST_F()
165 s = b->GetSuccessors()[1]; in TEST_F()
176 s = b->GetSuccessors()[1]; in TEST_F()
177 HBasicBlock* bi = b->GetSuccessors()[0]; in TEST_F()
181 bi = si->GetSuccessors()[0]; in TEST_F()
203 b = s->GetSuccessors()[0]; in TEST_F()
206 s = b->GetSuccessors()[1]; in TEST_F()
209 s = b->GetSuccessors()[1]; in TEST_F()
232 DCHECK(header->GetSuccessors()[1] == return_block_); in TEST_F()
290 HBasicBlock* body = header->GetSuccessors()[0]; in TEST_F()
Dgraph_test.cc107 ASSERT_EQ(false_block->GetSuccessors()[0], return_block); in TEST_F()
139 ASSERT_EQ(true_block->GetSuccessors()[0], return_block); in TEST_F()
237 ASSERT_EQ(if_instr->IfTrueSuccessor()->GetSuccessors().size(), 1u); in TEST_F()
238 ASSERT_EQ(if_instr->IfTrueSuccessor()->GetSuccessors()[0], in TEST_F()
272 ASSERT_EQ(if_instr->IfFalseSuccessor()->GetSuccessors().size(), 1u); in TEST_F()
273 ASSERT_EQ(if_instr->IfFalseSuccessor()->GetSuccessors()[0], in TEST_F()
Dpretty_printer.h85 const ArenaVector<HBasicBlock*>& successors = block->GetSuccessors(); in VisitBasicBlock()
136 PrintInt(current_block_->GetSuccessors()[0]->GetBlockId()); in VisitGoto()
Dsuperblock_cloner_test.cc408 EXPECT_EQ(original_preheader->GetSuccessors().size(), 2u); in TEST_F()
422 HBasicBlock* latch = header->GetSuccessors()[1]; in TEST_F()
483 CreateBasicLoopControlFlow(header, header->GetSuccessors()[1], &header, &loop_body); in TEST_F()
526 CreateBasicLoopControlFlow(header, header->GetSuccessors()[1], &header, &loop_body); in TEST_F()
530 CreateBasicLoopControlFlow(header, header->GetSuccessors()[1], &header, &loop_body); in TEST_F()
584 CreateBasicLoopControlFlow(header, header->GetSuccessors()[1], &header, &loop_body); in TEST_F()
587 CreateBasicLoopControlFlow(header, header->GetSuccessors()[1], &header, &loop_body); in TEST_F()
603 HBasicBlock* loop3_long_exit = loop3_extra_if_block->GetSuccessors()[0]; in TEST_F()
612 loop3_long_exit = loop3_extra_if_block->GetSuccessors()[0]; in TEST_F()
692 CreateBasicLoopControlFlow(header, header->GetSuccessors()[1], &header, &loop_body); in TEST_F()
[all …]
Dgraph_checker.cc105 std::count(p->GetSuccessors().begin(), p->GetSuccessors().end(), block); in VisitBasicBlock()
119 sorted_successors.assign(block->GetSuccessors().begin(), block->GetSuccessors().end()); in VisitBasicBlock()
226 if (block->GetSuccessors().size() > 1) { in VisitBasicBlock()
664 if (loop_information->GetPreHeader()->GetSuccessors().size() != 1) { in HandleLoop()
669 loop_information->GetPreHeader()->GetSuccessors().size())); in HandleLoop()
980 if (instruction->GetNumEntries() + 1u != block->GetSuccessors().size()) { in VisitPackedSwitch()
987 block->GetSuccessors().size())); in VisitPackedSwitch()
Dnodes.cc79 if (successors_visited[current_id] == current->GetSuccessors().size()) { in FindBackEdges()
83 HBasicBlock* successor = current->GetSuccessors()[successors_visited[current_id]++]; in FindBackEdges()
165 for (HBasicBlock* successor : block->GetSuccessors()) { in RemoveDeadBlocks()
251 DCHECK(ContainsElement(block->GetSuccessors(), successor)); in UpdateDominatorOfSuccessor()
288 if (successors_visited[current_id] == current->GetSuccessors().size()) { in ComputeDominanceInformation()
291 HBasicBlock* successor = current->GetSuccessors()[successors_visited[current_id]++]; in ComputeDominanceInformation()
323 for (HBasicBlock* successor : block->GetSuccessors()) { in ComputeDominanceInformation()
334 for (HBasicBlock* successor : block->GetSuccessors()) { in ComputeDominanceInformation()
569 if (block->GetSuccessors().size() > 1) { in SimplifyCFG()
929 for (HBasicBlock* successor : it_loop.Current()->GetSuccessors()) { in HasExitEdge()
[all …]
Dlinear_order.cc119 for (HBasicBlock* successor : current->GetSuccessors()) { in LinearizeGraphInternal()
Dblock_builder.cc250 DCHECK(!graph_->GetEntryBlock()->GetSuccessors().empty()) in MightHaveLiveNormalPredecessors()
381 for (size_t i = 0, e = try_block->GetSuccessors().size(); i < e; ++i) { in InsertTryBoundaryBlocks()
382 HBasicBlock* successor = try_block->GetSuccessors()[i]; in InsertTryBoundaryBlocks()
Ddead_code_elimination.cc44 ArrayRef<HBasicBlock* const> live_successors(block->GetSuccessors()); in MarkReachableBlocks()
72 DCHECK_EQ(live_successors[0], block->GetSuccessors()[switch_index]); in MarkReachableBlocks()
251 DCHECK_EQ(block->GetSuccessors().size(), 1u); in SimplifyAlwaysThrows()
Dcode_sinking.cc283 if (block->GetSuccessors().empty()) { in SinkCodeToUncommonBranch()
287 for (HBasicBlock* successor : block->GetSuccessors()) { in SinkCodeToUncommonBranch()
Dsuperblock_cloner.cc105 for (HBasicBlock* succ : block->GetSuccessors()) { in TraverseSubgraphForConnectivity()
296 if (successors_visited[current_id] == current->GetSuccessors().size()) { in FindBackEdgesLocal()
300 HBasicBlock* successor = current->GetSuccessors()[successors_visited[current_id]++]; in FindBackEdgesLocal()
451 for (HBasicBlock* succ : block->GetSuccessors()) { in SearchForSubgraphExits()
506 for (HBasicBlock* orig_succ : orig_block->GetSuccessors()) { in RemapEdgesSuccessors()
696 for (HBasicBlock* succ : bb->GetSuccessors()) { in DumpBB()
Dloop_optimization.cc64 block->GetSuccessors().size() == 1 && in IsGotoBlock()
76 for (HBasicBlock* successor : it_loop.Current()->GetSuccessors()) { in IsEarlyExit()
680 block->GetSuccessors().size() == 1 && in SimplifyBlocks()
684 } else if (block->GetSuccessors().size() == 2) { in SimplifyBlocks()
686 HBasicBlock* succ0 = block->GetSuccessors()[0]; in SimplifyBlocks()
687 HBasicBlock* succ1 = block->GetSuccessors()[1]; in SimplifyBlocks()
728 if (header->GetSuccessors().size() != 2) { in TryOptimizeInnerLoopFinite()
731 HBasicBlock* exit = (header->GetSuccessors()[0] == body) in TryOptimizeInnerLoopFinite()
732 ? header->GetSuccessors()[1] in TryOptimizeInnerLoopFinite()
733 : header->GetSuccessors()[0]; in TryOptimizeInnerLoopFinite()
[all …]
Dgvn.cc437 if (dominator->GetSuccessors().size() == 1) { in VisitBasicBlock()
536 for (const HBasicBlock* successor : block->GetSuccessors()) { in WillBeReferencedAgain()
Dnodes_x86.h118 return GetBlock()->GetSuccessors()[num_entries_]; in GetDefaultBlock()
Dssa_liveness_analysis.cc177 for (HBasicBlock* successor : block->GetSuccessors()) { in ComputeLiveRanges()
295 for (HBasicBlock* successor : block.GetSuccessors()) { in UpdateLiveOut()
Dloop_analysis.cc35 for (HBasicBlock* successor : block->GetSuccessors()) { in CalculateLoopBasicProperties()
Dcodegen_test.cc456 HBasicBlock* block = graph_in->GetEntryBlock()->GetSuccessors()[0]; in TEST_F()
502 HBasicBlock* block = graph_in->GetEntryBlock()->GetSuccessors()[0]; in TEST_F()
571 HBasicBlock* block = graph_in->GetEntryBlock()->GetSuccessors()[0]; in TEST_F()
Dbounds_check_elimination.cc1698 for (HBasicBlock* successor : it_loop.Current()->GetSuccessors()) { in IsEarlyExitLoop()
1891 HBasicBlock* true_block = if_block->GetSuccessors()[0]; // True successor. in TransformLoopForDeoptimizationIfNeeded()
1892 HBasicBlock* false_block = if_block->GetSuccessors()[1]; // False successor. in TransformLoopForDeoptimizationIfNeeded()
Dinduction_var_analysis.cc115 guard->GetSuccessors().size() == 1) { in IsGuardedBy()
1152 if (body->GetSuccessors().size() != 1 || in RewriteBreakLoop()
Dnodes.h1065 const ArenaVector<HBasicBlock*>& GetSuccessors() const { in GetSuccessors() function
1227 DCHECK_EQ(GetSuccessors().size(), 1u); in GetSingleSuccessor()
1228 return GetSuccessors()[0]; in GetSingleSuccessor()
3235 return GetBlock()->GetSuccessors()[0]; in IfTrueSuccessor()
3239 return GetBlock()->GetSuccessors()[1]; in IfFalseSuccessor()
3277 HBasicBlock* GetNormalFlowSuccessor() const { return GetBlock()->GetSuccessors()[0]; } in GetNormalFlowSuccessor()
3280 return ArrayRef<HBasicBlock* const>(GetBlock()->GetSuccessors()).SubArray(1u); in GetExceptionHandlers()
3528 return GetBlock()->GetSuccessors()[num_entries_]; in GetDefaultBlock()
Dcode_generator.cc324 block = block->GetSuccessors()[0]; in FirstNonEmptyBlock()
Dinstruction_builder.cc404 DCHECK_EQ(current_block_->GetSuccessors().size(), 1u); in Build()
Dcode_generator_arm64.cc592 const ArenaVector<HBasicBlock*>& successors = switch_instr_->GetBlock()->GetSuccessors(); in EmitTable()
6117 const ArenaVector<HBasicBlock*>& successors = switch_instr->GetBlock()->GetSuccessors(); in VisitPackedSwitch()
Dcode_generator_x86_64.cc7516 const ArenaVector<HBasicBlock*>& successors = switch_instr->GetBlock()->GetSuccessors(); in VisitPackedSwitch()
7754 const ArenaVector<HBasicBlock*>& successors = block->GetSuccessors(); in CreateJumpTable()
Dcode_generator_x86.cc8229 const ArenaVector<HBasicBlock*>& successors = switch_block->GetSuccessors(); in GenPackedSwitchWithCompares()
8479 const ArenaVector<HBasicBlock*>& successors = block->GetSuccessors(); in CreateJumpTable()

12