Lines Matching defs:StackSlotColoring
1 //===-- StackSlotColoring.cpp - Stack slot coloring pass. -----------------===//
58 class StackSlotColoring : public MachineFunctionPass {
97 StackSlotColoring() :
101 StackSlotColoring(bool RegColor) :
150 char StackSlotColoring::ID = 0;
152 INITIALIZE_PASS_BEGIN(StackSlotColoring, "stack-slot-coloring",
158 INITIALIZE_PASS_END(StackSlotColoring, "stack-slot-coloring",
162 return new StackSlotColoring(RegColor);
177 void StackSlotColoring::ScanForSpillSlotRefs(MachineFunction &MF) {
208 void StackSlotColoring::InitializeSlots() {
241 StackSlotColoring::OverlapWithAssignments(LiveInterval *li, int Color) const {
254 StackSlotColoring::ColorSlotsWithFreeRegs(SmallVector<int, 16> &SlotMapping,
326 int StackSlotColoring::ColorSlot(LiveInterval *li) {
370 bool StackSlotColoring::ColorSlots(MachineFunction &MF) {
446 bool StackSlotColoring::AllMemRefsCanBeUnfolded(int SS) {
468 void StackSlotColoring::RewriteInstruction(MachineInstr *MI, int OldFI,
495 bool StackSlotColoring::PropagateBackward(MachineBasicBlock::iterator MII,
560 bool StackSlotColoring::PropagateForward(MachineBasicBlock::iterator MII,
610 StackSlotColoring::UnfoldAndRewriteInstruction(MachineInstr *MI, int OldFI,
671 bool StackSlotColoring::RemoveDeadStores(MachineBasicBlock* MBB) {
713 bool StackSlotColoring::runOnMachineFunction(MachineFunction &MF) {