Home
last modified time | relevance | path

Searched refs:GetSuccessors (Results 1 – 25 of 30) 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()
Dexecution_subgraph.cc44 return it == nullptr || it->GetSuccessors().size() <= kMaxFilterableSuccessors; in __anon8468d4a20102()
66 for (auto [succ, i] : ZipCount(MakeIterationRange(pred->GetSuccessors()))) { in RemoveBlock()
143 static_cast<ssize_t>(graph_->GetEntryBlock()->GetSuccessors().size())); in Prune()
161 ssize_t num_entry_succ = graph_->GetEntryBlock()->GetSuccessors().size(); in Prune()
197 if (*cur_succ >= static_cast<ssize_t>(cur_block->GetSuccessors().size())) { in Prune()
205 const HBasicBlock* nxt = cur_block->GetSuccessors()[*cur_succ]; in Prune()
207 << " max: " << cur_block->GetSuccessors().size(); in Prune()
296 for (const HBasicBlock* succ : cur->GetSuccessors()) { in RecalculateExcludedCohort()
309 const auto& succs = blk->GetSuccessors(); in RecalculateExcludedCohort()
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()
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 …]
Dpretty_printer.h85 const ArenaVector<HBasicBlock*>& successors = block->GetSuccessors(); in VisitBasicBlock()
136 PrintInt(current_block_->GetSuccessors()[0]->GetBlockId()); in VisitGoto()
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()
669 if (loop_information->GetPreHeader()->GetSuccessors().size() != 1) { in HandleLoop()
674 loop_information->GetPreHeader()->GetSuccessors().size())); in HandleLoop()
985 if (instruction->GetNumEntries() + 1u != block->GetSuccessors().size()) { in VisitPackedSwitch()
992 block->GetSuccessors().size())); in VisitPackedSwitch()
Dnodes.cc88 if (successors_visited[current_id] == current->GetSuccessors().size()) { in FindBackEdges()
92 HBasicBlock* successor = current->GetSuccessors()[successors_visited[current_id]++]; in FindBackEdges()
174 for (HBasicBlock* successor : block->GetSuccessors()) { in RemoveDeadBlocks()
260 DCHECK(ContainsElement(block->GetSuccessors(), successor)); in UpdateDominatorOfSuccessor()
391 for (const HBasicBlock* succ : cur->GetSuccessors()) { in CalculateConnectednessOn()
462 if (successors_visited[current_id] == current->GetSuccessors().size()) { in ComputeDominanceInformation()
465 HBasicBlock* successor = current->GetSuccessors()[successors_visited[current_id]++]; in ComputeDominanceInformation()
497 for (HBasicBlock* successor : block->GetSuccessors()) { in ComputeDominanceInformation()
508 for (HBasicBlock* successor : block->GetSuccessors()) { in ComputeDominanceInformation()
743 if (block->GetSuccessors().size() > 1) { in SimplifyCFG()
[all …]
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()
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()
Dlinear_order.cc119 for (HBasicBlock* successor : current->GetSuccessors()) { in LinearizeGraphInternal()
Dcode_sinking.cc284 if (block->GetSuccessors().empty()) { in SinkCodeToUncommonBranch()
288 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()
678 block->GetSuccessors().size() == 1 && in SimplifyBlocks()
682 } else if (block->GetSuccessors().size() == 2) { in SimplifyBlocks()
684 HBasicBlock* succ0 = block->GetSuccessors()[0]; in SimplifyBlocks()
685 HBasicBlock* succ1 = block->GetSuccessors()[1]; in SimplifyBlocks()
726 if (header->GetSuccessors().size() != 2) { in TryOptimizeInnerLoopFinite()
729 HBasicBlock* exit = (header->GetSuccessors()[0] == body) in TryOptimizeInnerLoopFinite()
730 ? header->GetSuccessors()[1] in TryOptimizeInnerLoopFinite()
731 : 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()
Dexecution_subgraph.h303 return blk == nullptr || blk->GetSuccessors().size() <= kMaxFilterableSuccessors; in CanAnalyse()
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()
Dloop_analysis.cc36 for (HBasicBlock* successor : block->GetSuccessors()) { in CalculateLoopBasicProperties()
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()
Dexecution_subgraph_test.cc63 for (const HBasicBlock* succ : cur->GetSuccessors()) { in CalculateValidity()
Dnodes.h1105 const ArenaVector<HBasicBlock*>& GetSuccessors() const { in GetSuccessors() function
1267 DCHECK_EQ(GetSuccessors().size(), 1u); in GetSingleSuccessor()
1268 return GetSuccessors()[0]; in GetSingleSuccessor()
3425 return GetBlock()->GetSuccessors()[0];
3429 return GetBlock()->GetSuccessors()[1];
3467 HBasicBlock* GetNormalFlowSuccessor() const { return GetBlock()->GetSuccessors()[0]; }
3470 return ArrayRef<HBasicBlock* const>(GetBlock()->GetSuccessors()).SubArray(1u);
3718 return GetBlock()->GetSuccessors()[num_entries_];
Dload_store_elimination_test.cc1282 CHECK_EQ(loop_entry->GetSuccessors().size(), 2u); in TEST_F()
1411 CHECK_EQ(loop_entry->GetSuccessors().size(), 2u); in TEST_F()
4170 if (left_loop->GetSuccessors()[0] != left_finish) { in TEST_F()
4452 if (left_loop->GetSuccessors()[0] != return_block) { in TEST_F()
4559 if (left_loop->GetSuccessors()[0] != return_block) { in TEST_F()
Dcode_generator.cc325 block = block->GetSuccessors()[0]; in FirstNonEmptyBlock()

12