| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | CalcSpillWeights.h | 48 const VirtRegMap &VRM; variable 58 const VirtRegMap &VRM, const MachineLoopInfo &Loops, in VirtRegAuxInfo() argument 60 : MF(MF), LIS(LIS), VRM(VRM), Loops(Loops), MBFI(MBFI) {} in VirtRegAuxInfo() 80 const VirtRegMap &VRM,
|
| H A D | VirtRegMap.h | 204 inline raw_ostream &operator<<(raw_ostream &OS, const VirtRegMap &VRM) { 205 VRM.print(OS);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | GCNNSAReassign.cpp | 73 VirtRegMap *VRM; member in __anon8d12989f0111::GCNNSAReassign 114 if (VRM->hasPhys(Intervals[N]->reg())) in tryAssignRegisters() 183 if (Reg.isPhysical() || !VRM->isAssignedReg(Reg)) in CheckNSA() 186 Register PhysReg = VRM->getPhys(Reg); in CheckNSA() 209 if (VRM->getPreSplitReg(Reg)) in CheckNSA() 245 VRM = &getAnalysis<VirtRegMap>(); in runOnMachineFunction() 302 OrigRegs.push_back(VRM->getPhys(Reg)); in runOnMachineFunction() 321 << " " << llvm::printReg((VRM->getPhys(LI->reg())), TRI); in runOnMachineFunction() 327 if (VRM->hasPhys(Intervals.back()->reg())) // Did not change allocation. in runOnMachineFunction() 346 if (VRM->hasPhys(Intervals[I]->reg())) in runOnMachineFunction() [all …]
|
| H A D | SIPreAllocateWWMRegs.cpp | 44 VirtRegMap *VRM; member in __anon2734261d0111::SIPreAllocateWWMRegs 100 if (VRM->hasPhys(Reg)) in processDef() 129 if (!VRM->hasPhys(VirtReg)) in rewriteRegs() 132 Register PhysReg = VRM->getPhys(VirtReg); in rewriteRegs() 150 const Register PhysReg = VRM->getPhys(Reg); in rewriteRegs() 202 VRM = &getAnalysis<VirtRegMap>(); in runOnMachineFunction()
|
| H A D | SILowerWWMCopies.cpp | 56 VirtRegMap *VRM; member in __anon35b435ec0111::SILowerWWMCopies 93 Register PhysReg = VRM->getPhys(Reg); in addToWWMSpills() 107 VRM = getAnalysisIfAvailable<VirtRegMap>(); in runOnMachineFunction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | RegAllocBasic.cpp | 148 if (VRM->hasPhys(VirtReg)) { in INITIALIZE_PASS_DEPENDENCY() 162 if (!VRM->hasPhys(VirtReg)) in LRE_WillShrinkVirtReg() 233 if (!VRM->hasPhys(Spill.reg())) in spillInterferences() 241 LiveRangeEdit LRE(&Spill, SplitVRegs, *MF, *LIS, VRM, this, &DeadRemats); in spillInterferences() 266 AllocationOrder::create(VirtReg.reg(), *VRM, RegClassInfo, Matrix); in selectOrSplit() 301 LiveRangeEdit LRE(&VirtReg, SplitVRegs, *MF, *LIS, VRM, this, &DeadRemats); in selectOrSplit() 317 VirtRegAuxInfo VRAI(*MF, *LIS, *VRM, getAnalysis<MachineLoopInfo>(), in runOnMachineFunction() 321 SpillerInstance.reset(createInlineSpiller(*this, *MF, *VRM, VRAI)); in runOnMachineFunction() 327 LLVM_DEBUG(dbgs() << "Post alloc VirtRegMap:\n" << *VRM << "\n"); in runOnMachineFunction()
|
| H A D | RegAllocPBQP.cpp | 176 VirtRegMap &VRM, 182 VirtRegMap &VRM) const; 532 : VirtRegAuxInfo(MF, LIS, VRM, Loops, MBFI) {} in PBQPVirtRegAuxInfo() 718 VirtRegMap &VRM, in mapPBQPToRegAlloc() argument 729 VRM.clearAllVirt(); in mapPBQPToRegAlloc() 742 VRM.assignVirt2Phys(VReg, PReg); in mapPBQPToRegAlloc() 779 VRM.assignVirt2Phys(LI.reg(), PReg); in finalizeAlloc() 798 VirtRegMap &VRM = getAnalysis<VirtRegMap>(); in runOnMachineFunction() local 810 createInlineSpiller(*this, MF, VRM, DefaultVRAI)); in runOnMachineFunction() 853 initializeGraph(G, VRM, *VRegSpiller); in runOnMachineFunction() [all …]
|
| H A D | AllocationOrder.cpp | 29 AllocationOrder AllocationOrder::create(unsigned VirtReg, const VirtRegMap &VRM, in create() argument 32 const MachineFunction &MF = VRM.getMachineFunction(); in create() 33 const TargetRegisterInfo *TRI = &VRM.getTargetRegInfo(); in create() 37 TRI->getRegAllocationHints(VirtReg, Order, Hints, MF, &VRM, Matrix); in create()
|
| 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() 85 Register Original = VRM->getOriginal(getReg()); in scanRemattable() 319 if (VRM && MI->getOperand(0).isReg() && MI->getOperand(0).isDef() && in eliminateDeadDef() 323 Register Original = VRM->getOriginal(Dest); in eliminateDeadDef() 473 Register Original = VRM ? VRM->getOriginal(VReg) : Register(); in eliminateDeadDefs() 479 VRM->setIsSplitFromReg(SplitLI->reg(), Original); in eliminateDeadDefs() 490 if (VRM) in MRI_NoteNewVirtualRegister() [all …]
|
| H A D | RegAllocBase.cpp | 61 VRM = &vrm; in init() 89 assert(!VRM->hasPhys(VirtReg->reg()) && "Register already assigned"); in allocatePhysRegs() 142 VRM->assignVirt2Phys(VirtReg->reg(), AllocOrder.front()); in allocatePhysRegs() 150 assert(!VRM->hasPhys(SplitVirtReg->reg()) && "Register already assigned"); in allocatePhysRegs() 181 if (VRM->hasPhys(Reg)) in enqueue()
|
| H A D | MIRVRegNamerUtils.cpp | 25 bool VRegRenamer::doVRegRenaming(const VRegRenameMap &VRM) { in doVRegRenaming() argument 28 for (const auto &E : VRM) { in doVRegRenaming() 48 VRegRenameMap VRM; in getVRegRenameMap() local 51 VRM[Reg] = createVirtualRegisterWithLowerName(Reg, GetUniqueVRegName(VReg)); in getVRegRenameMap() 53 return VRM; in getVRegRenameMap()
|
| H A D | InlineSpiller.cpp | 87 VirtRegMap &VRM; member in __anon26f1b4e40111::HoistSpillHelper 156 VirtRegMap &VRM; member in __anon26f1b4e40111::InlineSpiller 195 MDT(Pass.getAnalysis<MachineDominatorTree>()), VRM(VRM), in InlineSpiller() 199 HSpiller(Pass, MF, VRM), VRAI(VRAI) {} in InlineSpiller() 1289 Original = VRM.getOriginal(edit.getReg()); in spill() 1290 StackSlot = VRM.getStackSlot(Original); in spill() 1707 if (VRM.hasPhys(Old)) in LRE_DidCloneVirtReg() 1708 VRM.assignVirt2Phys(New, VRM.getPhys(Old)); in LRE_DidCloneVirtReg() 1710 VRM.assignVirt2StackSlot(New, VRM.getStackSlot(Old)); in LRE_DidCloneVirtReg() 1713 if (VRM.hasShape(Old)) in LRE_DidCloneVirtReg() [all …]
|
| 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 Register PhysReg = VRM->getPhys(VirtReg.reg()); in unassign() 125 VRM->clearVirt(VirtReg.reg()); in unassign()
|
| H A D | CalcSpillWeights.cpp | 84 const VirtRegMap &VRM, in isRematerializable() argument 87 Register Original = VRM.getOriginal(Reg); in isRematerializable() 112 if (!Reg.isVirtual() || VRM.getOriginal(Reg) != Original) in isRematerializable() 133 return any_of(VRM.getRegInfo().reg_operands(LI.reg()), in isLiveAtStatepointVarArg() 175 Register Original = VRM.getOriginal(Reg); in weightCalcHelper() 338 if (isRematerializable(LI, LIS, VRM, *MF.getSubtarget().getInstrInfo())) in weightCalcHelper()
|
| H A D | RegAllocGreedy.cpp | 238 if (VRM->hasPhys(VirtReg)) { in LRE_CanEraseVirtReg() 252 if (!VRM->hasPhys(VirtReg)) in LRE_WillShrinkVirtReg() 377 if (VRM->hasKnownPreference(Reg)) in getPriority() 509 if (!VRM->hasPhys(Intf->reg())) in evictInterference() 2022 assert(VRM->hasPhys(ItVirtReg) && in tryLastChanceRecoloring() 2080 if (VRM->hasPhys(LI->reg())) in tryLastChanceRecoloring() 2293 MCRegister PhysReg = VRM->getPhys(Reg); in tryHintRecoloring() 2310 if (!VRM->hasPhys(Reg)) { in tryHintRecoloring() 2404 if (!VRM->hasPhys(LI->reg())) in tryHintsRecoloring() 2573 SrcReg = VRM->getPhys(SrcReg); in computeStats() [all …]
|
| H A D | VirtRegMap.cpp | 190 VirtRegMap *VRM = nullptr; member in __anonb2eb04cb0111::VirtRegRewriter 263 VRM = &getAnalysis<VirtRegMap>(); in runOnMachineFunction() 267 LLVM_DEBUG(VRM->dump()); in runOnMachineFunction() 270 LIS->addKillFlags(VRM); in runOnMachineFunction() 283 DebugVars->emitDebugValues(VRM); in runOnMachineFunction() 287 VRM->clearAllVirt(); in runOnMachineFunction() 350 Register PhysReg = VRM->getPhys(VirtReg); in addMBBLiveIns() 553 MCRegister PhysReg = VRM->getPhys(VirtReg); in rewrite()
|
| H A D | LiveDebugVariables.cpp | 486 void emitDebugValues(VirtRegMap *VRM, LiveIntervals &LIS, 669 void emitDebugValues(VirtRegMap *VRM); 1532 if (VRM.isAssignedReg(VirtReg) && in rewriteLocations() 1537 Loc.substPhysReg(VRM.getPhys(VirtReg), TRI); in rewriteLocations() 1810 void LDVImpl::emitDebugValues(VirtRegMap *VRM) { in emitDebugValues() argument 1842 if (VRM->isAssignedReg(Reg) && in emitDebugValues() 1843 Register::isPhysicalRegister(VRM->getPhys(Reg))) { in emitDebugValues() 1844 unsigned PhysReg = VRM->getPhys(Reg); in emitDebugValues() 1870 Builder.addFrameIndex(VRM->getStackSlot(Reg)); in emitDebugValues() 1961 void LiveDebugVariables::emitDebugValues(VirtRegMap *VRM) { in emitDebugValues() argument [all …]
|
| H A D | RegAllocPriorityAdvisor.cpp | 107 : RA(RA), LIS(RA.getLiveIntervals()), VRM(RA.getVirtRegMap()), in RegAllocPriorityAdvisor() 108 MRI(&VRM->getRegInfo()), TRI(MF.getSubtarget().getRegisterInfo()), in RegAllocPriorityAdvisor()
|
| H A D | RegAllocEvictionAdvisor.cpp | 128 LIS(RA.getLiveIntervals()), VRM(RA.getVirtRegMap()), in RegAllocEvictionAdvisor() 129 MRI(&VRM->getRegInfo()), TRI(MF.getSubtarget().getRegisterInfo()), in RegAllocEvictionAdvisor() 250 bool BreaksHint = VRM->hasPreferredPhys(Intf->reg()); in canEvictInterferenceBasedOnCost()
|
| H A D | SplitKit.cpp | 157 : MF(vrm.getMachineFunction()), VRM(vrm), LIS(lis), Loops(mli), in SplitAnalysis() 336 Register OrigReg = VRM.getOriginal(CurLI->reg()); in isOriginalEndpoint() 363 : SA(SA), LIS(LIS), VRM(VRM), MRI(VRM.getMachineFunction().getRegInfo()), in SplitEditor() 365 TRI(*VRM.getMachineFunction().getSubtarget().getRegisterInfo()), in SplitEditor() 376 LICalc[0].reset(&VRM.getMachineFunction(), LIS.getSlotIndexes(), &MDT, in reset() 379 LICalc[1].reset(&VRM.getMachineFunction(), LIS.getSlotIndexes(), &MDT, in reset() 604 Register Original = VRM.getOriginal(Edit->get(RegIdx)); in defFromParent() 1308 SubLIC.reset(&VRM.getMachineFunction(), LIS.getSlotIndexes(), &MDT, in extendPHIKillRanges() 1570 Register Original = VRM.getOriginal(VReg); in finish() 1572 VRM.setIsSplitFromReg(SplitLI->reg(), Original); in finish() [all …]
|
| H A D | SplitKit.h | 99 const VirtRegMap &VRM; variable 266 VirtRegMap &VRM; variable 446 SplitEditor(SplitAnalysis &SA, LiveIntervals &LIS, VirtRegMap &VRM,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TileConfig.cpp | 85 VirtRegMap &VRM = getAnalysis<VirtRegMap>(); in INITIALIZE_PASS_DEPENDENCY() local 87 if (VRM.isShapeMapEmpty()) in INITIALIZE_PASS_DEPENDENCY() 126 if (VRM.getPhys(VirtReg) == VirtRegMap::NO_PHYS_REG) in INITIALIZE_PASS_DEPENDENCY() 128 unsigned Index = VRM.getPhys(VirtReg) - X86::TMM0; in INITIALIZE_PASS_DEPENDENCY() 140 ShapeT Shape = VRM.getShape(Phys2Virt[I]); in INITIALIZE_PASS_DEPENDENCY()
|
| H A D | X86RegisterInfo.cpp | 1030 static ShapeT getTileShape(Register VirtReg, VirtRegMap *VRM, in getTileShape() argument 1032 if (VRM->hasShape(VirtReg)) in getTileShape() 1033 return VRM->getShape(VirtReg); in getTileShape() 1044 ShapeT Shape = getTileShape(SrcReg, VRM, MRI); in getTileShape() 1045 VRM->assignVirt2Shape(VirtReg, Shape); in getTileShape() 1063 VRM->assignVirt2Shape(VirtReg, Shape); in getTileShape() 1072 const VirtRegMap *VRM, in getRegAllocationHints() argument 1077 VirtReg, Order, Hints, MF, VRM, Matrix); in getRegAllocationHints() 1083 ShapeT VirtShape = getTileShape(VirtReg, const_cast<VirtRegMap *>(VRM), MRI); in getRegAllocationHints() 1090 ShapeT PhysShape = getTileShape(VReg, const_cast<VirtRegMap *>(VRM), MRI); in getRegAllocationHints()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZRegisterInfo.cpp | 28 const VirtRegMap *VRM, in getRC32() argument 41 if (VRM && VRM->hasPhys(MO.getReg())) { in getRC32() 42 Register PhysReg = VRM->getPhys(MO.getReg()); in getRC32() 77 const VirtRegMap *VRM, const LiveRegMatrix *Matrix) const { in getRegAllocationHints() argument 83 VirtReg, Order, Hints, MF, VRM, Matrix); in getRegAllocationHints() 85 if (VRM != nullptr) { in getRegAllocationHints() 111 Reg.isPhysical() ? Reg : Register(VRM->getPhys(Reg)); in getRegAllocationHints() 150 TRI->getCommonSubClass(getRC32(FalseMO, VRM, MRI), in getRegAllocationHints() 151 getRC32(TrueMO, VRM, MRI)); in getRegAllocationHints() 154 getRC32(Use.getOperand(0), VRM, MRI)); in getRegAllocationHints()
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/regulator/ |
| H A D | qcom,rpmh-regulator.txt | 4 Regulator Manager (VRM) and Oscillator Buffer (XOB) RPMh accelerators. The APPS 6 Coordinator (RSC) using command packets. The VRM allows changing three 122 specified for VRM regulators using mode values from 124 may be specified for BOB type regulators managed via VRM. 126 VRM.
|