Lines Matching defs:RefSCC
150 SmallPriorityWorklist<LazyCallGraph::RefSCC *, 1> RCWorklist;
176 for (LazyCallGraph::RefSCC &RC :
179 "Should always start with an empty RefSCC worklist");
186 // cache locality as forming a RefSCC touches all the parts of all the
187 // functions within that RefSCC.
190 // the CGSCC passes below may delete the current RefSCC.
194 LazyCallGraph::RefSCC *RC = RCWorklist.pop_back_val();
198 LLVM_DEBUG(dbgs() << "Running an SCC pass across the RefSCC: " << *RC
227 // RefSCC and bail if it wasn't, since it should be in RCWorklist.
229 // modules with a huge RefSCC. If a non-trivial amount of SCCs in the
230 // huge RefSCC can become their own child RefSCC, we create one child
231 // RefSCC, bail on the current RefSCC, visit the child RefSCC, revisit
232 // the huge RefSCC, and repeat. By visiting all SCCs in the original
233 // RefSCC we create all the child RefSCCs in one pass of the RefSCC,
234 // rather one pass of the RefSCC creating one child RefSCC at a time.
276 // Update the SCC and RefSCC if necessary.
315 // current SCC and/or RefSCC. We need to update our current SCC and
316 // RefSCC pointers to follow these. Also, when the current SCC is
321 // FIXME: If we ever start having RefSCC passes, we'll want to
336 // a RefSCC, clear it to save on space and let the next time we visit
883 using RefSCC = LazyCallGraph::RefSCC;
885 RefSCC &InitialRC = InitialC.getOuterRefSCC();
887 RefSCC *RC = &InitialRC;
964 RefSCC &TargetRC = TargetC.getOuterRefSCC();
977 RefSCC &TargetRC = TargetC.getOuterRefSCC();
1005 RefSCC &TargetRC = TargetC.getOuterRefSCC();
1023 RefSCC &TargetRC = TargetC.getOuterRefSCC();
1041 RefSCC &TargetRC = TargetC.getOuterRefSCC();
1043 // The easy case is when the target RefSCC is not this RefSCC. This is
1044 // only supported when the target RefSCC is a child of this RefSCC.
1048 "Cannot potentially form RefSCC cycles here!");
1077 RefSCC &TargetRC = TargetC.getOuterRefSCC();
1079 // The easy case is when the target RefSCC is not this RefSCC. This is
1080 // only supported when the target RefSCC is a child of this RefSCC.
1084 "Cannot potentially form RefSCC cycles here!");
1168 assert(&C->getOuterRefSCC() == RC && "Current SCC not in current RefSCC!");