Home | History | Annotate | Download | only in CodeGen

Lines Matching full:spill

54 static cl::opt<bool> DisableHoisting("disable-spill-hoist", cl::Hidden,
55 cl::desc("Disable inline spill hoisting"));
72 // Variables that are valid during spill(), but used by multiple methods.
78 // All registers to spill to StackSlot, including the main register.
92 // True when all reaching defs were reloads: No spill is necessary.
101 // The preferred register to spill.
152 void spill(LiveRangeEdit &) override;
203 // When spilling a virtual register, we also spill any snippets it is connected
209 // spill slots which can be important in tight loops.
234 // %Reg = COPY %snip / SPILL %snip, fi#
295 DEBUG(dbgs() << "\talso spill snippet " << SnipLI << '\n');
310 // the value has already been spilled, or we may want to hoist the spill from a
321 OS << "spill " << PrintReg(SVI.SpillReg) << ':'
381 // Should this value be propagated as a preferred spill candidate? We don't
382 // propagate values of registers that are about to spill.
410 // Propagate best spill value.
416 // Hoist the spill as far as possible in SpillMBB. This can ease
423 // Hoisting the spill of s to immediately after the def removes the
427 // spill x
446 // Hoist a spill to outer loop if there are multiple dependents (it
686 /// a spill at a better location.
727 DEBUG(dbgs() << "\tno spill needed: " << SVI);
731 // We are going to spill SVI.SpillVNI immediately after its def, so clear out
745 // Insert spill without kill flag immediately after def.
772 // Regs to spill are taken care of.
806 DEBUG(dbgs() << "Redundant spill " << Idx << '\t' << *MI);
1006 DEBUG(dbgs() << RegsToSpill.size() << " registers to spill after remat.\n");
1198 /// insertSpill - Insert a spill of NewVReg after MI.
1210 "spill"));
1214 /// spillAroundUses - insert spill code around each use of Reg.
1227 // Modify DBG_VALUE now that the value is in a spill slot.
1233 DEBUG(dbgs() << "Modifying debug info due to spill:" << "\t" << *MI);
1275 // Hoist the spill of a sib-reg copy.
1294 // Create a new virtual register for spill/fill.
1323 /// spillAll - Spill all registers remaining after rematerialization.
1342 // Spill around uses of all RegsToSpill.
1370 void InlineSpiller::spill(LiveRangeEdit &edit) {
1374 && "Trying to spill a stack slot.");
1385 "Attempting to spill already spilled value.");
1386 assert(DeadDefs.empty() && "Previous spill didn't remove dead defs");