Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Cascade

202     // Cascade - Eviction loop prevention. See canEvictInterference().
203 unsigned Cascade;
205 RegInfo() : Stage(RS_New), Cascade(0) {}
690 /// Cascade numbers are used to prevent infinite loops if this function is a
731 // Find VirtReg's cascade number. This will be unassigned if VirtReg was never
732 // involved in an eviction before. If a cascade number was assigned, deny
733 // evicting anything with the same or a newer cascade number. This prevents
736 // This works out so a register without a cascade number is allowed to evict
738 unsigned Cascade = ExtraRegInfo[VirtReg.reg].Cascade;
739 if (!Cascade)
740 Cascade = NextCascade;
767 // Only evict older cascades or live ranges without a cascade.
768 unsigned IntfCascade = ExtraRegInfo[Intf->reg].Cascade;
769 if (Cascade <= IntfCascade) {
807 // Make sure that VirtReg has a cascade number, and assign that cascade
809 // evicted by a newer cascade, preventing infinite loops.
810 unsigned Cascade = ExtraRegInfo[VirtReg.reg].Cascade;
811 if (!Cascade)
812 Cascade = ExtraRegInfo[VirtReg.reg].Cascade = NextCascade++;
815 << " interference: Cascade " << Cascade << '\n');
833 assert((ExtraRegInfo[Intf->reg].Cascade < Cascade ||
835 "Cannot decrease cascade number, illegal eviction");
836 ExtraRegInfo[Intf->reg].Cascade = Cascade;
2493 << " Cascade " << ExtraRegInfo[VirtReg.reg].Cascade << '\n');