• Home
  • Raw
  • Download

Lines Matching refs:block

90   for (HBasicBlock* block : graph->GetPostOrder()) {  in OrderLoopsHeadersPredecessors()
91 if (block->IsLoopHeader()) { in OrderLoopsHeadersPredecessors()
92 graph->OrderLoopHeaderPredecessors(block); in OrderLoopsHeadersPredecessors()
101 static void TraverseSubgraphForConnectivity(HBasicBlock* block, HBasicBlockSet* bb_set) { in TraverseSubgraphForConnectivity() argument
102 DCHECK(bb_set->IsBitSet(block->GetBlockId())); in TraverseSubgraphForConnectivity()
103 bb_set->ClearBit(block->GetBlockId()); in TraverseSubgraphForConnectivity()
105 for (HBasicBlock* succ : block->GetSuccessors()) { in TraverseSubgraphForConnectivity()
322 for (auto block : graph_->GetBlocks()) { in RecalculateBackEdgesInfo() local
323 if (block != nullptr) { in RecalculateBackEdgesInfo()
324 outer_loop_bb_set->SetBit(block->GetBlockId()); in RecalculateBackEdgesInfo()
325 HLoopInformation* info = block->GetLoopInformation(); in RecalculateBackEdgesInfo()
343 HBasicBlock* block = GetBlockById(idx); in RecalculateBackEdgesInfo() local
344 HLoopInformation* info = block->GetLoopInformation(); in RecalculateBackEdgesInfo()
354 HBasicBlock* block = GetBlockById(idx); in RecalculateBackEdgesInfo() local
355 HLoopInformation* info = block->GetLoopInformation(); in RecalculateBackEdgesInfo()
358 (info->GetHeader() != block || info->NumberOfBackEdges() == 0)) { in RecalculateBackEdgesInfo()
359 block->SetLoopInformation(nullptr); in RecalculateBackEdgesInfo()
369 for (HBasicBlock* block : graph_->GetPostOrder()) { in AnalyzeLoopsLocally()
370 if (!outer_loop_bb_set->IsBitSet(block->GetBlockId())) { in AnalyzeLoopsLocally()
373 if (block->IsLoopHeader()) { in AnalyzeLoopsLocally()
374 if (block->IsCatchBlock()) { in AnalyzeLoopsLocally()
379 block->GetLoopInformation()->Populate(); in AnalyzeLoopsLocally()
383 for (HBasicBlock* block : graph_->GetPostOrder()) { in AnalyzeLoopsLocally()
384 if (!outer_loop_bb_set->IsBitSet(block->GetBlockId())) { in AnalyzeLoopsLocally()
387 if (block->IsLoopHeader()) { in AnalyzeLoopsLocally()
388 HLoopInformation* cur_loop = block->GetLoopInformation(); in AnalyzeLoopsLocally()
450 HBasicBlock* block = GetBlockById(block_id); in SearchForSubgraphExits() local
451 for (HBasicBlock* succ : block->GetSuccessors()) { in SearchForSubgraphExits()
571 HBasicBlock* block = GetBlockById(idx); in CollectLiveOutsAndCheckClonable() local
573 for (HInstructionIterator it(block->GetPhis()); !it.Done(); it.Advance()) { in CollectLiveOutsAndCheckClonable()
582 for (HInstructionIterator it(block->GetInstructions()); !it.Done(); it.Advance()) { in CollectLiveOutsAndCheckClonable()
863 for (HBasicBlock* block : graph_->GetReversePostOrder()) { in IsSubgraphClonable()
864 if (!IsInOrigBBSet(block)) { in IsSubgraphClonable()
867 if (block->GetTryCatchInformation() != nullptr) { in IsSubgraphClonable()
896 HBasicBlock* block = GetBlockById(idx); in IsFastCase() local
897 HLoopInformation* block_loop_info = block->GetLoopInformation(); in IsFastCase()
1109 HBasicBlock* block = graph->GetBlocks()[orig_block_id]; in IsSubgraphConnected() local
1110 for (HBasicBlock* pred : block->GetPredecessors()) { in IsSubgraphConnected()
1112 entry_blocks.push_back(block); in IsSubgraphConnected()