Home
last modified time | relevance | path

Searched refs:VRM (Results 1 – 25 of 48) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNNSAReassign.cpp71 VirtRegMap *VRM; member in __anonb3e4049d0111::GCNNSAReassign
112 if (VRM->hasPhys(Intervals[N]->reg())) in tryAssignRegisters()
173 if (Reg.isPhysical() || !VRM->isAssignedReg(Reg)) in CheckNSA()
176 Register PhysReg = VRM->getPhys(Reg); in CheckNSA()
198 if (VRM->getPreSplitReg(Reg)) in CheckNSA()
234 VRM = &getAnalysis<VirtRegMap>(); in runOnMachineFunction()
291 OrigRegs.push_back(VRM->getPhys(Reg)); in runOnMachineFunction()
310 << " " << llvm::printReg((VRM->getPhys(LI->reg())), TRI); in runOnMachineFunction()
316 if (VRM->hasPhys(Intervals.back()->reg())) // Did not change allocation. in runOnMachineFunction()
335 if (VRM->hasPhys(Intervals[I]->reg())) in runOnMachineFunction()
[all …]
H A DSIPreAllocateWWMRegs.cpp37 VirtRegMap *VRM; member in __anon5e72189b0111::SIPreAllocateWWMRegs
98 if (VRM->hasPhys(Reg)) in processDef()
128 if (!VRM->hasPhys(VirtReg)) in rewriteRegs()
131 Register PhysReg = VRM->getPhys(VirtReg); in rewriteRegs()
150 const Register PhysReg = VRM->getPhys(Reg); in rewriteRegs()
209 VRM = &getAnalysis<VirtRegMap>(); in runOnMachineFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveRangeEdit.cpp36 if (VRM) in createEmptyIntervalFrom()
37 VRM->setIsSplitFromReg(VReg, VRM->getOriginal(OldReg)); in createEmptyIntervalFrom()
56 if (VRM) { in createFrom()
57 VRM->setIsSplitFromReg(VReg, VRM->getOriginal(OldReg)); in createFrom()
85 unsigned Original = VRM->getOriginal(getReg()); in scanRemattable()
294 if (VRM && MI->getOperand(0).isReg() && MI->getOperand(0).isDef() && in eliminateDeadDef()
297 unsigned Original = VRM->getOriginal(Dest); in eliminateDeadDef()
439 Register Original = VRM ? VRM->getOriginal(VReg) : Register(); in eliminateDeadDefs()
445 VRM->setIsSplitFromReg(SplitLI->reg(), Original); in eliminateDeadDefs()
456 if (VRM) in MRI_NoteNewVirtualRegister()
[all …]
H A DRegAllocBasic.cpp151 if (VRM->hasPhys(VirtReg)) { in INITIALIZE_PASS_DEPENDENCY()
165 if (!VRM->hasPhys(VirtReg)) in LRE_WillShrinkVirtReg()
237 if (!VRM->hasPhys(Spill.reg())) in spillInterferences()
245 LiveRangeEdit LRE(&Spill, SplitVRegs, *MF, *LIS, VRM, this, &DeadRemats); in spillInterferences()
270 AllocationOrder::create(VirtReg.reg(), *VRM, RegClassInfo, Matrix); in selectOrSplit()
305 LiveRangeEdit LRE(&VirtReg, SplitVRegs, *MF, *LIS, VRM, this, &DeadRemats); in selectOrSplit()
321 VirtRegAuxInfo VRAI(*MF, *LIS, *VRM, getAnalysis<MachineLoopInfo>(), in runOnMachineFunction()
325 SpillerInstance.reset(createInlineSpiller(*this, *MF, *VRM, VRAI)); in runOnMachineFunction()
331 LLVM_DEBUG(dbgs() << "Post alloc VirtRegMap:\n" << *VRM << "\n"); in runOnMachineFunction()
H A DRegAllocPBQP.cpp176 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()
852 initializeGraph(G, VRM, *VRegSpiller); in runOnMachineFunction()
[all …]
H A DAllocationOrder.cpp29 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 DRegAllocBase.cpp61 VRM = &vrm; in init()
89 assert(!VRM->hasPhys(VirtReg->reg()) && "Register already assigned"); in allocatePhysRegs()
142 VRM->assignVirt2Phys(VirtReg->reg(), AllocOrder.front()); in allocatePhysRegs()
153 assert(!VRM->hasPhys(SplitVirtReg->reg()) && "Register already assigned"); in allocatePhysRegs()
184 if (VRM->hasPhys(Reg)) in enqueue()
H A DMIRVRegNamerUtils.cpp26 bool VRegRenamer::doVRegRenaming(const VRegRenameMap &VRM) { in doVRegRenaming() argument
29 for (const auto &E : VRM) { in doVRegRenaming()
49 VRegRenameMap VRM; in getVRegRenameMap() local
52 VRM[Reg] = createVirtualRegisterWithLowerName(Reg, GetUniqueVRegName(VReg)); in getVRegRenameMap()
54 return VRM; in getVRegRenameMap()
H A DInlineSpiller.cpp93 VirtRegMap &VRM; member in __anondbd7c2a20111::HoistSpillHelper
166 VirtRegMap &VRM; member in __anondbd7c2a20111::InlineSpiller
206 Loops(Pass.getAnalysis<MachineLoopInfo>()), VRM(VRM), in InlineSpiller()
210 HSpiller(Pass, MF, VRM), VRAI(VRAI) {} in InlineSpiller()
1188 Original = VRM.getOriginal(edit.getReg()); in spill()
1189 StackSlot = VRM.getStackSlot(Original); in spill()
1607 if (VRM.hasPhys(Old)) in LRE_DidCloneVirtReg()
1608 VRM.assignVirt2Phys(New, VRM.getPhys(Old)); in LRE_DidCloneVirtReg()
1610 VRM.assignVirt2StackSlot(New, VRM.getStackSlot(Old)); in LRE_DidCloneVirtReg()
1613 if (VRM.hasShape(Old)) in LRE_DidCloneVirtReg()
[all …]
H A DLiveRegMatrix.cpp58 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 DCalcSpillWeights.cpp81 const VirtRegMap &VRM, in isRematerializable() argument
84 unsigned Original = VRM.getOriginal(Reg); in isRematerializable()
109 if (!Register::isVirtualRegister(Reg) || VRM.getOriginal(Reg) != Original) in isRematerializable()
130 return any_of(VRM.getRegInfo().reg_operands(LI.reg()), in isLiveAtStatepointVarArg()
168 Register Original = VRM.getOriginal(Reg); in weightCalcHelper()
321 if (isRematerializable(LI, LIS, VRM, *MF.getSubtarget().getInstrInfo())) in weightCalcHelper()
H A DVirtRegMap.cpp190 VirtRegMap *VRM; member in __anon943fbb490111::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()
560 MCRegister PhysReg = VRM->getPhys(VirtReg); in rewrite()
H A DLiveDebugVariables.cpp488 void emitDebugValues(VirtRegMap *VRM, LiveIntervals &LIS,
671 void emitDebugValues(VirtRegMap *VRM);
1544 if (VRM.isAssignedReg(VirtReg) && in rewriteLocations()
1549 Loc.substPhysReg(VRM.getPhys(VirtReg), TRI); in rewriteLocations()
1822 void LDVImpl::emitDebugValues(VirtRegMap *VRM) { in emitDebugValues() argument
1854 if (VRM->isAssignedReg(Reg) && in emitDebugValues()
1855 Register::isPhysicalRegister(VRM->getPhys(Reg))) { in emitDebugValues()
1856 unsigned PhysReg = VRM->getPhys(Reg); in emitDebugValues()
1876 Builder.addFrameIndex(VRM->getStackSlot(Reg)); in emitDebugValues()
1933 void LiveDebugVariables::emitDebugValues(VirtRegMap *VRM) { in emitDebugValues() argument
[all …]
H A DRegAllocGreedy.cpp691 if (VRM->hasPhys(VirtReg)) { in LRE_CanEraseVirtReg()
705 if (!VRM->hasPhys(VirtReg)) in LRE_WillShrinkVirtReg()
795 if (VRM->hasKnownPreference(Reg)) in enqueue()
1140 if (!VRM->hasPhys(Intf->reg())) in evictInterference()
2693 assert(VRM->hasPhys(ItVirtReg) && in tryLastChanceRecoloring()
2741 if (VRM->hasPhys(ItVirtReg)) in tryLastChanceRecoloring()
2942 MCRegister PhysReg = VRM->getPhys(Reg); in tryHintRecoloring()
2959 if (!VRM->hasPhys(Reg)) { in tryHintRecoloring()
2968 MCRegister CurrPhys = VRM->getPhys(Reg); in tryHintRecoloring()
3053 if (!VRM->hasPhys(LI->reg())) in tryHintsRecoloring()
[all …]
H A DSplitKit.cpp155 : MF(vrm.getMachineFunction()), VRM(vrm), LIS(lis), Loops(mli), in SplitAnalysis()
343 unsigned OrigReg = VRM.getOriginal(CurLI->reg()); in isOriginalEndpoint()
368 LiveIntervals &LIS, VirtRegMap &VRM, in SplitEditor() argument
371 : SA(SA), AA(AA), LIS(LIS), VRM(VRM), in SplitEditor()
372 MRI(VRM.getMachineFunction().getRegInfo()), MDT(MDT), in SplitEditor()
373 TII(*VRM.getMachineFunction().getSubtarget().getInstrInfo()), in SplitEditor()
374 TRI(*VRM.getMachineFunction().getSubtarget().getRegisterInfo()), in SplitEditor()
598 unsigned Original = VRM.getOriginal(Edit->get(RegIdx)); in defFromParent()
1542 Register Original = VRM.getOriginal(VReg); in finish()
1544 VRM.setIsSplitFromReg(SplitLI->reg(), Original); in finish()
[all …]
H A DSplitKit.h100 const VirtRegMap &VRM; variable
270 VirtRegMap &VRM; variable
463 VirtRegMap &VRM, MachineDominatorTree &MDT,
H A DLiveDebugVariables.h50 void emitDebugValues(VirtRegMap *VRM);
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DCalcSpillWeights.h49 const VirtRegMap &VRM; variable
59 const VirtRegMap &VRM, const MachineLoopInfo &Loops, in VirtRegAuxInfo() argument
61 : MF(MF), LIS(LIS), VRM(VRM), Loops(Loops), MBFI(MBFI) {} in VirtRegAuxInfo()
H A DVirtRegMap.h205 inline raw_ostream &operator<<(raw_ostream &OS, const VirtRegMap &VRM) {
206 VRM.print(OS);
H A DLiveRangeEdit.h75 VirtRegMap *VRM; variable
139 VRM(vrm), TII(*MF.getSubtarget().getInstrInfo()), TheDelegate(delegate), in Parent()
H A DSpiller.h39 VirtRegMap &VRM, VirtRegAuxInfo &VRAI);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZRegisterInfo.cpp28 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()
112 : Register(VRM->getPhys(Reg)); in getRegAllocationHints()
151 TRI->getCommonSubClass(getRC32(FalseMO, VRM, MRI), in getRegAllocationHints()
152 getRC32(TrueMO, VRM, MRI)); in getRegAllocationHints()
155 getRC32(Use.getOperand(0), VRM, MRI)); in getRegAllocationHints()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TileConfig.cpp85 VirtRegMap &VRM = getAnalysis<VirtRegMap>(); in INITIALIZE_PASS_DEPENDENCY() local
87 if (VRM.isShapeMapEmpty()) in INITIALIZE_PASS_DEPENDENCY()
123 unsigned Index = VRM.getPhys(VirtReg) - X86::TMM0; in INITIALIZE_PASS_DEPENDENCY()
135 ShapeT Shape = VRM.getShape(Phys2Virt[I]); in INITIALIZE_PASS_DEPENDENCY()
H A DX86RegisterInfo.cpp875 static ShapeT getTileShape(Register VirtReg, VirtRegMap *VRM, in getTileShape() argument
877 if (VRM->hasShape(VirtReg)) in getTileShape()
878 return VRM->getShape(VirtReg); in getTileShape()
889 ShapeT Shape = getTileShape(SrcReg, VRM, MRI); in getTileShape()
890 VRM->assignVirt2Shape(VirtReg, Shape); in getTileShape()
905 VRM->assignVirt2Shape(VirtReg, Shape); in getTileShape()
914 const VirtRegMap *VRM, in getRegAllocationHints() argument
919 VirtReg, Order, Hints, MF, VRM, Matrix); in getRegAllocationHints()
924 ShapeT VirtShape = getTileShape(VirtReg, const_cast<VirtRegMap *>(VRM), MRI); in getRegAllocationHints()
931 ShapeT PhysShape = getTileShape(VReg, const_cast<VirtRegMap *>(VRM), MRI); in getRegAllocationHints()
/freebsd-13.1/sys/contrib/device-tree/Bindings/regulator/
H A Dqcom,rpmh-regulator.txt4 Regulator Manager (VRM) and Oscillator Buffer (XOB) RPMh accelerators. The APPS
6 Coordinator (RSC) using command packets. The VRM allows changing three
113 specified for VRM regulators using mode values from
115 may be specified for BOB type regulators managed via VRM.
117 VRM.

12