Home
last modified time | relevance | path

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

12

/art/compiler/optimizing/
Dloop_optimization_test.cc152 b = s->GetSuccessors()[0]; in TEST_F()
163 s = b->GetSuccessors()[1]; in TEST_F()
174 s = b->GetSuccessors()[1]; in TEST_F()
175 HBasicBlock* bi = b->GetSuccessors()[0]; in TEST_F()
179 bi = si->GetSuccessors()[0]; in TEST_F()
201 b = s->GetSuccessors()[0]; in TEST_F()
204 s = b->GetSuccessors()[1]; in TEST_F()
207 s = b->GetSuccessors()[1]; in TEST_F()
230 DCHECK(header->GetSuccessors()[1] == return_block_); in TEST_F()
288 HBasicBlock* body = header->GetSuccessors()[0]; in TEST_F()
Dgraph_test.cc108 ASSERT_EQ(false_block->GetSuccessors()[0], return_block); in TEST_F()
140 ASSERT_EQ(true_block->GetSuccessors()[0], return_block); in TEST_F()
238 ASSERT_EQ(if_instr->IfTrueSuccessor()->GetSuccessors().size(), 1u); in TEST_F()
239 ASSERT_EQ(if_instr->IfTrueSuccessor()->GetSuccessors()[0], in TEST_F()
273 ASSERT_EQ(if_instr->IfFalseSuccessor()->GetSuccessors().size(), 1u); in TEST_F()
274 ASSERT_EQ(if_instr->IfFalseSuccessor()->GetSuccessors()[0], in TEST_F()
Dsuperblock_cloner_test.cc409 EXPECT_EQ(original_preheader->GetSuccessors().size(), 2u); in TEST_F()
423 HBasicBlock* latch = header->GetSuccessors()[1]; in TEST_F()
484 CreateBasicLoopControlFlow(header, header->GetSuccessors()[1], &header, &loop_body); in TEST_F()
527 CreateBasicLoopControlFlow(header, header->GetSuccessors()[1], &header, &loop_body); in TEST_F()
531 CreateBasicLoopControlFlow(header, header->GetSuccessors()[1], &header, &loop_body); in TEST_F()
585 CreateBasicLoopControlFlow(header, header->GetSuccessors()[1], &header, &loop_body); in TEST_F()
588 CreateBasicLoopControlFlow(header, header->GetSuccessors()[1], &header, &loop_body); in TEST_F()
604 HBasicBlock* loop3_long_exit = loop3_extra_if_block->GetSuccessors()[0]; in TEST_F()
613 loop3_long_exit = loop3_extra_if_block->GetSuccessors()[0]; in TEST_F()
693 CreateBasicLoopControlFlow(header, header->GetSuccessors()[1], &header, &loop_body); in TEST_F()
[all …]
Dpretty_printer.h86 const ArenaVector<HBasicBlock*>& successors = block->GetSuccessors(); in VisitBasicBlock()
137 PrintInt(current_block_->GetSuccessors()[0]->GetBlockId()); in VisitGoto()
Ddead_code_elimination.cc48 ArrayRef<HBasicBlock* const> live_successors(block->GetSuccessors()); in MarkReachableBlocks()
76 DCHECK_EQ(live_successors[0], block->GetSuccessors()[switch_index]); in MarkReachableBlocks()
285 if (block->GetSuccessors().size() == 1 && in SimplifyAlwaysThrows()
499 for (HBasicBlock* succ : block->GetSuccessors()) { in MaybeAddPhi()
623 while (block->GetSuccessors().size() > 1) { in DisconnectHandlersAndUpdateTryBoundary()
624 HBasicBlock* handler = block->GetSuccessors()[1]; in DisconnectHandlersAndUpdateTryBoundary()
638 DCHECK_EQ(block->GetSuccessors().size(), 1u); in DisconnectHandlersAndUpdateTryBoundary()
806 merge_true = merge_true->GetSuccessors()[0]; in RemoveEmptyIfs()
812 merge_false = merge_false->GetSuccessors()[0]; in RemoveEmptyIfs()
Dgraph_checker.cc194 std::count(p->GetSuccessors().begin(), p->GetSuccessors().end(), block); in VisitBasicBlock()
214 sorted_successors.assign(block->GetSuccessors().begin(), block->GetSuccessors().end()); in VisitBasicBlock()
343 if (block->GetSuccessors().empty() && !block->IsExitBlock()) { in VisitBasicBlock()
352 if (block->GetSuccessors().size() > 1) { in VisitBasicBlock()
905 if (loop_information->GetPreHeader()->GetSuccessors().size() != 1) { in HandleLoop()
910 loop_information->GetPreHeader()->GetSuccessors().size())); in HandleLoop()
1220 if (instruction->GetNumEntries() + 1u != block->GetSuccessors().size()) { in VisitPackedSwitch()
1227 block->GetSuccessors().size())); in VisitPackedSwitch()
Dnodes.cc90 if (successors_visited[current_id] == current->GetSuccessors().size()) { in FindBackEdges()
94 HBasicBlock* successor = current->GetSuccessors()[successors_visited[current_id]++]; in FindBackEdges()
295 DCHECK(ContainsElement(block->GetSuccessors(), successor)); in UpdateDominatorOfSuccessor()
332 if (successors_visited[current_id] == current->GetSuccessors().size()) { in ComputeDominanceInformation()
335 HBasicBlock* successor = current->GetSuccessors()[successors_visited[current_id]++]; in ComputeDominanceInformation()
367 for (HBasicBlock* successor : block->GetSuccessors()) { in ComputeDominanceInformation()
378 for (HBasicBlock* successor : block->GetSuccessors()) { in ComputeDominanceInformation()
628 if (block->GetSuccessors().size() > 1) { in SimplifyCFG()
987 for (HBasicBlock* successor : it_loop.Current()->GetSuccessors()) { in HasExitEdge()
2076 for (HBasicBlock* successor : GetSuccessors()) { in SplitBefore()
[all …]
Dloop_optimization.cc64 block->GetSuccessors().size() == 1 && in IsGotoBlock()
76 for (HBasicBlock* successor : it_loop.Current()->GetSuccessors()) { in IsEarlyExit()
469 if (loop_info->NumberOfBackEdges() != 1 || header->GetSuccessors().size() != 2) { in HasLoopDiamondStructure()
472 HBasicBlock* header_succ_0 = header->GetSuccessors()[0]; in HasLoopDiamondStructure()
473 HBasicBlock* header_succ_1 = header->GetSuccessors()[1]; in HasLoopDiamondStructure()
485 if (diamond_true->GetSuccessors().size() != 1 || diamond_false->GetSuccessors().size() != 1) { in HasLoopDiamondStructure()
819 block->GetSuccessors().size() == 1 && in SimplifyBlocks()
823 } else if (block->GetSuccessors().size() == 2) { in SimplifyBlocks()
825 HBasicBlock* succ0 = block->GetSuccessors()[0]; in SimplifyBlocks()
826 HBasicBlock* succ1 = block->GetSuccessors()[1]; in SimplifyBlocks()
[all …]
Dblock_builder.cc237 DCHECK(!graph_->GetEntryBlock()->GetSuccessors().empty()) in MightHaveLiveNormalPredecessors()
368 for (size_t i = 0, e = try_block->GetSuccessors().size(); i < e; ++i) { in InsertTryBoundaryBlocks()
369 HBasicBlock* successor = try_block->GetSuccessors()[i]; in InsertTryBoundaryBlocks()
Dlinear_order.cc119 for (HBasicBlock* successor : current->GetSuccessors()) { in LinearizeGraphInternal()
Dsuperblock_cloner.cc105 for (HBasicBlock* succ : block->GetSuccessors()) { in TraverseSubgraphForConnectivity()
294 if (successors_visited[current_id] == current->GetSuccessors().size()) { in FindBackEdgesLocal()
298 HBasicBlock* successor = current->GetSuccessors()[successors_visited[current_id]++]; in FindBackEdgesLocal()
449 for (HBasicBlock* succ : block->GetSuccessors()) { in SearchForSubgraphExits()
504 for (HBasicBlock* orig_succ : orig_block->GetSuccessors()) { in RemapEdgesSuccessors()
694 for (HBasicBlock* succ : bb->GetSuccessors()) { in DumpBB()
Dgvn.cc434 if (dominator->GetSuccessors().size() == 1) { in VisitBasicBlock()
533 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()
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()
Dcode_sinking.cc384 ArrayRef<HBasicBlock* const>(block->GetSuccessors()); in SinkCodeToUncommonBranch()
Dload_store_elimination_test.cc1141 CHECK_EQ(loop_entry->GetSuccessors().size(), 2u); in TEST_F()
1270 CHECK_EQ(loop_entry->GetSuccessors().size(), 2u); in TEST_F()
2096 if (left_loop->GetSuccessors()[0] != return_block) { in TEST_F()
2202 if (left_loop->GetSuccessors()[0] != return_block) { in TEST_F()
Dbounds_check_elimination.cc1720 for (HBasicBlock* successor : it_loop.Current()->GetSuccessors()) { in IsEarlyExitLoop()
1914 HBasicBlock* true_block = if_block->GetSuccessors()[0]; // True successor. in TransformLoopForDeoptimizationIfNeeded()
1915 HBasicBlock* false_block = if_block->GetSuccessors()[1]; // False successor. in TransformLoopForDeoptimizationIfNeeded()
Dnodes.h1132 const ArenaVector<HBasicBlock*>& GetSuccessors() const { in GetSuccessors() function
1294 DCHECK_EQ(GetSuccessors().size(), 1u); in GetSingleSuccessor()
1295 return GetSuccessors()[0]; in GetSingleSuccessor()
3547 return GetBlock()->GetSuccessors()[0];
3551 return GetBlock()->GetSuccessors()[1];
3599 HBasicBlock* GetNormalFlowSuccessor() const { return GetBlock()->GetSuccessors()[0]; }
3602 return ArrayRef<HBasicBlock* const>(GetBlock()->GetSuccessors()).SubArray(1u);
3851 return GetBlock()->GetSuccessors()[num_entries_];
Dinduction_var_analysis.cc83 guard->GetSuccessors().size() == 1) { in IsGuardedBy()
1270 if (body->GetSuccessors().size() != 1 || in RewriteBreakLoop()
Dcode_generator.cc249 block = block->GetSuccessors()[0]; in FirstNonEmptyBlock()
Dinstruction_builder.cc446 DCHECK_EQ(current_block_->GetSuccessors().size(), 1u); in Build()
Dcode_generator_arm64.cc565 const ArenaVector<HBasicBlock*>& successors = switch_instr_->GetBlock()->GetSuccessors(); in EmitTable()
6652 const ArenaVector<HBasicBlock*>& successors = switch_instr->GetBlock()->GetSuccessors(); in VisitPackedSwitch()
Dcode_generator_riscv64.cc2040 ArrayRef<HBasicBlock* const> successors(switch_block->GetSuccessors()); in GenPackedSwitchWithCompares()
2070 const ArenaVector<HBasicBlock*>& successors = switch_block->GetSuccessors(); in GenTableBasedPackedSwitch()

12