| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | LiveRangeEdit.cpp | 37 if (VRM) in createEmptyIntervalFrom() 38 VRM->setIsSplitFromReg(VReg, VRM->getOriginal(OldReg)); in createEmptyIntervalFrom() 57 if (VRM) { in createFrom() 58 VRM->setIsSplitFromReg(VReg, VRM->getOriginal(OldReg)); in createFrom() 86 unsigned Original = VRM->getOriginal(getReg()); in scanRemattable() 294 unsigned Original = VRM->getOriginal(Dest); in eliminateDeadDef() 436 unsigned Original = VRM ? VRM->getOriginal(VReg) : 0; in eliminateDeadDefs() 442 VRM->setIsSplitFromReg(SplitLI->reg, Original); in eliminateDeadDefs() 454 if (VRM) in MRI_NoteNewVirtualRegister() 455 VRM->grow(); in MRI_NoteNewVirtualRegister() [all …]
|
| H A D | RegAllocBasic.cpp | 147 if (VRM->hasPhys(VirtReg)) { in INITIALIZE_PASS_DEPENDENCY() 161 if (!VRM->hasPhys(VirtReg)) in LRE_WillShrinkVirtReg() 231 if (!VRM->hasPhys(Spill.reg)) in spillInterferences() 239 LiveRangeEdit LRE(&Spill, SplitVRegs, *MF, *LIS, VRM, this, &DeadRemats); in spillInterferences() 263 AllocationOrder Order(VirtReg.reg, *VRM, RegClassInfo, Matrix); in selectOrSplit() 298 LiveRangeEdit LRE(&VirtReg, SplitVRegs, *MF, *LIS, VRM, this, &DeadRemats); in selectOrSplit() 315 calculateSpillWeightsAndHints(*LIS, *MF, VRM, in runOnMachineFunction() 319 SpillerInstance.reset(createInlineSpiller(*this, *MF, *VRM)); in runOnMachineFunction() 325 LLVM_DEBUG(dbgs() << "Post alloc VirtRegMap:\n" << *VRM << "\n"); in runOnMachineFunction()
|
| H A D | AllocationOrder.cpp | 31 const VirtRegMap &VRM, in AllocationOrder() argument 35 const MachineFunction &MF = VRM.getMachineFunction(); in AllocationOrder() 36 const TargetRegisterInfo *TRI = &VRM.getTargetRegInfo(); in AllocationOrder() 38 if (TRI->getRegAllocationHints(VirtReg, Order, Hints, MF, &VRM, Matrix)) in AllocationOrder()
|
| H A D | RegAllocPBQP.cpp | 178 VirtRegMap &VRM, 184 VirtRegMap &VRM) const; 706 VirtRegMap &VRM, in mapPBQPToRegAlloc() argument 717 VRM.clearAllVirt(); in mapPBQPToRegAlloc() 730 VRM.assignVirt2Phys(VReg, PReg); in mapPBQPToRegAlloc() 745 VirtRegMap &VRM) const { in finalizeAlloc() 760 if (!VRM.getRegInfo().isReserved(CandidateReg)) { in finalizeAlloc() 769 VRM.assignVirt2Phys(LI.reg, PReg); in finalizeAlloc() 795 VirtRegMap &VRM = getAnalysis<VirtRegMap>(); in runOnMachineFunction() local 842 initializeGraph(G, VRM, *VRegSpiller); in runOnMachineFunction() [all …]
|
| H A D | CalcSpillWeights.cpp | 34 VirtRegMap *VRM, in calculateSpillWeightsAndHints() argument 42 VirtRegAuxInfo VRAI(MF, LIS, VRM, MLI, MBFI, norm); in calculateSpillWeightsAndHints() 87 VirtRegMap *VRM, in isRematerializable() argument 90 unsigned Original = VRM ? VRM->getOriginal(Reg) : 0; in isRematerializable() 105 if (VRM) { in isRematerializable() 117 VRM->getOriginal(Reg) != Original) in isRematerializable() 297 if (isRematerializable(li, LIS, VRM, *MF.getSubtarget().getInstrInfo())) in weightCalcHelper()
|
| H A D | RegAllocBase.cpp | 62 VRM = &vrm; in init() 90 assert(!VRM->hasPhys(VirtReg->reg) && "Register already assigned"); in allocatePhysRegs() 133 VRM->assignVirt2Phys(VirtReg->reg, in allocatePhysRegs() 145 assert(!VRM->hasPhys(SplitVirtReg->reg) && "Register already assigned"); in allocatePhysRegs()
|
| H A D | LiveRegMatrix.cpp | 58 VRM = &getAnalysis<VirtRegMap>(); in runOnMachineFunction() 107 assert(!VRM->hasPhys(VirtReg.reg) && "Duplicate VirtReg assignment"); in assign() 108 VRM->assignVirt2Phys(VirtReg.reg, PhysReg); in assign() 122 unsigned PhysReg = VRM->getPhys(VirtReg.reg); in unassign() 125 VRM->clearVirt(VirtReg.reg); in unassign()
|
| H A D | LiveDebugVariables.cpp | 325 void rewriteLocations(VirtRegMap &VRM, const MachineFunction &MF, 331 void emitDebugValues(VirtRegMap *VRM, LiveIntervals &LIS, 419 void emitDebugValues(VirtRegMap *VRM); 1091 if (VRM.isAssignedReg(VirtReg) && in rewriteLocations() 1096 Loc.substPhysReg(VRM.getPhys(VirtReg), TRI); in rewriteLocations() 1108 Loc = MachineOperand::CreateFI(VRM.getStackSlot(VirtReg)); in rewriteLocations() 1250 void UserValue::emitDebugValues(VirtRegMap *VRM, LiveIntervals &LIS, in emitDebugValues() argument 1254 MachineFunction::iterator MFEnd = VRM->getMachineFunction().end(); in emitDebugValues() 1298 void LDVImpl::emitDebugValues(VirtRegMap *VRM) { in emitDebugValues() argument 1312 void LiveDebugVariables::emitDebugValues(VirtRegMap *VRM) { in emitDebugValues() argument [all …]
|
| H A D | VirtRegMap.cpp | 184 VirtRegMap *VRM; member in __anonfc4ddbfa0111::VirtRegRewriter 244 VRM = &getAnalysis<VirtRegMap>(); in runOnMachineFunction() 247 LLVM_DEBUG(VRM->dump()); in runOnMachineFunction() 250 LIS->addKillFlags(VRM); in runOnMachineFunction() 259 getAnalysis<LiveDebugVariables>().emitDebugValues(VRM); in runOnMachineFunction() 263 VRM->clearAllVirt(); in runOnMachineFunction() 324 unsigned PhysReg = VRM->getPhys(VirtReg); in addMBBLiveIns() 520 unsigned PhysReg = VRM->getPhys(VirtReg); in rewrite()
|
| H A D | InlineSpiller.cpp | 89 VirtRegMap &VRM; member in __anon0312f1b30111::HoistSpillHelper 162 VirtRegMap &VRM; member in __anon0312f1b30111::InlineSpiller 346 VRM.getOriginal(Reg) == Original; in isSibling() 1032 StackSlot = VRM.assignVirt2StackSlot(Original); in spillAll() 1039 VRM.assignVirt2StackSlot(Edit->getReg(), StackSlot); in spillAll() 1081 Original = VRM.getOriginal(edit.getReg()); in spill() 1082 StackSlot = VRM.getStackSlot(Original); in spill() 1427 unsigned Original = VRM.getPreSplitReg(Reg); in hoistAllSpills() 1500 if (VRM.hasPhys(Old)) in LRE_DidCloneVirtReg() 1501 VRM.assignVirt2Phys(New, VRM.getPhys(Old)); in LRE_DidCloneVirtReg() [all …]
|
| H A D | RegAllocGreedy.cpp | 635 if (VRM->hasPhys(VirtReg)) { in LRE_CanEraseVirtReg() 649 if (!VRM->hasPhys(VirtReg)) in LRE_WillShrinkVirtReg() 736 if (VRM->hasKnownPreference(Reg)) in enqueue() 922 bool BreaksHint = VRM->hasPreferredPhys(Intf->reg); in canEvictInterference() 1065 if (!VRM->hasPhys(Intf->reg)) in evictInterference() 2651 assert(VRM->hasPhys(ItVirtReg) && in tryLastChanceRecoloring() 2703 if (VRM->hasPhys(ItVirtReg)) in tryLastChanceRecoloring() 2906 unsigned PhysReg = VRM->getPhys(Reg); in tryHintRecoloring() 2927 unsigned CurrPhys = VRM->getPhys(Reg); in tryHintRecoloring() 3012 if (!VRM->hasPhys(LI->reg)) in tryHintsRecoloring() [all …]
|
| H A D | SplitKit.cpp | 154 : MF(vrm.getMachineFunction()), VRM(vrm), LIS(lis), Loops(mli), in SplitAnalysis() 342 unsigned OrigReg = VRM.getOriginal(CurLI->reg); in isOriginalEndpoint() 370 : SA(sa), AA(aa), LIS(lis), VRM(vrm), in SplitEditor() 384 LRCalc[0].reset(&VRM.getMachineFunction(), LIS.getSlotIndexes(), &MDT, in reset() 387 LRCalc[1].reset(&VRM.getMachineFunction(), LIS.getSlotIndexes(), &MDT, in reset() 640 unsigned Original = VRM.getOriginal(Edit->get(RegIdx)); in defFromParent() 1293 SubLRC.reset(&VRM.getMachineFunction(), LIS.getSlotIndexes(), &MDT, in extendPHIKillRanges() 1389 SubLRC.reset(&VRM.getMachineFunction(), LIS.getSlotIndexes(), &MDT, in rewriteAssigned() 1537 unsigned Original = VRM.getOriginal(VReg); in finish() 1539 VRM.setIsSplitFromReg(SplitLI->reg, Original); in finish() [all …]
|
| H A D | LiveDebugVariables.h | 51 void emitDebugValues(VirtRegMap *VRM);
|
| H A D | AllocationOrder.h | 45 const VirtRegMap &VRM,
|
| H A D | TargetRegisterInfo.cpp | 396 const VirtRegMap *VRM, in getRegAllocationHints() argument 413 if (VRM && isVirtualRegister(Phys)) in getRegAllocationHints() 414 Phys = VRM->getPhys(Phys); in getRegAllocationHints()
|
| H A D | RegAllocBase.h | 67 VirtRegMap *VRM = nullptr; variable
|
| H A D | SplitKit.h | 99 const VirtRegMap &VRM; variable 262 VirtRegMap &VRM; variable
|
| /freebsd-12.1/contrib/llvm/lib/Target/SystemZ/ |
| H A D | SystemZRegisterInfo.cpp | 31 const VirtRegMap *VRM, in getRC32() argument 44 if (VRM && VRM->hasPhys(MO.getReg())) { in getRC32() 45 unsigned PhysReg = VRM->getPhys(MO.getReg()); in getRC32() 62 const VirtRegMap *VRM, in getRegAllocationHints() argument 68 VirtReg, Order, Hints, MF, VRM, Matrix); in getRegAllocationHints() 88 TRI->getCommonSubClass(getRC32(FalseMO, VRM, MRI), in getRegAllocationHints() 89 getRC32(TrueMO, VRM, MRI)); in getRegAllocationHints()
|
| H A D | SystemZRegisterInfo.h | 57 const VirtRegMap *VRM,
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | CalcSpillWeights.h | 54 VirtRegMap *VRM; variable 65 : MF(mf), LIS(lis), VRM(vrm), Loops(loops), MBFI(mbfi), normalize(norm) {} in MF() 100 VirtRegMap *VRM,
|
| H A D | VirtRegMap.h | 181 inline raw_ostream &operator<<(raw_ostream &OS, const VirtRegMap &VRM) { 182 VRM.print(OS);
|
| H A D | LiveRangeEdit.h | 75 VirtRegMap *VRM; variable 144 VRM(vrm), TII(*MF.getSubtarget().getInstrInfo()), TheDelegate(delegate), in Parent()
|
| H A D | LiveRegMatrix.h | 44 VirtRegMap *VRM; variable
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | ARMBaseRegisterInfo.cpp | 293 const VirtRegMap *VRM, in getRegAllocationHints() argument 307 TargetRegisterInfo::getRegAllocationHints(VirtReg, Order, Hints, MF, VRM); in getRegAllocationHints() 321 } else if (VRM && VRM->hasPhys(Paired)) { in getRegAllocationHints() 322 PairedPhys = getPairedGPR(VRM->getPhys(Paired), Odd, this); in getRegAllocationHints()
|
| H A D | ARMBaseRegisterInfo.h | 154 const VirtRegMap *VRM,
|