Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:spill

50 static cl::opt<bool> DisableHoisting("disable-spill-hoist", cl::Hidden,
51 cl::desc("Disable inline spill hoisting"));
68 // Variables that are valid during spill(), but used by multiple methods.
74 // All registers to spill to StackSlot, including the main register.
88 // True when all reaching defs were reloads: No spill is necessary.
97 // The preferred register to spill.
153 void spill(LiveRangeEdit &);
201 // When spilling a virtual register, we also spill any snippets it is connected
207 // spill slots which can be important in tight loops.
232 // %Reg = COPY %snip / SPILL %snip, fi#
291 DEBUG(dbgs() << "\talso spill snippet " << SnipLI << '\n');
306 // the value has already been spilled, or we may want to hoist the spill from a
317 OS << "spill " << PrintReg(SVI.SpillReg) << ':'
377 // Should this value be propagated as a preferred spill candidate? We don't
378 // propagate values of registers that are about to spill.
406 // Propagate best spill value.
412 // Hoist the spill as far as possible in SpillMBB. This can ease
419 // Hoisting the spill of s to immediately after the def removes the
423 // spill x
667 /// a spill at a better location.
708 DEBUG(dbgs() << "\tno spill needed: " << SVI);
712 // We are going to spill SVI.SpillVNI immediately after its def, so clear out
726 // Insert spill without kill flag immediately after def.
753 // Regs to spill are taken care of.
785 DEBUG(dbgs() << "Redundant spill " << Idx << '\t' << *MI);
972 DEBUG(dbgs() << RegsToSpill.size() << " registers to spill after remat.\n");
1092 /// insertSpill - Insert a spill of NewLI.reg after MI.
1106 /// spillAroundUses - insert spill code around each use of Reg.
1117 // Modify DBG_VALUE now that the value is in a spill slot.
1123 DEBUG(dbgs() << "Modifying debug info due to spill:" << "\t" << *MI);
1127 DEBUG(dbgs() << "Removing debug info due to spill:" << "\t" << *MI);
1163 // Hoist the spill of a sib-reg copy.
1210 // This instruction defines a dead value. We don't need to spill it,
1221 /// spillAll - Spill all registers remaining after rematerialization.
1240 // Spill around uses of all RegsToSpill.
1266 void InlineSpiller::spill(LiveRangeEdit &edit) {
1270 && "Trying to spill a stack slot.");
1281 "Attempting to spill already spilled value.");
1282 assert(DeadDefs.empty() && "Previous spill didn't remove dead defs");