• Home
  • Raw
  • Download

Lines Matching refs:vrm

153                                          VirtRegMap &vrm, unsigned reg) {  in conflictsWithPhysReg()  argument
205 if (!vrm.hasPhys(PhysReg)) in conflictsWithPhysReg()
207 PhysReg = vrm.getPhys(PhysReg); in conflictsWithPhysReg()
1082 VirtRegMap &vrm, MachineInstr *DefMI, in tryFoldMemoryOperand() argument
1089 vrm.RemoveMachineInstrFromMaps(MI); in tryFoldMemoryOperand()
1111 if (isSS) vrm.addSpillSlotUse(Slot, fmi); in tryFoldMemoryOperand()
1116 vrm.virtFolded(Reg, MI, fmi, (VirtRegMap::ModRef)MRInfo); in tryFoldMemoryOperand()
1117 vrm.transferSpillPts(MI, fmi); in tryFoldMemoryOperand()
1118 vrm.transferRestorePts(MI, fmi); in tryFoldMemoryOperand()
1119 vrm.transferEmergencySpills(MI, fmi); in tryFoldMemoryOperand()
1171 VirtRegMap &vrm) { in rewriteImplicitOps() argument
1182 if (!vrm.isReMaterialized(Reg)) in rewriteImplicitOps()
1184 MachineInstr *ReMatMI = vrm.getReMaterializedMI(Reg); in rewriteImplicitOps()
1200 VirtRegMap &vrm, in rewriteInstructionForSpills() argument
1229 vrm.RemoveMachineInstrFromMaps(MI); in rewriteInstructionForSpills()
1265 vrm.grow(); in rewriteInstructionForSpills()
1281 if (tryFoldMemoryOperand(MI, vrm, ReMatDefMI, index, in rewriteInstructionForSpills()
1289 vrm.assignVirt2StackSlot(NewVReg, FoldSlot); in rewriteInstructionForSpills()
1307 rewriteImplicitOps(li, MI, NewVReg, vrm); in rewriteInstructionForSpills()
1315 rewriteImplicitOps(li, MI, NewVReg, vrm); in rewriteInstructionForSpills()
1322 vrm.setVirtIsReMaterialized(NewVReg, ReMatDefMI); in rewriteInstructionForSpills()
1325 ReMatIds[VNI->id] = vrm.assignVirtReMatId(NewVReg); in rewriteInstructionForSpills()
1327 vrm.assignVirtReMatId(NewVReg, ReMatIds[VNI->id]); in rewriteInstructionForSpills()
1333 vrm.assignVirt2StackSlot(NewVReg, Slot); in rewriteInstructionForSpills()
1336 vrm.assignVirt2StackSlot(NewVReg, Slot); in rewriteInstructionForSpills()
1339 vrm.getStackSlot(NewVReg) == VirtRegMap::NO_STACK_SLOT) { in rewriteInstructionForSpills()
1343 vrm.assignVirt2StackSlot(NewVReg, Slot); in rewriteInstructionForSpills()
1357 vrm.setIsSplitFromReg(NewVReg, li.reg); in rewriteInstructionForSpills()
1423 VirtRegMap &vrm, in rewriteInstructionsForSpills() argument
1465 vrm.RemoveMachineInstrFromMaps(MI); in rewriteInstructionsForSpills()
1550 CanDelete, vrm, rc, ReMatIds, loopInfo, NewVReg, in rewriteInstructionsForSpills()
1676 LiveIntervals::handleSpilledImpDefs(const LiveInterval &li, VirtRegMap &vrm, in handleSpilledImpDefs() argument
1694 vrm.RemoveMachineInstrFromMaps(MI); in handleSpilledImpDefs()
1701 vrm.grow(); in handleSpilledImpDefs()
1702 vrm.setIsImplicitlyDefined(NewVReg); in handleSpilledImpDefs()
1742 const MachineLoopInfo *loopInfo, VirtRegMap &vrm) { in addIntervalsForSpills() argument
1772 if (vrm.getPreSplitReg(li.reg)) { in addIntervalsForSpills()
1773 vrm.setIsSplitFromReg(li.reg, 0); in addIntervalsForSpills()
1775 SlotIndex KillIdx = vrm.getKillPoint(li.reg); in addIntervalsForSpills()
1783 vrm.removeKillPoint(li.reg); in addIntervalsForSpills()
1784 bool DefIsReMat = vrm.isReMaterialized(li.reg); in addIntervalsForSpills()
1785 Slot = vrm.getStackSlot(li.reg); in addIntervalsForSpills()
1788 vrm.getReMaterializedMI(li.reg) : NULL; in addIntervalsForSpills()
1803 false, vrm, rc, ReMatIds, loopInfo, in addIntervalsForSpills()
1809 false, vrm, rc, ReMatIds, loopInfo, in addIntervalsForSpills()
1816 handleSpilledImpDefs(li, vrm, rc, NewLIs); in addIntervalsForSpills()
1861 if (NeedStackSlot && vrm.getPreSplitReg(li.reg) == 0) { in addIntervalsForSpills()
1862 if (vrm.getStackSlot(li.reg) == VirtRegMap::NO_STACK_SLOT) in addIntervalsForSpills()
1863 Slot = vrm.assignVirt2StackSlot(li.reg); in addIntervalsForSpills()
1868 Slot = vrm.getStackSlot(li.reg); in addIntervalsForSpills()
1884 CanDelete, vrm, rc, ReMatIds, loopInfo, in addIntervalsForSpills()
1891 handleSpilledImpDefs(li, vrm, rc, NewLIs); in addIntervalsForSpills()
1906 bool isReMat = vrm.isReMaterialized(VReg); in addIntervalsForSpills()
1936 if (tryFoldMemoryOperand(MI, vrm, NULL, index, Ops, true, Slot,VReg)){ in addIntervalsForSpills()
1953 vrm.addSpillPoint(VReg, isKill, MI); in addIntervalsForSpills()
1971 bool isReMat = vrm.isReMaterialized(VReg); in addIntervalsForSpills()
1996 Folded = tryFoldMemoryOperand(MI, vrm, NULL,index,Ops,true,Slot,VReg); in addIntervalsForSpills()
1998 MachineInstr *ReMatDefMI = vrm.getReMaterializedMI(VReg); in addIntervalsForSpills()
2003 Folded = tryFoldMemoryOperand(MI, vrm, ReMatDefMI, index, in addIntervalsForSpills()
2023 vrm.addRestorePoint(VReg, MI); in addIntervalsForSpills()
2042 vrm.addKillPoint(LI->reg, LastUseIdx); in addIntervalsForSpills()
2049 handleSpilledImpDefs(li, vrm, rc, RetNewLIs); in addIntervalsForSpills()
2101 unsigned PhysReg, VirtRegMap &vrm) { in spillPhysRegAroundRegDefsUses() argument
2164 vrm.addEmergencySpill(SpillReg, MI); in spillPhysRegAroundRegDefsUses()