/art/compiler/optimizing/ |
D | loop_optimization_test.cc | 154 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()
|
D | graph_test.cc | 107 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()
|
D | pretty_printer.h | 85 const ArenaVector<HBasicBlock*>& successors = block->GetSuccessors(); in VisitBasicBlock() 136 PrintInt(current_block_->GetSuccessors()[0]->GetBlockId()); in VisitGoto()
|
D | superblock_cloner_test.cc | 408 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 …]
|
D | graph_checker.cc | 105 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()
|
D | nodes.cc | 79 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 …]
|
D | linear_order.cc | 119 for (HBasicBlock* successor : current->GetSuccessors()) { in LinearizeGraphInternal()
|
D | block_builder.cc | 250 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()
|
D | dead_code_elimination.cc | 44 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()
|
D | code_sinking.cc | 283 if (block->GetSuccessors().empty()) { in SinkCodeToUncommonBranch() 287 for (HBasicBlock* successor : block->GetSuccessors()) { in SinkCodeToUncommonBranch()
|
D | superblock_cloner.cc | 105 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()
|
D | loop_optimization.cc | 64 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 …]
|
D | gvn.cc | 437 if (dominator->GetSuccessors().size() == 1) { in VisitBasicBlock() 536 for (const HBasicBlock* successor : block->GetSuccessors()) { in WillBeReferencedAgain()
|
D | nodes_x86.h | 118 return GetBlock()->GetSuccessors()[num_entries_]; in GetDefaultBlock()
|
D | ssa_liveness_analysis.cc | 177 for (HBasicBlock* successor : block->GetSuccessors()) { in ComputeLiveRanges() 295 for (HBasicBlock* successor : block.GetSuccessors()) { in UpdateLiveOut()
|
D | loop_analysis.cc | 35 for (HBasicBlock* successor : block->GetSuccessors()) { in CalculateLoopBasicProperties()
|
D | codegen_test.cc | 456 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()
|
D | bounds_check_elimination.cc | 1698 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()
|
D | induction_var_analysis.cc | 115 guard->GetSuccessors().size() == 1) { in IsGuardedBy() 1152 if (body->GetSuccessors().size() != 1 || in RewriteBreakLoop()
|
D | nodes.h | 1065 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()
|
D | code_generator.cc | 324 block = block->GetSuccessors()[0]; in FirstNonEmptyBlock()
|
D | instruction_builder.cc | 404 DCHECK_EQ(current_block_->GetSuccessors().size(), 1u); in Build()
|
D | code_generator_arm64.cc | 592 const ArenaVector<HBasicBlock*>& successors = switch_instr_->GetBlock()->GetSuccessors(); in EmitTable() 6117 const ArenaVector<HBasicBlock*>& successors = switch_instr->GetBlock()->GetSuccessors(); in VisitPackedSwitch()
|
D | code_generator_x86_64.cc | 7516 const ArenaVector<HBasicBlock*>& successors = switch_instr->GetBlock()->GetSuccessors(); in VisitPackedSwitch() 7754 const ArenaVector<HBasicBlock*>& successors = block->GetSuccessors(); in CreateJumpTable()
|
D | code_generator_x86.cc | 8229 const ArenaVector<HBasicBlock*>& successors = switch_block->GetSuccessors(); in GenPackedSwitchWithCompares() 8479 const ArenaVector<HBasicBlock*>& successors = block->GetSuccessors(); in CreateJumpTable()
|