Lines Matching refs:LIS
162 void findVRegIntervalsToAlloc(const MachineFunction &MF, LiveIntervals &LIS);
169 MachineFunction &MF, LiveIntervals &LIS, VirtRegMap &VRM,
181 void finalizeAlloc(MachineFunction &MF, LiveIntervals &LIS,
184 void postOptimization(Spiller &VRegSpiller, LiveIntervals &LIS);
193 LiveIntervals &LIS = G.getMetadata().LIS; in apply() local
201 LIS.getInterval(G.getNodeMetadata(NId).getVReg()).weight(); in apply()
310 LiveIntervals &LIS = G.getMetadata().LIS; in apply() local
334 LiveInterval &LI = LIS.getInterval(VReg); in apply()
529 PBQPVirtRegAuxInfo(MachineFunction &MF, LiveIntervals &LIS, VirtRegMap &VRM, in PBQPVirtRegAuxInfo() argument
532 : VirtRegAuxInfo(MF, LIS, VRM, Loops, MBFI) {} in PBQPVirtRegAuxInfo()
568 LiveIntervals &LIS) { in findVRegIntervalsToAlloc() argument
594 LiveIntervals &LIS = G.getMetadata().LIS; in initializeGraph() local
607 LiveInterval &VRegLI = LIS.getInterval(VReg); in initializeGraph()
621 LIS.checkRegMaskInterference(VRegLI, RegMaskOverlaps); in initializeGraph()
638 if (VRegLI.overlaps(LIS.getRegUnit(*Units))) { in initializeGraph()
654 spillVReg(VReg, NewVRegs, MF, LIS, VRM, VRegSpiller); in initializeGraph()
666 if (LIS.getInterval(VReg).empty()) { in initializeGraph()
692 MachineFunction &MF, LiveIntervals &LIS, in spillVReg() argument
695 LiveRangeEdit LRE(&LIS.getInterval(VReg), NewIntervals, MF, LIS, &VRM, in spillVReg()
707 const LiveInterval &LI = LIS.getInterval(R); in spillVReg()
721 LiveIntervals &LIS = G.getMetadata().LIS; in mapPBQPToRegAlloc() local
747 spillVReg(VReg, NewVRegs, MF, LIS, VRM, VRegSpiller); in mapPBQPToRegAlloc()
756 LiveIntervals &LIS, in finalizeAlloc() argument
762 LiveInterval &LI = LIS.getInterval(R); in finalizeAlloc()
783 void RegAllocPBQP::postOptimization(Spiller &VRegSpiller, LiveIntervals &LIS) { in postOptimization() argument
787 LIS.RemoveMachineInstrFromMaps(*DeadInst); in postOptimization()
794 LiveIntervals &LIS = getAnalysis<LiveIntervals>(); in runOnMachineFunction() local
800 PBQPVirtRegAuxInfo VRAI(MF, LIS, VRM, getAnalysis<MachineLoopInfo>(), MBFI); in runOnMachineFunction()
807 VirtRegAuxInfo DefaultVRAI(MF, LIS, VRM, getAnalysis<MachineLoopInfo>(), in runOnMachineFunction()
826 findVRegIntervalsToAlloc(MF, LIS); in runOnMachineFunction()
852 PBQPRAGraph G(PBQPRAGraph::GraphMetadata(MF, LIS, MBFI)); in runOnMachineFunction()
877 finalizeAlloc(MF, LIS, VRM); in runOnMachineFunction()
878 postOptimization(*VRegSpiller, LIS); in runOnMachineFunction()