/external/llvm/lib/CodeGen/ |
D | LiveRangeEdit.cpp | 36 if (VRM) { in createEmptyIntervalFrom() 37 VRM->setIsSplitFromReg(VReg, VRM->getOriginal(OldReg)); in createEmptyIntervalFrom() 45 if (VRM) { in createFrom() 46 VRM->setIsSplitFromReg(VReg, VRM->getOriginal(OldReg)); in createFrom() 379 unsigned Original = VRM ? VRM->getOriginal(VReg) : 0; in eliminateDeadDefs() 385 VRM->setIsSplitFromReg(SplitLI->reg, Original); in eliminateDeadDefs() 397 if (VRM) in MRI_NoteNewVirtualRegister() 398 VRM->grow(); in MRI_NoteNewVirtualRegister() 407 VirtRegAuxInfo VRAI(MF, LIS, VRM, Loops, MBFI); in calculateRegClassAndHint()
|
D | CalcSpillWeights.cpp | 28 VirtRegMap *VRM, in calculateSpillWeightsAndHints() argument 36 VirtRegAuxInfo VRAI(MF, LIS, VRM, MLI, MBFI, norm); in calculateSpillWeightsAndHints() 79 VirtRegMap *VRM, in isRematerializable() argument 82 unsigned Original = VRM ? VRM->getOriginal(Reg) : 0; in isRematerializable() 97 if (VRM) { in isRematerializable() 109 VRM->getOriginal(Reg) != Original) in isRematerializable() 226 if (isRematerializable(li, LIS, VRM, *MF.getSubtarget().getInstrInfo())) in calculateSpillWeightAndHint()
|
D | AllocationOrder.cpp | 31 const VirtRegMap &VRM, in AllocationOrder() argument 35 const MachineFunction &MF = VRM.getMachineFunction(); in AllocationOrder() 36 const TargetRegisterInfo *TRI = &VRM.getTargetRegInfo(); in AllocationOrder() 38 TRI->getRegAllocationHints(VirtReg, Order, Hints, MF, &VRM, Matrix); in AllocationOrder()
|
D | RegAllocPBQP.cpp | 130 void initializeGraph(PBQPRAGraph &G, VirtRegMap &VRM, Spiller &VRegSpiller); 134 MachineFunction &MF, LiveIntervals &LIS, VirtRegMap &VRM, 141 VirtRegMap &VRM, 147 VirtRegMap &VRM) const; 554 void RegAllocPBQP::initializeGraph(PBQPRAGraph &G, VirtRegMap &VRM, in initializeGraph() argument 607 spillVReg(VReg, NewVRegs, MF, LIS, VRM, VRegSpiller); in initializeGraph() 631 VirtRegMap &VRM, Spiller &VRegSpiller) { in spillVReg() argument 634 LiveRangeEdit LRE(&LIS.getInterval(VReg), NewIntervals, MF, LIS, &VRM); in spillVReg() 657 VirtRegMap &VRM, in mapPBQPToRegAlloc() argument 668 VRM.clearAllVirt(); in mapPBQPToRegAlloc() [all …]
|
D | RegAllocBasic.cpp | 194 if (!VRM->hasPhys(Spill.reg)) in spillInterferences() 202 LiveRangeEdit LRE(&Spill, SplitVRegs, *MF, *LIS, VRM); in spillInterferences() 226 AllocationOrder Order(VirtReg.reg, *VRM, RegClassInfo, Matrix); in selectOrSplit() 261 LiveRangeEdit LRE(&VirtReg, SplitVRegs, *MF, *LIS, VRM); in selectOrSplit() 279 calculateSpillWeightsAndHints(*LIS, *MF, VRM, in runOnMachineFunction() 283 SpillerInstance.reset(createInlineSpiller(*this, *MF, *VRM)); in runOnMachineFunction() 288 DEBUG(dbgs() << "Post alloc VirtRegMap:\n" << *VRM << "\n"); in runOnMachineFunction()
|
D | RegAllocBase.cpp | 62 VRM = &vrm; in init() 89 assert(!VRM->hasPhys(VirtReg->reg) && "Register already assigned"); in allocatePhysRegs() 130 VRM->assignVirt2Phys(VirtReg->reg, in allocatePhysRegs() 141 assert(!VRM->hasPhys(SplitVirtReg->reg) && "Register already assigned"); in allocatePhysRegs()
|
D | LiveRegMatrix.cpp | 52 VRM = &getAnalysis<VirtRegMap>(); in runOnMachineFunction() 100 assert(!VRM->hasPhys(VirtReg.reg) && "Duplicate VirtReg assignment"); in assign() 101 VRM->assignVirt2Phys(VirtReg.reg, PhysReg); in assign() 115 unsigned PhysReg = VRM->getPhys(VirtReg.reg); in unassign() 118 VRM->clearVirt(VirtReg.reg); in unassign()
|
D | VirtRegMap.cpp | 165 VirtRegMap *VRM; member in __anon995f38c30111::VirtRegRewriter 216 VRM = &getAnalysis<VirtRegMap>(); in runOnMachineFunction() 220 DEBUG(VRM->dump()); in runOnMachineFunction() 223 LIS->addKillFlags(VRM); in runOnMachineFunction() 232 getAnalysis<LiveDebugVariables>().emitDebugValues(VRM); in runOnMachineFunction() 236 VRM->clearAllVirt(); in runOnMachineFunction() 296 unsigned PhysReg = VRM->getPhys(VirtReg); in addMBBLiveIns() 372 unsigned PhysReg = VRM->getPhys(VirtReg); in rewrite()
|
D | LiveDebugVariables.cpp | 264 void rewriteLocations(VirtRegMap &VRM, const TargetRegisterInfo &TRI); 267 void emitDebugValues(VirtRegMap *VRM, 352 void emitDebugValues(VirtRegMap *VRM); 907 UserValue::rewriteLocations(VirtRegMap &VRM, const TargetRegisterInfo &TRI) { in rewriteLocations() argument 917 if (VRM.isAssignedReg(VirtReg) && in rewriteLocations() 918 TargetRegisterInfo::isPhysicalRegister(VRM.getPhys(VirtReg))) { in rewriteLocations() 922 Loc.substPhysReg(VRM.getPhys(VirtReg), TRI); in rewriteLocations() 923 } else if (VRM.getStackSlot(VirtReg) != VirtRegMap::NO_STACK_SLOT) { in rewriteLocations() 925 Loc = MachineOperand::CreateFI(VRM.getStackSlot(VirtReg)); in rewriteLocations() 980 void UserValue::emitDebugValues(VirtRegMap *VRM, LiveIntervals &LIS, in emitDebugValues() argument [all …]
|
D | RegAllocBase.h | 63 VirtRegMap *VRM; variable 69 : TRI(nullptr), MRI(nullptr), VRM(nullptr), LIS(nullptr), Matrix(nullptr) {} in RegAllocBase()
|
D | RegAllocGreedy.cpp | 493 if (VRM->hasPhys(VirtReg)) { in LRE_CanEraseVirtReg() 505 if (!VRM->hasPhys(VirtReg)) in LRE_WillShrinkVirtReg() 592 if (VRM->hasKnownPreference(Reg)) in enqueue() 661 AllocationOrder Order(VirtReg.reg, *VRM, RegClassInfo, Matrix); in canReassign() 777 bool BreaksHint = VRM->hasPreferredPhys(Intf->reg); in canEvictInterference() 830 if (!VRM->hasPhys(Intf->reg)) in evictInterference() 1460 LiveRangeEdit LREdit(&VirtReg, NewVRegs, *MF, *LIS, VRM, this); in doRegionSplit() 1508 LiveRangeEdit LREdit(&VirtReg, NewVRegs, *MF, *LIS, VRM, this); in tryBlockSplit() 1580 LiveRangeEdit LREdit(&VirtReg, NewVRegs, *MF, *LIS, VRM, this); in tryInstructionSplit() 1903 LiveRangeEdit LREdit(&VirtReg, NewVRegs, *MF, *LIS, VRM, this); in tryLocalSplit() [all …]
|
D | SplitKit.h | 45 const VirtRegMap &VRM; variable 214 VirtRegMap &VRM; variable
|
D | TargetRegisterInfo.cpp | 341 const VirtRegMap *VRM, in getRegAllocationHints() argument 353 if (VRM && isVirtualRegister(Phys)) in getRegAllocationHints() 354 Phys = VRM->getPhys(Phys); in getRegAllocationHints()
|
D | LiveDebugVariables.h | 59 void emitDebugValues(VirtRegMap *VRM);
|
D | AllocationOrder.h | 40 const VirtRegMap &VRM,
|
D | SplitKit.cpp | 45 : MF(vrm.getMachineFunction()), VRM(vrm), LIS(lis), Loops(mli), in SplitAnalysis() 296 unsigned OrigReg = VRM.getOriginal(CurLI->reg); in isOriginalEndpoint() 324 : SA(sa), LIS(lis), VRM(vrm), MRI(vrm.getMachineFunction().getRegInfo()), in SplitEditor() 338 LRCalc[0].reset(&VRM.getMachineFunction(), LIS.getSlotIndexes(), &MDT, in reset() 341 LRCalc[1].reset(&VRM.getMachineFunction(), LIS.getSlotIndexes(), &MDT, in reset() 1091 unsigned Original = VRM.getOriginal(VReg); in finish() 1093 VRM.setIsSplitFromReg(SplitLI->reg, Original); in finish() 1101 Edit->calculateRegClassAndHint(VRM.getMachineFunction(), SA.Loops, MBFI); in finish() 1172 MachineBasicBlock *MBB = VRM.getMachineFunction().getBlockNumbered(MBBNum); in splitLiveThroughBlock()
|
D | InlineSpiller.cpp | 65 VirtRegMap &VRM; member in __anon056505dc0111::InlineSpiller 146 Loops(pass.getAnalysis<MachineLoopInfo>()), VRM(vrm), in InlineSpiller() 315 VRM.getOriginal(Reg) == Original; in isSibling() 1328 StackSlot = VRM.assignVirt2StackSlot(Original); in spillAll() 1335 VRM.assignVirt2StackSlot(Edit->getReg(), StackSlot); in spillAll() 1377 Original = VRM.getOriginal(edit.getReg()); in spill() 1378 StackSlot = VRM.getStackSlot(Original); in spill()
|
D | LiveIntervalAnalysis.cpp | 669 void LiveIntervals::addKillFlags(const VirtRegMap *VRM) { in addKillFlags() argument 687 for (MCRegUnitIterator Units(VRM->getPhys(Reg), TRI); Units.isValid(); in addKillFlags()
|
/external/llvm/include/llvm/CodeGen/ |
D | CalcSpillWeights.h | 55 VirtRegMap *VRM; variable 66 : MF(mf), LIS(lis), VRM(vrm), Loops(loops), MBFI(mbfi), normalize(norm) {} in MF() 75 VirtRegMap *VRM,
|
D | VirtRegMap.h | 184 inline raw_ostream &operator<<(raw_ostream &OS, const VirtRegMap &VRM) { 185 VRM.print(OS);
|
D | LiveRangeEdit.h | 65 VirtRegMap *VRM; variable 123 VRM(vrm), TII(*MF.getSubtarget().getInstrInfo()), in Parent()
|
D | LiveRegMatrix.h | 41 VirtRegMap *VRM; variable
|
/external/llvm/lib/Target/ARM/ |
D | ARMBaseRegisterInfo.cpp | 228 const VirtRegMap *VRM, in getRegAllocationHints() argument 242 TargetRegisterInfo::getRegAllocationHints(VirtReg, Order, Hints, MF, VRM); in getRegAllocationHints() 256 } else if (VRM && VRM->hasPhys(Paired)) { in getRegAllocationHints() 257 PairedPhys = getPairedGPR(VRM->getPhys(Paired), Odd, this); in getRegAllocationHints()
|
D | ARMBaseRegisterInfo.h | 129 const VirtRegMap *VRM,
|
/external/llvm/include/llvm/Target/ |
D | TargetRegisterInfo.h | 725 const VirtRegMap *VRM = nullptr,
|