HomeSort by relevance Sort by last modified time
    Searched refs:VRM (Results 1 - 22 of 22) sorted by null

  /external/llvm/lib/CodeGen/
AllocationOrder.cpp 31 const VirtRegMap &VRM,
34 const MachineFunction &MF = VRM.getMachineFunction();
35 const TargetRegisterInfo *TRI = &VRM.getTargetRegInfo();
37 TRI->getRegAllocationHints(VirtReg, Order, Hints, MF, &VRM);
RegAllocBase.h 63 VirtRegMap *VRM;
69 : TRI(nullptr), MRI(nullptr), VRM(nullptr), LIS(nullptr), Matrix(nullptr) {}
74 void init(VirtRegMap &vrm, LiveIntervals &lis, LiveRegMatrix &mat);
LiveDebugVariables.h 58 /// @param VRM Rename virtual registers according to map.
59 void emitDebugValues(VirtRegMap *VRM);
RegAllocBase.cpp 57 void RegAllocBase::init(VirtRegMap &vrm,
60 TRI = &vrm.getTargetRegInfo();
61 MRI = &vrm.getRegInfo();
62 VRM = &vrm;
65 MRI->freezeReservedRegs(vrm.getMachineFunction());
66 RegClassInfo.runOnMachineFunction(vrm.getMachineFunction());
89 assert(!VRM->hasPhys(VirtReg->reg) && "Register already assigned");
129 VRM->assignVirt2Phys(VirtReg->reg,
140 assert(!VRM->hasPhys(SplitVirtReg->reg) && "Register already assigned")
    [all...]
LiveRegMatrix.cpp 54 VRM = &getAnalysis<VirtRegMap>();
78 assert(!VRM->hasPhys(VirtReg.reg) && "Duplicate VirtReg assignment");
79 VRM->assignVirt2Phys(VirtReg.reg, PhysReg);
90 unsigned PhysReg = VRM->getPhys(VirtReg.reg);
93 VRM->clearVirt(VirtReg.reg);
AllocationOrder.h 36 /// @param VRM Virtual register map for function.
39 const VirtRegMap &VRM,
LiveRangeEdit.cpp 36 if (VRM) {
37 VRM->setIsSplitFromReg(VReg, VRM->getOriginal(OldReg));
45 if (VRM) {
46 VRM->setIsSplitFromReg(VReg, VRM->getOriginal(OldReg));
374 bool IsOriginal = VRM && VRM->getOriginal(LI->reg) == LI->reg;
383 VRM->setIsSplitFromReg(Dups.back()->reg, 0);
400 if (VRM)
    [all...]
RegAllocBasic.cpp 195 if (!VRM->hasPhys(Spill.reg))
203 LiveRangeEdit LRE(&Spill, SplitVRegs, *MF, *LIS, VRM);
227 AllocationOrder Order(VirtReg.reg, *VRM, RegClassInfo);
262 LiveRangeEdit LRE(&VirtReg, SplitVRegs, *MF, *LIS, VRM);
284 SpillerInstance.reset(createInlineSpiller(*this, *MF, *VRM));
289 DEBUG(dbgs() << "Post alloc VirtRegMap:\n" << *VRM << "\n");
VirtRegMap.cpp 164 VirtRegMap *VRM;
213 VRM = &getAnalysis<VirtRegMap>();
217 DEBUG(VRM->dump());
220 LIS->addKillFlags(VRM);
229 getAnalysis<LiveDebugVariables>().emitDebugValues(VRM);
233 VRM->clearAllVirt();
251 unsigned PhysReg = VRM->getPhys(VirtReg);
333 VRM->getPhys(MO.getReg()) :
339 unsigned PhysReg = VRM->getPhys(VirtReg);
LiveDebugVariables.cpp 263 void rewriteLocations(VirtRegMap &VRM, const TargetRegisterInfo &TRI);
266 void emitDebugValues(VirtRegMap *VRM,
356 void emitDebugValues(VirtRegMap *VRM);
873 UserValue::rewriteLocations(VirtRegMap &VRM, const TargetRegisterInfo &TRI) {
883 if (VRM.isAssignedReg(VirtReg) &&
884 TargetRegisterInfo::isPhysicalRegister(VRM.getPhys(VirtReg))) {
888 Loc.substPhysReg(VRM.getPhys(VirtReg), TRI);
889 } else if (VRM.getStackSlot(VirtReg) != VirtRegMap::NO_STACK_SLOT) {
891 Loc = MachineOperand::CreateFI(VRM.getStackSlot(VirtReg));
    [all...]
SplitKit.h 45 const VirtRegMap &VRM;
120 SplitAnalysis(const VirtRegMap &vrm, const LiveIntervals &lis,
214 VirtRegMap &VRM;
TargetRegisterInfo.cpp 268 const VirtRegMap *VRM) const {
279 if (VRM && isVirtualRegister(Phys))
280 Phys = VRM->getPhys(Phys);
RegAllocGreedy.cpp 455 if (VRM->hasPhys(VirtReg)) {
465 if (!VRM->hasPhys(VirtReg))
544 if (VRM->hasKnownPreference(Reg))
613 AllocationOrder Order(VirtReg.reg, *VRM, RegClassInfo);
729 bool BreaksHint = VRM->hasPreferredPhys(Intf->reg);
782 if (!VRM->hasPhys(Intf->reg))
    [all...]
InlineSpiller.cpp 66 VirtRegMap &VRM;
144 VirtRegMap &vrm)
151 VRM(vrm),
195 VirtRegMap &vrm) {
196 return new InlineSpiller(pass, mf, vrm);
316 VRM.getOriginal(Reg) == Original;
    [all...]
SplitKit.cpp 43 SplitAnalysis::SplitAnalysis(const VirtRegMap &vrm,
46 : MF(vrm.getMachineFunction()),
47 VRM(vrm),
299 unsigned OrigReg = VRM.getOriginal(CurLI->reg);
326 VirtRegMap &vrm,
329 : SA(sa), LIS(lis), VRM(vrm),
330 MRI(vrm.getMachineFunction().getRegInfo()),
332 TII(*vrm.getMachineFunction().getTarget().getInstrInfo())
    [all...]
LiveIntervalAnalysis.cpp 529 void LiveIntervals::addKillFlags(const VirtRegMap *VRM) {
544 for (MCRegUnitIterator Units(VRM->getPhys(Reg), TRI); Units.isValid();
    [all...]
  /external/llvm/include/llvm/CodeGen/
LiveRegMatrix.h 43 VirtRegMap *VRM;
VirtRegMap.h 184 inline raw_ostream &operator<<(raw_ostream &OS, const VirtRegMap &VRM) {
185 VRM.print(OS);
LiveRangeEdit.h 64 VirtRegMap *VRM;
111 /// @param vrm Map of virtual registers to physical registers for this
118 VirtRegMap *vrm,
121 MRI(MF.getRegInfo()), LIS(lis), VRM(vrm),
  /external/llvm/lib/Target/ARM/
ARMBaseRegisterInfo.cpp 221 const VirtRegMap *VRM) const {
234 TargetRegisterInfo::getRegAllocationHints(VirtReg, Order, Hints, MF, VRM);
242 if (VRM && VRM->hasPhys(Hint.second)) {
243 PairedPhys = getPairedGPR(VRM->getPhys(Hint.second), Odd, this);
ARMBaseRegisterInfo.h 136 const VirtRegMap *VRM) const override;
  /external/llvm/include/llvm/Target/
TargetRegisterInfo.h 654 const VirtRegMap *VRM = nullptr) const;
    [all...]

Completed in 2739 milliseconds