Lines Matching defs:SGPR

66 // - Try to scavenge SGPR(s) to save exec
85 // The SGPR to save
101 // Scavenged SGPR to save EXEC.
160 // Writes these instructions if an SGPR can be scavenged:
165 // Writes these instructions if no SGPR can be scavenged:
178 assert(RS && "Cannot spill SGPR to memory without RegScavenger");
229 "unhandled SGPR spill to memory");
244 // Writes these instructions if an SGPR can be scavenged:
249 // Writes these instructions if no SGPR can be scavenged:
305 "unhandled SGPR spill to memory");
703 // SGPR used to preserve EXEC MASK around WWM spill/copy instructions.
1013 // the uses of the frame index, and assumes SGPR for enableFlatScratch. Emit
1446 // need to handle the case where an SGPR may need to be spilled while spilling.
1577 // Materialize a VGPR offset required for the given SGPR/VGPR/Immediate
1583 // We only have 1 VGPR offset, or 1 SGPR offset. We don't have a free
1584 // SGPR, so perform the add as vector.
1585 // We don't need a base SGPR in the kernel.
1655 // stores), we have no way to free up an SGPR. Our solution here is to
1677 report_fatal_error("could not scavenge SGPR to spill in entry function");
1975 // Since stack slot coloring pass is trying to optimize SGPR spills,
1976 // VGPR lanes (mapped from spill stack slot) may be shared for SGPR
1978 // equal to the largest SGPR being spilled in them.
2167 Register SGPR, RegScavenger *RS) const {
2168 SGPRSpillBuilder SB(*this, *ST.getInstrInfo(), isWave32, MI, SGPR, false, 0,
2171 // Generate the spill of SGPR to SB.TmpVGPR.
2208 // Generate the restore of SGPR from SB.TmpVGPR.
2234 /// Special case of eliminateFrameIndex. Returns true if the SGPR was spilled to
2272 llvm_unreachable("not an SGPR spill instruction");
2299 // SGPR register spill
2317 // SGPR register restore
2547 // TODO: If we have a free SGPR, it's sometimes better to use a scalar
2559 // We didn't need the shift above, so we have an SGPR for the frame
2579 // TODO: In the flat scratch case, if this is an add of an SGPR, and SCC
2666 // TODO: Can use SGPR on gfx10+ in some cases.
2825 // Otherwise we need to materialize 0 into an SGPR.
2862 // We need to use register here. Check if we can use an SGPR or need
3049 // We have to produce a carry out, and there isn't a free SGPR pair
3053 // We may have 1 free scratch SGPR even though a carry out is
3609 // Registers without classes are unaddressable, SGPR-like registers.
3617 // Registers without classes are unaddressable, SGPR-like registers.