Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:spilled

540   // Machine CFG around which CSRs must be spilled and restored.
546 /// addUsesForMEMERegion - add uses of CSRs spilled or restored in
670 /// calcSpillPlacements - determine which CSRs should be spilled
672 /// of changes to spilled reg sets. Add MBB to the set of blocks
712 // Reset all regs spilled in MBB that are also spilled in EntryBlock.
833 // Add uses for CSRs spilled or restored at branch, join points.
931 /// all CSRs spilled at MMBB are restored on all paths
934 /// all CSRs restored at MBB are spilled on all paths
948 CSRegSet spilled = BI->second;
951 if (spilled.empty())
955 << stringifyCSRegSet(spilled)
959 if (CSRRestore[MBB].intersects(spilled)) {
960 restored |= (CSRRestore[MBB] & spilled);
963 // Walk depth first from MBB to find restores of all CSRs spilled at MBB:
971 // Stop when we encounter spills of any CSRs spilled at MBB that
973 if (CSRSave[SBB].intersects(spilled) &&
974 !restored.contains(CSRSave[SBB] & spilled))
976 // Collect the CSRs spilled at MBB that are restored
978 if (CSRRestore[SBB].intersects(spilled))
979 restored |= (CSRRestore[SBB] & spilled);
984 if (restored != spilled) {
985 CSRegSet notRestored = (spilled - restored);
988 << " spilled at " << getBasicBlockName(MBB)
1002 CSRegSet spilled;
1013 spilled |= (CSRSave[MBB] & restored);
1023 // have not yet been seen to be spilled.
1025 !spilled.contains(CSRRestore[PBB] & restored))
1027 // Collect the CSRs restored at MBB that are spilled
1030 spilled |= (CSRSave[PBB] & restored);
1032 if (spilled != restored) {
1033 CSRegSet notSpilled = (restored - spilled);
1037 << " are never spilled\n");