Lines Matching defs: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;
201 LIS.getInterval(G.getNodeMetadata(NId).getVReg()).weight();
310 LiveIntervals &LIS = G.getMetadata().LIS;
334 LiveInterval &LI = LIS.getInterval(VReg);
529 PBQPVirtRegAuxInfo(MachineFunction &MF, LiveIntervals &LIS, VirtRegMap &VRM,
532 : VirtRegAuxInfo(MF, LIS, VRM, Loops, MBFI) {}
568 LiveIntervals &LIS) {
594 LiveIntervals &LIS = G.getMetadata().LIS;
607 LiveInterval &VRegLI = LIS.getInterval(VReg);
621 LIS.checkRegMaskInterference(VRegLI, RegMaskOverlaps);
638 if (VRegLI.overlaps(LIS.getRegUnit(Unit))) {
654 spillVReg(VReg, NewVRegs, MF, LIS, VRM, VRegSpiller);
666 if (LIS.getInterval(VReg).empty()) {
692 MachineFunction &MF, LiveIntervals &LIS,
695 LiveRangeEdit LRE(&LIS.getInterval(VReg), NewIntervals, MF, LIS, &VRM,
707 const LiveInterval &LI = LIS.getInterval(R);
721 LiveIntervals &LIS = G.getMetadata().LIS;
747 spillVReg(VReg, NewVRegs, MF, LIS, VRM, VRegSpiller);
756 LiveIntervals &LIS,
762 LiveInterval &LI = LIS.getInterval(R);
783 void RegAllocPBQP::postOptimization(Spiller &VRegSpiller, LiveIntervals &LIS) {
787 LIS.RemoveMachineInstrFromMaps(*DeadInst);
794 LiveIntervals &LIS = getAnalysis<LiveIntervalsWrapperPass>().getLIS();
801 MF, LIS, VRM, getAnalysis<MachineLoopInfoWrapperPass>().getLI(), MBFI);
809 MF, LIS, VRM, getAnalysis<MachineLoopInfoWrapperPass>().getLI(), MBFI);
827 findVRegIntervalsToAlloc(MF, LIS);
853 PBQPRAGraph G(PBQPRAGraph::GraphMetadata(MF, LIS, MBFI));
878 finalizeAlloc(MF, LIS, VRM);
879 postOptimization(*VRegSpiller, LIS);