/art/compiler/optimizing/ |
D | graph_checker.cc | 110 block->GetBlockId(), p_count_in_block_predecessors, p->GetBlockId(), in VisitBasicBlock() 111 p->GetBlockId(), block_count_in_p_successors, block->GetBlockId())); in VisitBasicBlock() 133 block->GetBlockId(), s_count_in_block_successors, s->GetBlockId(), in VisitBasicBlock() 134 s->GetBlockId(), block_count_in_s_predecessors, block->GetBlockId())); in VisitBasicBlock() 144 block->GetBlockId())); in VisitBasicBlock() 168 current_block_->GetBlockId())); in VisitBasicBlock() 173 current_block_->GetBlockId(), in VisitBasicBlock() 185 current_block_->GetBlockId())); in VisitBasicBlock() 190 current_block_->GetBlockId(), in VisitBasicBlock() 201 successor->GetBlockId(), in VisitBasicBlock() [all …]
|
D | pretty_printer.h | 75 PrintInt(block->GetBlockId()); in VisitBasicBlock() 80 PrintInt(predecessors[i]->GetBlockId()); in VisitBasicBlock() 83 PrintInt(predecessors.back()->GetBlockId()); in VisitBasicBlock() 89 PrintInt(successors[i]->GetBlockId()); in VisitBasicBlock() 92 PrintInt(successors.back()->GetBlockId()); in VisitBasicBlock() 136 PrintInt(current_block_->GetSuccessors()[0]->GetBlockId()); in VisitGoto()
|
D | side_effects_analysis.cc | 54 block_effects_[block->GetBlockId()] = effects; in Run() 77 return loop_effects_[block->GetBlockId()]; in GetLoopEffects() 81 return block_effects_[block->GetBlockId()]; in GetBlockEffects() 85 uint32_t id = info->GetHeader()->GetBlockId(); in UpdateLoopEffects()
|
D | code_sinking.cc | 128 if (!discard_blocks.IsBitSet(instruction->GetBlock()->GetBlockId()) && in AddInstruction() 162 !post_dominated.IsBitSet(user->GetBlock()->GetBlockId()); in ShouldFilterUse() 166 !post_dominated.IsBitSet(user->GetBlock()->GetBlockId()); in ShouldFilterUse() 211 if (!post_dominated.IsBitSet(target_block->GetDominator()->GetBlockId())) { in FindIdealPosition() 280 post_dominated.SetBit(block->GetBlockId()); in SinkCodeToUncommonBranch() 288 if (!post_dominated.IsBitSet(successor->GetBlockId())) { in SinkCodeToUncommonBranch() 295 post_dominated.SetBit(block->GetBlockId()); in SinkCodeToUncommonBranch() 327 if (!post_dominated.IsBitSet(user->GetBlock()->GetBlockId()) && in SinkCodeToUncommonBranch() 350 if (!post_dominated.IsBitSet(user->GetBlock()->GetBlockId())) { in SinkCodeToUncommonBranch() 380 if (!post_dominated.IsBitSet(user->GetBlock()->GetBlockId())) { in SinkCodeToUncommonBranch() [all …]
|
D | superblock_cloner.cc | 46 if (!bb_set.IsBitSet(user->GetBlock()->GetBlockId())) { in IsUsedOutsideRegion() 54 if (!bb_set.IsBitSet(user->GetBlock()->GetBlockId())) { in IsUsedOutsideRegion() 102 DCHECK(bb_set->IsBitSet(block->GetBlockId())); in TraverseSubgraphForConnectivity() 103 bb_set->ClearBit(block->GetBlockId()); in TraverseSubgraphForConnectivity() 106 if (bb_set->IsBitSet(succ->GetBlockId())) { in TraverseSubgraphForConnectivity() 241 uint32_t orig_pred_id = orig_pred->GetBlockId(); in CopyIncomingEdgesForVersioning() 289 visited.SetBit(entry_block->GetBlockId()); in FindBackEdgesLocal() 290 visiting.SetBit(entry_block->GetBlockId()); in FindBackEdgesLocal() 295 uint32_t current_id = current->GetBlockId(); in FindBackEdgesLocal() 301 uint32_t successor_id = successor->GetBlockId(); in FindBackEdgesLocal() [all …]
|
D | gvn.cc | 379 ValueSet* result = sets_[block->GetBlockId()]; in FindSetFor() 380 DCHECK(result != nullptr) << "Could not find set for block B" << block->GetBlockId(); in FindSetFor() 385 DCHECK(sets_[block->GetBlockId()] != nullptr) in AbandonSetFor() 386 << "Block B" << block->GetBlockId() << " expected to have a set"; in AbandonSetFor() 387 sets_[block->GetBlockId()] = nullptr; in AbandonSetFor() 414 sets_[graph_->GetEntryBlock()->GetBlockId()] = new (&allocator_) ValueSet(&allocator_); in Run() 486 sets_[block->GetBlockId()] = set; in VisitBasicBlock() 524 visited_blocks_.SetBit(block->GetBlockId()); in VisitBasicBlock() 528 DCHECK(visited_blocks_.IsBitSet(block->GetBlockId())); in WillBeReferencedAgain() 531 if (!visited_blocks_.IsBitSet(dominated_block->GetBlockId())) { in WillBeReferencedAgain() [all …]
|
D | load_store_elimination.cc | 333 int block_id = block->GetBlockId(); in HandleLoopSideEffects() 337 heap_values_for_[pre_header->GetBlockId()]; in HandleLoopSideEffects() 390 ScopedArenaVector<HInstruction*>& heap_values = heap_values_for_[block->GetBlockId()]; in MergePredecessorValues() 409 HInstruction* pred_value = heap_values_for_[predecessor->GetBlockId()][i]; in MergePredecessorValues() 467 heap_values_for_[predecessor->GetBlockId()]; in MergePredecessorValues() 487 DCHECK_EQ(heap_values_for_[predecessors[0]->GetBlockId()][i], merged_value); in MergePredecessorValues() 547 heap_values_for_[instruction->GetBlock()->GetBlockId()]; in VisitGetLocation() 627 heap_values_for_[instruction->GetBlock()->GetBlockId()]; in VisitSetLocation() 730 heap_values_for_[instruction->GetBlock()->GetBlockId()]; in VisitDeoptimize() 769 heap_values_for_[block->GetBlockId()]; in HandleExit() [all …]
|
D | cha_guard_optimization.cc | 139 if (block_has_cha_guard_[dominator->GetBlockId()] == 1) { in OptimizeWithDominatingGuard() 210 block_has_cha_guard_[pre_header->GetBlockId()] = 1; in HoistGuard() 240 block_has_cha_guard_[flag->GetBlock()->GetBlockId()] = 1; in VisitShouldDeoptimizeFlag()
|
D | linear_order.cc | 105 forward_predecessors[block->GetBlockId()] = number_of_forward_predecessors; in LinearizeGraphInternal() 120 int block_id = successor->GetBlockId(); in LinearizeGraphInternal()
|
D | licm.cc | 110 DCHECK(visited->IsBitSet(inner->GetBlockId())); in Run() 114 visited->SetBit(inner->GetBlockId()); in Run()
|
D | block_builder.cc | 228 auto iterator = try_block_info.find(block->GetBlockId()); in GetTryItem() 301 try_block_info.Put(block->GetBlockId(), try_item); in InsertTryBoundaryBlocks() 337 bool is_try_block = (try_block_info.find(catch_block->GetBlockId()) != try_block_info.end()); in InsertTryBoundaryBlocks() 412 targets.insert(block->GetBlockId()); in InsertSynthesizedLoopsForOsr() 421 targets.insert(block->GetBlockId()); in InsertSynthesizedLoopsForOsr()
|
D | dead_code_elimination.cc | 35 visited->SetBit(graph->GetEntryBlock()->GetBlockId()); in MarkReachableBlocks() 41 int block_id = block->GetBlockId(); in MarkReachableBlocks() 82 if (!visited->IsBitSet(successor->GetBlockId())) { in MarkReachableBlocks() 83 visited->SetBit(successor->GetBlockId()); in MarkReachableBlocks() 463 int id = block->GetBlockId(); in RemoveDeadBlocks()
|
D | graph_visualizer.cc | 259 output_ << " \"B" << predecessor->GetBlockId() << "\" "; in PrintPredecessors() 271 output_ << " \"B" << successor->GetBlockId() << "\" "; in PrintSuccessors() 280 output_ << " \"B" << handler->GetBlockId() << "\" "; in PrintExceptionHandlers() 667 StartAttributeStream("loop") << "B" << loop_info->GetHeader()->GetBlockId(); in PrintInstruction() 670 StartAttributeStream("outer_loop") << "B" << outer->GetHeader()->GetBlockId(); in PrintInstruction() 778 GetGraph()->GetEntryBlock()->GetBlockId()); in DumpDisassemblyBlockForFrameEntry() 798 GetGraph()->HasExitBlock() ? GetGraph()->GetExitBlock()->GetBlockId() : -1, in DumpDisassemblyBlockForSlowPaths() 829 PrintProperty("name", "B", block->GetBlockId()); in VisitBasicBlock() 849 PrintProperty("dominator", "B", block->GetDominator()->GetBlockId()); in VisitBasicBlock()
|
D | superblock_cloner.h | 37 HEdge(HBasicBlock* from, HBasicBlock* to) : from_(from->GetBlockId()), to_(to->GetBlockId()) { in HEdge() 215 return IsInOrigBBSet(block->GetBlockId()); in IsInOrigBBSet()
|
D | nodes.cc | 72 visited->SetBit(entry_block_->GetBlockId()); in FindBackEdges() 73 visiting.SetBit(entry_block_->GetBlockId()); in FindBackEdges() 78 uint32_t current_id = current->GetBlockId(); in FindBackEdges() 84 uint32_t successor_id = successor->GetBlockId(); in FindBackEdges() 287 uint32_t current_id = current->GetBlockId(); in ComputeDominanceInformation() 296 if (++visits[successor->GetBlockId()] == in ComputeDominanceInformation() 622 os << "header: " << header_->GetBlockId() << std::endl; in Dump() 623 os << "pre header: " << GetPreHeader()->GetBlockId() << std::endl; in Dump() 625 os << "back edge: " << block->GetBlockId() << std::endl; in Dump() 628 os << "predecessor: " << block->GetBlockId() << std::endl; in Dump() [all …]
|
D | scheduler.cc | 333 << " is in block " << other->GetBlock()->GetBlockId() in AddDependencies() 334 << ", and expected in block " << instruction->GetBlock()->GetBlockId(); in AddDependencies() 587 << " is in block " << instruction->GetBlock()->GetBlockId() in Schedule() 588 << ", and expected in block " << block->GetBlockId(); in Schedule() 630 << " B" << block->GetBlockId(); in Schedule()
|
D | linearize_test.cc | 52 ASSERT_EQ(graph->GetLinearOrder()[i]->GetBlockId(), expected_order[i]); in TestCode()
|
D | superblock_cloner_test.cc | 279 bb_set.SetBit(header->GetBlockId()); in TEST_F() 280 bb_set.SetBit(loop_body->GetBlockId()); in TEST_F() 281 bb_set.SetBit(unreachable_block->GetBlockId()); in TEST_F() 285 EXPECT_TRUE(bb_set.IsBitSet(unreachable_block->GetBlockId())); in TEST_F() 651 orig_bb_set.SetBit(preheader->GetBlockId()); in TEST_F()
|
D | dominator_test.cc | 48 ASSERT_EQ(blocks[i], graph->GetBlocks()[i]->GetDominator()->GetBlockId()); in TestCode()
|
D | liveness_test.cc | 59 buffer << "Block " << block->GetBlockId() << std::endl; in TestCode()
|
D | bounds_check_elimination.cc | 507 return block->GetBlockId() >= initial_block_size_; in IsAddedBlock() 576 return &maps_[basic_block->GetBlockId()]; in GetValueRangeMap() 1688 const uint32_t loop_id = loop->GetHeader()->GetBlockId(); in IsEarlyExitLoop() 1759 const uint32_t loop_id = loop->GetHeader()->GetBlockId(); in CanHandleInfiniteLoop() 1791 const uint32_t loop_id = header->GetBlockId(); in GetPreHeader() 1881 const uint32_t loop_id = loop->GetHeader()->GetBlockId(); in TransformLoopForDeoptimizationIfNeeded()
|
D | find_loops_test.cc | 108 ASSERT_EQ(block->GetLoopInformation()->GetHeader()->GetBlockId(), parent_loop_header_id); in TestBlock()
|
D | ssa_liveness_analysis.h | 1190 return &block_infos_[block.GetBlockId()]->live_in_; in GetLiveInSet() 1194 return &block_infos_[block.GetBlockId()]->live_out_; in GetLiveOutSet() 1198 return &block_infos_[block.GetBlockId()]->kill_; in GetKillSet()
|
D | register_allocation_resolver.cc | 448 << " " << from->GetBlockId() << " -> " << to->GetBlockId(); in ConnectSplitSiblings()
|
D | ssa_liveness_analysis.cc | 91 block_infos_[block->GetBlockId()] = in ComputeLiveness()
|