Lines Matching defs:spill

53 static cl::opt<bool> DisableHoisting("disable-spill-hoist", cl::Hidden,
54 cl::desc("Disable inline spill hoisting"));
71 // Variables that are valid during spill(), but used by multiple methods.
77 // All registers to spill to StackSlot, including the main register.
91 // True when all reaching defs were reloads: No spill is necessary.
100 // The preferred register to spill.
156 void spill(LiveRangeEdit &);
202 // When spilling a virtual register, we also spill any snippets it is connected
208 // spill slots which can be important in tight loops.
292 DEBUG(dbgs() << "\talso spill snippet " << SnipLI << '\n');
307 // the value has already been spilled, or we may want to hoist the spill from a
318 OS << "spill " << PrintReg(SVI.SpillReg) << ':'
378 // Should this value be propagated as a preferred spill candidate? We don't
379 // propagate values of registers that are about to spill.
407 // Propagate best spill value.
413 // Hoist the spill as far as possible in SpillMBB. This can ease
420 // Hoisting the spill of s to immediately after the def removes the
424 // 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");
1169 /// insertSpill - Insert a spill of NewVReg after MI.
1181 "spill"));
1185 /// spillAroundUses - insert spill code around each use of Reg.
1196 // Modify DBG_VALUE now that the value is in a spill slot.
1201 DEBUG(dbgs() << "Modifying debug info due to spill:" << "\t" << *MI);
1238 // Hoist the spill of a sib-reg copy.
1257 // Create a new virtual register for spill/fill.
1331 void InlineSpiller::spill(LiveRangeEdit &edit) {
1335 && "Trying to spill a stack slot.");
1346 "Attempting to spill already spilled value.");
1347 assert(DeadDefs.empty() && "Previous spill didn't remove dead defs");