Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:restored

540   // Machine CFG around which CSRs must be spilled and restored.
546 /// addUsesForMEMERegion - add uses of CSRs spilled or restored in
732 /// calcRestorePlacements - determine which CSRs should be restored
734 /// of changes to restored reg sets. Add MBB to the set of blocks
772 // Remove the CSRs that are restored in the return blocks.
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
949 CSRegSet restored;
960 restored |= (CSRRestore[MBB] & spilled);
972 // have not yet been seen to be restored.
974 !restored.contains(CSRSave[SBB] & spilled))
976 // Collect the CSRs spilled at MBB that are restored
979 restored |= (CSRRestore[SBB] & spilled);
984 if (restored != spilled) {
985 CSRegSet notRestored = (spilled - restored);
989 << " are never restored on path to return "
992 restored.clear();
1001 CSRegSet restored = BI->second;
1004 if (restored.empty())
1010 << stringifyCSRegSet(restored) << "\n");
1012 if (CSRSave[MBB].intersects(restored)) {
1013 spilled |= (CSRSave[MBB] & restored);
1016 // CSRs restored at MBB:
1022 // Stop when we encounter restores of any CSRs restored at MBB that
1024 if (CSRRestore[PBB].intersects(restored) &&
1025 !spilled.contains(CSRRestore[PBB] & restored))
1027 // Collect the CSRs restored at MBB that are spilled
1029 if (CSRSave[PBB].intersects(restored))
1030 spilled |= (CSRSave[PBB] & restored);
1032 if (spilled != restored) {
1033 CSRegSet notSpilled = (restored - spilled);
1036 << " restored at " << getBasicBlockName(MBB)