/external/llvm/lib/CodeGen/ |
Spiller.h | 36 VirtRegMap &vrm); 42 VirtRegMap &vrm);
|
Spiller.cpp | 55 VirtRegMap *vrm; member in class:__anon7891::SpillerBase 63 SpillerBase(MachineFunctionPass &pass, MachineFunction &mf, VirtRegMap &vrm) 64 : pass(&pass), mf(&mf), vrm(&vrm) 89 unsigned ss = vrm->assignVirt2StackSlot(li->reg); 120 vrm->grow(); 121 vrm->assignVirt2StackSlot(newVReg, ss); 144 vrm->addSpillSlotUse(ss, loadInstr); 158 vrm->addSpillSlotUse(ss, storeInstr); 180 VirtRegMap &vrm) 200 VirtRegMap *vrm; member in class:__anon7893::StandardSpiller [all...] |
LiveIntervalAnalysis.cpp | 153 VirtRegMap &vrm, unsigned reg) { 205 if (!vrm.hasPhys(PhysReg)) 207 PhysReg = vrm.getPhys(PhysReg); [all...] |
RegAllocPBQP.cpp | 137 VirtRegMap *vrm; member in class:__anon7856::RegAllocPBQP 493 int stackSlot = vrm->getStackSlot(spilled->reg); 520 vrm->clearAllVirt(); 535 vrm->assignVirt2Phys(vreg, preg); 542 lis->addIntervalsForSpills(*spillInterval, 0, loopInfo, *vrm); 583 unsigned physReg = vrm->getRegAllocPref(li->reg); 590 vrm->assignVirt2Phys(li->reg, physReg); 606 } else if (vrm->isAssignedReg(li->reg)) { 607 reg = vrm->getPhys(li->reg); 652 vrm = &getAnalysis<VirtRegMap>() [all...] |
RegAllocBase.h | 93 VirtRegMap *VRM; 102 RegAllocBase(): UserTag(0), TRI(0), MRI(0), VRM(0), LIS(0) {} 107 void init(VirtRegMap &vrm, LiveIntervals &lis);
|
RenderMachineFunction.h | 229 /// @param vrm If non-null the VRM will be queried to determine 236 const VirtRegMap *vrm = 0, 250 const VirtRegMap *vrm; member in class:llvm::RenderMachineFunction
|
RegAllocBasic.cpp | 205 if (!VRM->hasPhys(reg)) continue; // spilled? 206 unsigned PhysReg = VRM->getPhys(reg); 231 void RegAllocBase::init(VirtRegMap &vrm, LiveIntervals &lis) { 233 TRI = &vrm.getTargetRegInfo(); 234 MRI = &vrm.getRegInfo(); 235 VRM = &vrm; 237 RegClassInfo.runOnMachineFunction(vrm.getMachineFunction()); 280 assert(!VRM->hasPhys(VirtReg.reg) && "Duplicate VirtReg assignment"); 281 VRM->assignVirt2Phys(VirtReg.reg, PhysReg) [all...] |
RenderMachineFunction.cpp | 582 if (vrm == 0 || 583 (vrm->getStackSlot(li->reg) == VirtRegMap::NO_STACK_SLOT)) { 594 if (vrm == 0 || 595 (vrm->getStackSlot(li->reg) == VirtRegMap::NO_STACK_SLOT)) { [all...] |
SplitKit.h | 52 const VirtRegMap &VRM; 127 SplitAnalysis(const VirtRegMap &vrm, const LiveIntervals &lis, 209 VirtRegMap &VRM;
|
SplitKit.cpp | 41 SplitAnalysis::SplitAnalysis(const VirtRegMap &vrm, 44 : MF(vrm.getMachineFunction()), 45 VRM(vrm), 266 unsigned OrigReg = VRM.getOriginal(CurLI->reg); 293 VirtRegMap &vrm, 295 : SA(sa), LIS(lis), VRM(vrm), 296 MRI(vrm.getMachineFunction().getRegInfo()), 298 TII(*vrm.getMachineFunction().getTarget().getInstrInfo()) [all...] |
InlineSpiller.cpp | 56 VirtRegMap &VRM; 110 VirtRegMap &vrm) 118 VRM(vrm), 163 VirtRegMap &vrm) { 164 return new InlineSpiller(pass, mf, vrm); 282 VRM.getOriginal(Reg) == Original; 531 VRM.addSpillSlotUse(StackSlot, MII); 693 LiveInterval &NewLI = Edit->createFrom(Original, LIS, VRM); 764 Edit->eliminateDeadDefs(DeadDefs, LIS, VRM, TII) [all...] |
VirtRegRewriter.cpp | 93 bool runOnMachineFunction(MachineFunction &MF, VirtRegMap &VRM, 118 if (!VRM.hasPhys(reg)) 120 unsigned pReg = VRM.getPhys(reg); 424 VirtRegMap &VRM); 442 VirtRegMap &VRM) { 447 Rejected, RegKills, KillOps, VRM); 679 VirtRegMap &VRM) { 680 MachineInstr *ReMatDefMI = VRM.getReMaterializedMI(Reg); 696 unsigned Phys = VRM.getPhys(VirtReg); [all...] |
/external/llvm/include/llvm/CodeGen/ |
LiveIntervalAnalysis.h | 133 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,
|