Searched refs:worklist (Results 1 – 1 of 1) sorted by relevance
46 static void AddToListForLinearization(GrowableArray<HBasicBlock*>* worklist, HBasicBlock* block) { in AddToListForLinearization() argument47 size_t insert_at = worklist->Size(); in AddToListForLinearization()50 HBasicBlock* current = worklist->Get(insert_at - 1); in AddToListForLinearization()59 worklist->InsertAt(insert_at, block); in AddToListForLinearization()87 GrowableArray<HBasicBlock*> worklist(graph_->GetArena(), 1); in LinearizeGraph() local88 worklist.Add(graph_->GetEntryBlock()); in LinearizeGraph()90 HBasicBlock* current = worklist.Pop(); in LinearizeGraph()97 AddToListForLinearization(&worklist, successor); in LinearizeGraph()101 } while (!worklist.IsEmpty()); in LinearizeGraph()