| /freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | RegAllocBase.cpp | 58 void RegAllocBase::init(VirtRegMap &vrm, LiveIntervals &lis, in init() 60 TRI = &vrm.getTargetRegInfo(); in init() 61 MRI = &vrm.getRegInfo(); in init() 62 VRM = &vrm; in init() 66 RegClassInfo.runOnMachineFunction(vrm.getMachineFunction()); in init() 90 assert(!VRM->hasPhys(VirtReg->reg()) && "Register already assigned"); in allocatePhysRegs() 140 VRM->assignVirt2Phys(VirtReg->reg(), AllocOrder.front()); in allocatePhysRegs() 148 assert(!VRM->hasPhys(SplitVirtReg->reg()) && "Register already assigned"); in allocatePhysRegs() 179 if (VRM in enqueue() 57 init(VirtRegMap & vrm,LiveIntervals & lis,LiveRegMatrix & mat) init() argument [all...] |
| H A D | RegAllocPBQP.cpp | 165 void initializeGraph(PBQPRAGraph &G, VirtRegMap &VRM, Spiller &VRegSpiller); 169 MachineFunction &MF, LiveIntervals &LIS, VirtRegMap &VRM, 176 VirtRegMap &VRM, 182 VirtRegMap &VRM) const; 529 PBQPVirtRegAuxInfo(MachineFunction &MF, LiveIntervals &LIS, VirtRegMap &VRM, in PBQPVirtRegAuxInfo() argument 532 : VirtRegAuxInfo(MF, LIS, VRM, Loops, MBFI) {} in PBQPVirtRegAuxInfo() 590 void RegAllocPBQP::initializeGraph(PBQPRAGraph &G, VirtRegMap &VRM, in initializeGraph() argument 654 spillVReg(VReg, NewVRegs, MF, LIS, VRM, VRegSpiller); in initializeGraph() 693 VirtRegMap &VRM, Spiller &VRegSpiller) { in spillVReg() argument 695 LiveRangeEdit LRE(&LIS.getInterval(VReg), NewIntervals, MF, LIS, &VRM, in spillVReg() 718 mapPBQPToRegAlloc(const PBQPRAGraph & G,const PBQP::Solution & Solution,VirtRegMap & VRM,Spiller & VRegSpiller) mapPBQPToRegAlloc() argument 798 VirtRegMap &VRM = getAnalysis<VirtRegMap>(); runOnMachineFunction() local [all...] |
| 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 in eliminateDeadDefs() [all...] |
| H A D | RegAllocBasic.cpp | 148 if (VRM->hasPhys(VirtReg)) { in INITIALIZE_PASS_DEPENDENCY() 162 if (!VRM->hasPhys(VirtReg)) in LRE_WillShrinkVirtReg() 229 if (!VRM->hasPhys(Spill->reg())) in spillInterferences() 237 LiveRangeEdit LRE(Spill, SplitVRegs, *MF, *LIS, VRM, this, &DeadRemats); in spillInterferences() 262 AllocationOrder::create(VirtReg.reg(), *VRM, RegClassInfo, Matrix); in selectOrSplit() 297 LiveRangeEdit LRE(&VirtReg, SplitVRegs, *MF, *LIS, VRM, this, &DeadRemats); in selectOrSplit() 314 *MF, *LIS, *VRM, getAnalysis<MachineLoopInfoWrapperPass>().getLI(), in runOnMachineFunction() 318 SpillerInstance.reset(createInlineSpiller(*this, *MF, *VRM, VRAI)); in runOnMachineFunction() 324 LLVM_DEBUG(dbgs() << "Post alloc VirtRegMap:\n" << *VRM << "\n"); in runOnMachineFunction()
|
| 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 | 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 | 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 | InlineSpiller.cpp | 85 VirtRegMap &VRM; 133 VirtRegMap &vrm) 137 VRM(vrm), MRI(mf.getRegInfo()), TII(*mf.getSubtarget().getInstrInfo()), in HoistSpillHelper() 155 VirtRegMap &VRM; 190 InlineSpiller(MachineFunctionPass &Pass, MachineFunction &MF, VirtRegMap &VRM, 195 VRM(VRM), MRI(MF.getRegInfo()), TII(*MF.getSubtarget().getInstrInfo()), in InlineSpiller() 199 HSpiller(Pass, MF, VRM), VRAI(VRAI) {} in InlineSpiller() 236 MachineFunction &MF, VirtRegMap &VRM, in createInlineSpiller() argument 87 VirtRegMap &VRM; global() member in __anon9231fd800111::HoistSpillHelper 135 HoistSpillHelper(MachineFunctionPass & pass,MachineFunction & mf,VirtRegMap & vrm) HoistSpillHelper() argument 156 VirtRegMap &VRM; global() member in __anon9231fd800111::InlineSpiller 191 InlineSpiller(MachineFunctionPass & Pass,MachineFunction & MF,VirtRegMap & VRM,VirtRegAuxInfo & VRAI) InlineSpiller() argument [all...] |
| H A D | CalcSpillWeights.cpp | 84 const VirtRegMap &VRM, in isRematerializable() 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() 339 if (isRematerializable(LI, LIS, VRM, *MF.getSubtarget().getInstrInfo())) in weightCalcHelper() 83 isRematerializable(const LiveInterval & LI,const LiveIntervals & LIS,const VirtRegMap & VRM,const TargetInstrInfo & TII) isRematerializable() argument
|
| H A D | LiveDebugVariables.h | |
| H A D | RegAllocGreedy.cpp | 236 if (VRM->hasPhys(VirtReg)) { in LRE_CanEraseVirtReg() 250 if (!VRM->hasPhys(VirtReg)) 375 if (VRM->hasKnownPreference(Reg)) in getPriority() 464 AllocationOrder::create(VirtReg.reg(), *VRM, RegClassInfo, Matrix)) { in canReassign() 507 if (!VRM->hasPhys(Intf->reg())) in evictInterference() 1194 LiveRangeEdit LREdit(&VirtReg, NewVRegs, *MF, *LIS, VRM, this, &DeadRemats); in doRegionSplit() 1264 OtherReg.isPhysical() ? OtherReg.asMCReg() : VRM->getPhys(OtherReg); in trySplitAroundHintReg() 1299 LiveRangeEdit LREdit(&VirtReg, NewVRegs, *MF, *LIS, VRM, this, &DeadRemats); in tryBlockSplit() 1429 LiveRangeEdit LREdit(&VirtReg, NewVRegs, *MF, *LIS, VRM, this, &DeadRemats); in tryInstructionSplit() 1760 LiveRangeEdit LREdit(&VirtReg, NewVRegs, *MF, *LIS, VRM, thi in tryLocalSplit() 1852 assignedRegPartiallyOverlaps(const TargetRegisterInfo & TRI,const VirtRegMap & VRM,MCRegister PhysReg,const LiveInterval & Intf) assignedRegPartiallyOverlaps() argument [all...] |
| H A D | LiveDebugVariables.cpp | 480 void rewriteLocations(VirtRegMap &VRM, const MachineFunction &MF, 486 void emitDebugValues(VirtRegMap *VRM, LiveIntervals &LIS, 669 void emitDebugValues(VirtRegMap *VRM); 1511 void UserValue::rewriteLocations(VirtRegMap &VRM, const MachineFunction &MF, in rewriteLocations() argument 1532 if (VRM.isAssignedReg(VirtReg) && in rewriteLocations() 1533 Register::isPhysicalRegister(VRM.getPhys(VirtReg))) { in rewriteLocations() 1537 Loc.substPhysReg(VRM.getPhys(VirtReg), TRI); in rewriteLocations() 1538 } else if (VRM.getStackSlot(VirtReg) != VirtRegMap::NO_STACK_SLOT) { in rewriteLocations() 1549 Loc = MachineOperand::CreateFI(VRM.getStackSlot(VirtReg)); in rewriteLocations() 1743 void UserValue::emitDebugValues(VirtRegMap *VRM, LiveInterval argument 1810 emitDebugValues(VirtRegMap * VRM) emitDebugValues() argument 1961 emitDebugValues(VirtRegMap * VRM) emitDebugValues() argument [all...] |
| H A D | VirtRegMap.cpp | 190 VirtRegMap *VRM = nullptr; member in __anonfc12b2e70111::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 | SplitKit.cpp | 155 SplitAnalysis::SplitAnalysis(const VirtRegMap &vrm, const LiveIntervals &lis, in SplitAnalysis() argument 157 : MF(vrm.getMachineFunction()), VRM(vrm), LIS(lis), Loops(mli), in SplitAnalysis() 335 Register OrigReg = VRM.getOriginal(CurLI->reg()); in isOriginalEndpoint() 359 SplitEditor::SplitEditor(SplitAnalysis &SA, LiveIntervals &LIS, VirtRegMap &VRM, 362 : SA(SA), LIS(LIS), VRM(VRM), MRI(VRM.getMachineFunction().getRegInfo()), in SplitEditor() 363 MDT(MDT), TII(*VRM in SplitEditor() 360 SplitEditor(SplitAnalysis & SA,LiveIntervals & LIS,VirtRegMap & VRM,MachineDominatorTree & MDT,MachineBlockFrequencyInfo & MBFI,VirtRegAuxInfo & VRAI) SplitEditor() 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()
|
| /freebsd-src/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | GCNNSAReassign.cpp | 73 VirtRegMap *VRM; member in __anon4c4f99bb0111::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 in runOnMachineFunction() [all...] |
| H A D | SIPreAllocateWWMRegs.cpp | 44 VirtRegMap *VRM; member in __anon05cc8c390111::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() 198 VRM = &getAnalysis<VirtRegMap>(); in runOnMachineFunction()
|
| H A D | SILowerWWMCopies.cpp | 56 VirtRegMap *VRM; member in __anonb835ee080111::SILowerWWMCopies 93 Register PhysReg = VRM->getPhys(Reg); in addToWWMSpills() 109 VRM = getAnalysisIfAvailable<VirtRegMap>(); in runOnMachineFunction()
|
| /freebsd-src/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 | LiveRangeEdit.h | 71 VirtRegMap *VRM; variable 123 /// @param vrm Map of virtual registers to physical registers for this 129 MachineFunction &MF, LiveIntervals &lis, VirtRegMap *vrm, 133 VRM(vrm), TII(*MF.getSubtarget().getInstrInfo()), TheDelegate(delegate), in Parent()
|
| /freebsd-src/sys/contrib/device-tree/src/arm/aspeed/ |
| H A D | aspeed-bmc-opp-zaius.dts | 347 vrm@64 { 352 vrm@40 { 357 vrm@60 { 362 vrm@43 { 367 vrm@41 { 406 vrm@64 { 411 vrm@40 { 416 vrm@41 { 421 vrm@42 { 426 vrm [all...] |
| /freebsd-src/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-src/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.
|
| /freebsd-src/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TileConfig.cpp | 90 VirtRegMap &VRM = getAnalysis<VirtRegMap>(); in INITIALIZE_PASS_DEPENDENCY() 92 if (VRM.isShapeMapEmpty()) in INITIALIZE_PASS_DEPENDENCY() 131 if (VRM.getPhys(VirtReg) == VirtRegMap::NO_PHYS_REG) in INITIALIZE_PASS_DEPENDENCY() 133 unsigned Index = VRM.getPhys(VirtReg) - X86::TMM0; in INITIALIZE_PASS_DEPENDENCY() 145 ShapeT Shape = VRM.getShape(Phys2Virt[I]); in INITIALIZE_PASS_DEPENDENCY() 85 VirtRegMap &VRM = getAnalysis<VirtRegMap>(); INITIALIZE_PASS_DEPENDENCY() local
|
| H A D | X86RegisterInfo.cpp | 1035 static ShapeT getTileShape(Register VirtReg, VirtRegMap *VRM, in getTileShape() 1037 if (VRM->hasShape(VirtReg)) in getTileShape() 1038 return VRM->getShape(VirtReg); in getTileShape() 1049 ShapeT Shape = getTileShape(SrcReg, VRM, MRI); in getTileShape() 1050 VRM->assignVirt2Shape(VirtReg, Shape); in getTileShape() 1068 VRM->assignVirt2Shape(VirtReg, Shape); in getRegAllocationHints() 1077 const VirtRegMap *VRM, in getRegAllocationHints() 1082 VirtReg, Order, Hints, MF, VRM, Matrix); in getRegAllocationHints() 1088 ShapeT VirtShape = getTileShape(VirtReg, const_cast<VirtRegMap *>(VRM), MRI); in getRegAllocationHints() 1095 ShapeT PhysShape = getTileShape(VReg, const_cast<VirtRegMap *>(VRM), MR in getRegAllocationHints() 1030 getTileShape(Register VirtReg,VirtRegMap * VRM,const MachineRegisterInfo * MRI) getTileShape() argument 1072 getRegAllocationHints(Register VirtReg,ArrayRef<MCPhysReg> Order,SmallVectorImpl<MCPhysReg> & Hints,const MachineFunction & MF,const VirtRegMap * VRM,const LiveRegMatrix * Matrix) const getRegAllocationHints() argument [all...] |