Lines Matching refs:spill
50 static cl::opt<bool> DisableHoisting("disable-spill-hoist", cl::Hidden,
51 cl::desc("Disable inline spill hoisting"));
67 // Variables that are valid during spill(), but used by multiple methods.
73 // All registers to spill to StackSlot, including the main register.
87 // True when all reaching defs were reloads: No spill is necessary.
96 // The preferred register to spill.
151 void spill(LiveRangeEdit &);
199 // When spilling a virtual register, we also spill any snippets it is connected
205 // spill slots which can be important in tight loops.
230 // %Reg = COPY %snip / SPILL %snip, fi#
289 DEBUG(dbgs() << "\talso spill snippet " << SnipLI << '\n');
304 // the value has already been spilled, or we may want to hoist the spill from a
315 OS << "spill " << PrintReg(SVI.SpillReg) << ':'
375 // Should this value be propagated as a preferred spill candidate? We don't
376 // propagate values of registers that are about to spill.
404 // Propagate best spill value.
410 // Hoist the spill as far as possible in SpillMBB. This can ease
417 // Hoisting the spill of s to immediately after the def removes the
421 // spill x
665 /// a spill at a better location.
706 DEBUG(dbgs() << "\tno spill needed: " << SVI);
710 // We are going to spill SVI.SpillVNI immediately after its def, so clear out
724 // Insert spill without kill flag immediately after def.
751 // Regs to spill are taken care of.
783 DEBUG(dbgs() << "Redundant spill " << Idx << '\t' << *MI);
970 DEBUG(dbgs() << RegsToSpill.size() << " registers to spill after remat.\n");
1094 /// insertSpill - Insert a spill of NewLI.reg after MI.
1108 /// spillAroundUses - insert spill code around each use of Reg.
1119 // Modify DBG_VALUE now that the value is in a spill slot.
1125 DEBUG(dbgs() << "Modifying debug info due to spill:" << "\t" << *MI);
1129 DEBUG(dbgs() << "Removing debug info due to spill:" << "\t" << *MI);
1165 // Hoist the spill of a sib-reg copy.
1212 // This instruction defines a dead value. We don't need to spill it,
1223 /// spillAll - Spill all registers remaining after rematerialization.
1242 // Spill around uses of all RegsToSpill.
1268 void InlineSpiller::spill(LiveRangeEdit &edit) {
1272 && "Trying to spill a stack slot.");
1283 "Attempting to spill already spilled value.");
1284 assert(DeadDefs.empty() && "Previous spill didn't remove dead defs");