• 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()
288 for (auto block : graph_->GetBlocks()) { in RecalculateBackEdgesInfo() local
289 if (block != nullptr) { in RecalculateBackEdgesInfo()
290 outer_loop_bb_set->SetBit(block->GetBlockId()); in RecalculateBackEdgesInfo()
291 HLoopInformation* info = block->GetLoopInformation(); in RecalculateBackEdgesInfo()
309 HBasicBlock* block = GetBlockById(idx); in RecalculateBackEdgesInfo() local
310 HLoopInformation* info = block->GetLoopInformation(); in RecalculateBackEdgesInfo()
320 HBasicBlock* block = GetBlockById(idx); in RecalculateBackEdgesInfo() local
321 HLoopInformation* info = block->GetLoopInformation(); in RecalculateBackEdgesInfo()
324 (info->GetHeader() != block || info->NumberOfBackEdges() == 0)) { in RecalculateBackEdgesInfo()
325 block->SetLoopInformation(nullptr); in RecalculateBackEdgesInfo()
335 for (HBasicBlock* block : graph_->GetPostOrder()) { in AnalyzeLoopsLocally()
336 if (!outer_loop_bb_set->IsBitSet(block->GetBlockId())) { in AnalyzeLoopsLocally()
339 if (block->IsLoopHeader()) { in AnalyzeLoopsLocally()
340 if (block->IsCatchBlock()) { in AnalyzeLoopsLocally()
345 block->GetLoopInformation()->Populate(); in AnalyzeLoopsLocally()
349 for (HBasicBlock* block : graph_->GetPostOrder()) { in AnalyzeLoopsLocally()
350 if (!outer_loop_bb_set->IsBitSet(block->GetBlockId())) { in AnalyzeLoopsLocally()
353 if (block->IsLoopHeader()) { in AnalyzeLoopsLocally()
354 HLoopInformation* cur_loop = block->GetLoopInformation(); in AnalyzeLoopsLocally()
416 HBasicBlock* block = GetBlockById(block_id); in SearchForSubgraphExits() local
417 for (HBasicBlock* succ : block->GetSuccessors()) { in SearchForSubgraphExits()
531 HBasicBlock* block = GetBlockById(idx); in CollectLiveOutsAndCheckClonable() local
533 for (HInstructionIterator it(block->GetPhis()); !it.Done(); it.Advance()) { in CollectLiveOutsAndCheckClonable()
542 for (HInstructionIterator it(block->GetInstructions()); !it.Done(); it.Advance()) { in CollectLiveOutsAndCheckClonable()
845 HBasicBlock* block = GetBlockById(idx); in IsFastCase() local
846 HLoopInformation* block_loop_info = block->GetLoopInformation(); in IsFastCase()
1055 HBasicBlock* block = graph->GetBlocks()[orig_block_id]; in IsSubgraphConnected() local
1056 for (HBasicBlock* pred : block->GetPredecessors()) { in IsSubgraphConnected()
1058 entry_blocks.push_back(block); in IsSubgraphConnected()