Lines Matching refs:Worklist
43 static void findReferences(SmallVectorImpl<Constant *> &Worklist, in findReferences() argument
47 while (!Worklist.empty()) { in findReferences()
48 Constant *C = Worklist.pop_back_val(); in findReferences()
57 Worklist.push_back(cast<Constant>(Op)); in findReferences()
66 SmallVector<Constant *, 16> Worklist; in Node() local
87 Worklist.push_back(C); in Node()
93 findReferences(Worklist, Visited, Edges, EdgeIndexMap); in Node()
138 SmallVector<Constant *, 16> Worklist; in LazyCallGraph() local
143 Worklist.push_back(GV.getInitializer()); in LazyCallGraph()
147 findReferences(Worklist, Visited, EntryEdges, EntryIndexMap); in LazyCallGraph()
403 SmallVector<SCC *, 4> Worklist; in switchInternalEdgeToCall() local
404 Worklist.push_back(&TargetSCC); in switchInternalEdgeToCall()
406 SCC &C = *Worklist.pop_back_val(); in switchInternalEdgeToCall()
421 Worklist.push_back(&EdgeC); in switchInternalEdgeToCall()
423 } while (!Worklist.empty()); in switchInternalEdgeToCall()
524 SmallVector<Node *, 16> Worklist; in switchInternalEdgeToRef() local
525 Worklist.swap(OldSCC.Nodes); in switchInternalEdgeToRef()
526 for (Node *N : Worklist) { in switchInternalEdgeToRef()
544 for (Node *RootN : Worklist) { in switchInternalEdgeToRef()
1003 SmallVector<Node *, 8> Worklist; in removeInternalRefEdge() local
1011 Worklist.append(C->Nodes.begin(), C->Nodes.end()); in removeInternalRefEdge()
1027 Node *RootN = Worklist.pop_back_val(); in removeInternalRefEdge()
1142 } while (!Worklist.empty()); in removeInternalRefEdge()
1250 SmallVector<Node *, 16> Worklist; in updateGraphPtrs() local
1253 Worklist.push_back(EntryN); in updateGraphPtrs()
1255 while (!Worklist.empty()) { in updateGraphPtrs()
1256 Node *N = Worklist.pop_back_val(); in updateGraphPtrs()
1260 Worklist.push_back(TargetN); in updateGraphPtrs()
1266 SmallVector<RefSCC *, 16> Worklist(LeafRefSCCs.begin(), LeafRefSCCs.end()); in updateGraphPtrs() local
1268 while (!Worklist.empty()) { in updateGraphPtrs()
1269 RefSCC &C = *Worklist.pop_back_val(); in updateGraphPtrs()
1272 Worklist.push_back(&ParentC); in updateGraphPtrs()