Lines Matching refs:Spills
419 AvailableSpills &Spills,
438 AvailableSpills &Spills, in GetRegForReload() argument
446 return GetRegForReload(RC, PhysReg, MF, MI, Spills, MaybeDeadStores, in GetRegForReload()
868 MachineInstr *MI, AvailableSpills &Spills, in GetRegForReload() argument
875 const TargetRegisterInfo *TRI = Spills.getRegInfo(); in GetRegForReload()
892 return GetRegForReload(RC, NewReg, MF, MI, Spills, MaybeDeadStores, in GetRegForReload()
929 MF, MI, Spills, MaybeDeadStores, in GetRegForReload()
953 Spills.ClobberPhysReg(NewPhysReg); in GetRegForReload()
954 Spills.ClobberPhysReg(NewOp.PhysRegReused); in GetRegForReload()
960 Spills.addAvailable(NewOp.StackSlotOrReMat, NewPhysReg); in GetRegForReload()
1125 AvailableSpills &Spills,
1131 AvailableSpills &Spills,
1137 AvailableSpills &Spills,
1146 AvailableSpills &Spills,
1157 AvailableSpills &Spills,
1163 void ProcessUses(MachineInstr &MI, AvailableSpills &Spills,
1170 AvailableSpills &Spills, BitVector &RegKills,
1192 AvailableSpills Spills(TRI, TII); in runOnMachineFunction() local
1212 RewriteMBB(LIs, Spills, RegKills, KillOps); in runOnMachineFunction()
1227 Spills.AddAvailableRegsToLiveIn(*MBB, RegKills, KillOps); in runOnMachineFunction()
1228 RewriteMBB(LIs, Spills, RegKills, KillOps); in runOnMachineFunction()
1234 Spills.clear(); in runOnMachineFunction()
1278 AvailableSpills &Spills, in OptimizeByUnfold2() argument
1317 Spills.ClobberPhysReg(PhysReg); in OptimizeByUnfold2()
1319 Spills.addAvailable(SS, PhysReg); in OptimizeByUnfold2()
1379 AvailableSpills &Spills, in OptimizeByUnfold() argument
1405 unsigned PhysReg = Spills.getSpillSlotOrReMatPhysReg(FoldedSS); in OptimizeByUnfold()
1419 return OptimizeByUnfold2(UnfoldVR, FoldedSS, MII, MaybeDeadStores, Spills, in OptimizeByUnfold()
1437 unsigned PhysReg = Spills.getSpillSlotOrReMatPhysReg(SS); in OptimizeByUnfold()
1520 AvailableSpills &Spills, in CommuteToFoldReload() argument
1588 Spills.ClobberPhysReg(NewReg); in CommuteToFoldReload()
1604 AvailableSpills &Spills, in SpillRegToStackSlot() argument
1652 Spills.ModifyStackSlotOrReMat(StackSlot); in SpillRegToStackSlot()
1653 Spills.ClobberPhysReg(PhysReg); in SpillRegToStackSlot()
1654 Spills.addAvailable(StackSlot, PhysReg, isAvailable); in SpillRegToStackSlot()
1781 AvailableSpills &Spills, in InsertRestores() argument
1808 unsigned InReg = Spills.getSpillSlotOrReMatPhysReg(SSorRMId); in InsertRestores()
1850 Spills.ClobberPhysReg(Phys); in InsertRestores()
1852 Spills.addAvailable(SSorRMId, Phys); in InsertRestores()
1879 Spills.ClobberPhysReg(Phys); in InsertRestores()
1881 Spills.addAvailable(SSorRMId, Phys); in InsertRestores()
1919 void LocalRewriter::ProcessUses(MachineInstr &MI, AvailableSpills &Spills, in ProcessUses() argument
2010 unsigned PhysReg = Spills.getSpillSlotOrReMatPhysReg(SSorRMId); in ProcessUses()
2041 Spills.canClobberPhysReg(PhysReg); in ProcessUses()
2141 GetRegForReload(VirtReg, DesignatedReg, &MI, Spills, in ProcessUses()
2178 Spills.ClobberPhysReg(DesignatedReg); in ProcessUses()
2180 Spills.addAvailable(ReuseSlot, DesignatedReg); in ProcessUses()
2200 Spills, MaybeDeadStores, RegKills, KillOps, *VRM); in ProcessUses()
2223 Spills.ClobberPhysReg(PhysReg); in ProcessUses()
2228 Spills.addAvailable(SSorRMId, PhysReg); in ProcessUses()
2265 AvailableSpills &Spills, BitVector &RegKills, in RewriteMBB() argument
2298 if (OptimizeByUnfold(MII, MaybeDeadStores, Spills, RegKills, KillOps)) in RewriteMBB()
2304 InsertRestores(MII, Spills, RegKills, KillOps); in RewriteMBB()
2321 ProcessUses(MI, Spills, MaybeDeadStores, RegKills, ReusedOperands, KillOps); in RewriteMBB()
2359 if (unsigned InReg = Spills.getSpillSlotOrReMatPhysReg(SS)) { in RewriteMBB()
2377 Spills.disallowClobberPhysReg(InReg); in RewriteMBB()
2386 unsigned PhysReg = Spills.getSpillSlotOrReMatPhysReg(SS); in RewriteMBB()
2408 unsigned PhysReg = Spills.getSpillSlotOrReMatPhysReg(SS); in RewriteMBB()
2415 Spills.canClobberPhysReg(PhysReg) && in RewriteMBB()
2461 Spills.ModifyStackSlotOrReMat(SS); in RewriteMBB()
2474 Spills, RegKills, KillOps, TRI)) { in RewriteMBB()
2488 Spills.addAvailable(StackSlot, SrcReg, MI.killsRegister(SrcReg)); in RewriteMBB()
2522 Spills.disallowClobberPhysReg(VirtReg); in RewriteMBB()
2527 Spills.ClobberPhysReg(VirtReg); in RewriteMBB()
2539 Spills.addAvailable(FrameIdx, DestReg, !Folded); in RewriteMBB()
2573 Spills, MaybeDeadStores, RegKills, KillOps, *VRM); in RewriteMBB()
2579 Spills.ClobberSharingStackSlots(StackSlot); in RewriteMBB()
2591 LastStore, Spills, ReMatDefs, RegKills, KillOps); in RewriteMBB()