Home
last modified time | relevance | path

Searched refs:vrm (Results 1 – 25 of 29) sorted by relevance

12

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DSpiller.cpp55 VirtRegMap *vrm; member in __anond2c2b0460211::SpillerBase
63 SpillerBase(MachineFunctionPass &pass, MachineFunction &mf, VirtRegMap &vrm) in SpillerBase() argument
64 : pass(&pass), mf(&mf), vrm(&vrm) in SpillerBase()
89 unsigned ss = vrm->assignVirt2StackSlot(li->reg); in trivialSpillEverywhere()
120 vrm->grow(); in trivialSpillEverywhere()
121 vrm->assignVirt2StackSlot(newVReg, ss); in trivialSpillEverywhere()
144 vrm->addSpillSlotUse(ss, loadInstr); in trivialSpillEverywhere()
158 vrm->addSpillSlotUse(ss, storeInstr); in trivialSpillEverywhere()
180 VirtRegMap &vrm) in TrivialSpiller() argument
181 : SpillerBase(pass, mf, vrm) {} in TrivialSpiller()
[all …]
DLiveIntervalAnalysis.cpp153 VirtRegMap &vrm, unsigned reg) { in conflictsWithPhysReg() argument
205 if (!vrm.hasPhys(PhysReg)) in conflictsWithPhysReg()
207 PhysReg = vrm.getPhys(PhysReg); in conflictsWithPhysReg()
1082 VirtRegMap &vrm, MachineInstr *DefMI, in tryFoldMemoryOperand() argument
1089 vrm.RemoveMachineInstrFromMaps(MI); in tryFoldMemoryOperand()
1111 if (isSS) vrm.addSpillSlotUse(Slot, fmi); in tryFoldMemoryOperand()
1116 vrm.virtFolded(Reg, MI, fmi, (VirtRegMap::ModRef)MRInfo); in tryFoldMemoryOperand()
1117 vrm.transferSpillPts(MI, fmi); in tryFoldMemoryOperand()
1118 vrm.transferRestorePts(MI, fmi); in tryFoldMemoryOperand()
1119 vrm.transferEmergencySpills(MI, fmi); in tryFoldMemoryOperand()
[all …]
DRegAllocPBQP.cpp137 VirtRegMap *vrm; member in __anon46417c670111::RegAllocPBQP
493 int stackSlot = vrm->getStackSlot(spilled->reg); in addStackInterval()
520 vrm->clearAllVirt(); in mapPBQPToRegAlloc()
535 vrm->assignVirt2Phys(vreg, preg); in mapPBQPToRegAlloc()
542 lis->addIntervalsForSpills(*spillInterval, 0, loopInfo, *vrm); in mapPBQPToRegAlloc()
583 unsigned physReg = vrm->getRegAllocPref(li->reg); in finalizeAlloc()
590 vrm->assignVirt2Phys(li->reg, physReg); in finalizeAlloc()
606 } else if (vrm->isAssignedReg(li->reg)) { in finalizeAlloc()
607 reg = vrm->getPhys(li->reg); in finalizeAlloc()
652 vrm = &getAnalysis<VirtRegMap>(); in runOnMachineFunction()
[all …]
DSpiller.h36 VirtRegMap &vrm);
42 VirtRegMap &vrm);
DRegAllocBasic.cpp230 void RegAllocBase::init(VirtRegMap &vrm, LiveIntervals &lis) { in init() argument
232 TRI = &vrm.getTargetRegInfo(); in init()
233 MRI = &vrm.getRegInfo(); in init()
234 VRM = &vrm; in init()
236 RegClassInfo.runOnMachineFunction(vrm.getMachineFunction()); in init()
DRenderMachineFunction.cpp582 if (vrm == 0 || in getLiveStateAt()
583 (vrm->getStackSlot(li->reg) == VirtRegMap::NO_STACK_SLOT)) { in getLiveStateAt()
594 if (vrm == 0 || in getLiveStateAt()
595 (vrm->getStackSlot(li->reg) == VirtRegMap::NO_STACK_SLOT)) { in getLiveStateAt()
988 const VirtRegMap *vrm, in renderMachineFunction() argument
993 this->vrm = vrm; in renderMachineFunction()
DSplitKit.cpp42 SplitAnalysis::SplitAnalysis(const VirtRegMap &vrm, in SplitAnalysis() argument
45 : MF(vrm.getMachineFunction()), in SplitAnalysis()
46 VRM(vrm), in SplitAnalysis()
304 VirtRegMap &vrm, in SplitEditor() argument
306 : SA(sa), LIS(lis), VRM(vrm), in SplitEditor()
307 MRI(vrm.getMachineFunction().getRegInfo()), in SplitEditor()
309 TII(*vrm.getMachineFunction().getTarget().getInstrInfo()), in SplitEditor()
310 TRI(*vrm.getMachineFunction().getTarget().getRegisterInfo()), in SplitEditor()
DRenderMachineFunction.h236 const VirtRegMap *vrm = 0,
250 const VirtRegMap *vrm; variable
DRegAllocBase.h107 void init(VirtRegMap &vrm, LiveIntervals &lis);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DRegAllocBase.cpp57 void RegAllocBase::init(VirtRegMap &vrm, in init() argument
60 TRI = &vrm.getTargetRegInfo(); in init()
61 MRI = &vrm.getRegInfo(); in init()
62 VRM = &vrm; in init()
65 MRI->freezeReservedRegs(vrm.getMachineFunction()); in init()
66 RegClassInfo.runOnMachineFunction(vrm.getMachineFunction()); in init()
DSpiller.h40 VirtRegMap &vrm);
DSplitKit.h156 SplitAnalysis(const VirtRegMap &vrm, const LiveIntervals &lis,
430 VirtRegMap &vrm, MachineDominatorTree &mdt,
DRegAllocBase.h82 void init(VirtRegMap &vrm, LiveIntervals &lis, LiveRegMatrix &mat);
DInlineSpiller.cpp137 VirtRegMap &vrm) in HoistSpillHelper() argument
142 Loops(pass.getAnalysis<MachineLoopInfo>()), VRM(vrm), in HoistSpillHelper()
193 InlineSpiller(MachineFunctionPass &pass, MachineFunction &mf, VirtRegMap &vrm) in InlineSpiller() argument
198 Loops(pass.getAnalysis<MachineLoopInfo>()), VRM(vrm), in InlineSpiller()
202 HSpiller(pass, mf, vrm) {} in InlineSpiller()
239 VirtRegMap &vrm) { in createInlineSpiller() argument
240 return new InlineSpiller(pass, mf, vrm); in createInlineSpiller()
DSplitKit.cpp152 SplitAnalysis::SplitAnalysis(const VirtRegMap &vrm, const LiveIntervals &lis, in SplitAnalysis() argument
154 : MF(vrm.getMachineFunction()), VRM(vrm), LIS(lis), Loops(mli), in SplitAnalysis()
367 LiveIntervals &lis, VirtRegMap &vrm, in SplitEditor() argument
370 : SA(sa), AA(aa), LIS(lis), VRM(vrm), in SplitEditor()
371 MRI(vrm.getMachineFunction().getRegInfo()), MDT(mdt), in SplitEditor()
372 TII(*vrm.getMachineFunction().getSubtarget().getInstrInfo()), in SplitEditor()
373 TRI(*vrm.getMachineFunction().getSubtarget().getRegisterInfo()), in SplitEditor()
/external/llvm/lib/CodeGen/
DRegAllocBase.cpp54 void RegAllocBase::init(VirtRegMap &vrm, in init() argument
57 TRI = &vrm.getTargetRegInfo(); in init()
58 MRI = &vrm.getRegInfo(); in init()
59 VRM = &vrm; in init()
62 MRI->freezeReservedRegs(vrm.getMachineFunction()); in init()
63 RegClassInfo.runOnMachineFunction(vrm.getMachineFunction()); in init()
DSpiller.h39 VirtRegMap &vrm);
DRegAllocBase.h80 void init(VirtRegMap &vrm, LiveIntervals &lis, LiveRegMatrix &mat);
DSplitKit.cpp124 SplitAnalysis::SplitAnalysis(const VirtRegMap &vrm, const LiveIntervals &lis, in SplitAnalysis() argument
126 : MF(vrm.getMachineFunction()), VRM(vrm), LIS(lis), Loops(mli), in SplitAnalysis()
342 LiveIntervals &lis, VirtRegMap &vrm, in SplitEditor() argument
345 : SA(sa), AA(aa), LIS(lis), VRM(vrm), in SplitEditor()
346 MRI(vrm.getMachineFunction().getRegInfo()), MDT(mdt), in SplitEditor()
347 TII(*vrm.getMachineFunction().getSubtarget().getInstrInfo()), in SplitEditor()
348 TRI(*vrm.getMachineFunction().getSubtarget().getRegisterInfo()), in SplitEditor()
DInlineSpiller.cpp111 VirtRegMap &vrm) in HoistSpillHelper() argument
116 Loops(pass.getAnalysis<MachineLoopInfo>()), VRM(vrm), in HoistSpillHelper()
169 InlineSpiller(MachineFunctionPass &pass, MachineFunction &mf, VirtRegMap &vrm) in InlineSpiller() argument
174 Loops(pass.getAnalysis<MachineLoopInfo>()), VRM(vrm), in InlineSpiller()
179 HSpiller(pass, mf, vrm) {} in InlineSpiller()
219 VirtRegMap &vrm) { in createInlineSpiller() argument
220 return new InlineSpiller(pass, mf, vrm); in createInlineSpiller()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DLiveIntervalAnalysis.h133 bool conflictsWithPhysReg(const LiveInterval &li, VirtRegMap &vrm,
280 const MachineLoopInfo *loopInfo, VirtRegMap& vrm);
286 unsigned PhysReg, VirtRegMap &vrm);
386 bool tryFoldMemoryOperand(MachineInstr* &MI, VirtRegMap &vrm,
425 void handleSpilledImpDefs(const LiveInterval &li, VirtRegMap &vrm,
432 MachineInstr *MI, unsigned NewVReg, VirtRegMap &vrm);
442 VirtRegMap &vrm, const TargetRegisterClass* rc,
451 VirtRegMap &vrm, const TargetRegisterClass* rc,
/external/llvm/include/llvm/CodeGen/
DCalcSpillWeights.h63 VirtRegMap *vrm, const MachineLoopInfo &loops,
66 : MF(mf), LIS(lis), VRM(vrm), Loops(loops), MBFI(mbfi), normalize(norm) {} in MF()
DLiveRangeEdit.h127 MachineFunction &MF, LiveIntervals &lis, VirtRegMap *vrm,
131 VRM(vrm), TII(*MF.getSubtarget().getInstrInfo()), TheDelegate(delegate), in Parent()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DCalcSpillWeights.h62 VirtRegMap *vrm, const MachineLoopInfo &loops,
65 : MF(mf), LIS(lis), VRM(vrm), Loops(loops), MBFI(mbfi), normalize(norm) {} in MF()
DLiveRangeEdit.h140 MachineFunction &MF, LiveIntervals &lis, VirtRegMap *vrm,
144 VRM(vrm), TII(*MF.getSubtarget().getInstrInfo()), TheDelegate(delegate), in Parent()

12