Home
last modified time | relevance | path

Searched refs:getNumRegs (Results 1 – 25 of 60) sorted by relevance

123

/external/llvm/include/llvm/CodeGen/
DLivePhysRegs.h56 LiveRegs.setUniverse(TRI->getNumRegs()); in LivePhysRegs()
64 LiveRegs.setUniverse(TRI->getNumRegs()); in init()
76 assert(Reg <= TRI->getNumRegs() && "Expected a physical register."); in addReg()
86 assert(Reg <= TRI->getNumRegs() && "Expected a physical register."); in removeReg()
/external/llvm/lib/CodeGen/
DCriticalAntiDepBreaker.cpp35 Classes(TRI->getNumRegs(), nullptr), KillIndices(TRI->getNumRegs(), 0), in CriticalAntiDepBreaker()
36 DefIndices(TRI->getNumRegs(), 0), KeepRegs(TRI->getNumRegs(), false) {} in CriticalAntiDepBreaker()
43 for (unsigned i = 0, e = TRI->getNumRegs(); i != e; ++i) { in StartBlock()
103 for (unsigned Reg = 0; Reg != TRI->getNumRegs(); ++Reg) { in Observe()
251 for (unsigned i = 0, e = TRI->getNumRegs(); i != e; ++i) in ScanInstruction()
451 for (unsigned Reg = 0; Reg < TRI->getNumRegs(); ++Reg) { in BreakAntiDependencies()
505 std::vector<unsigned> LastNewReg(TRI->getNumRegs(), 0); in BreakAntiDependencies()
DRegisterClassInfo.cpp56 CSRNum.resize(TRI->getNumRegs(), 0); in runOnMachineFunction()
84 unsigned NumRegs = RC->getNumRegs(); in compute()
178 unsigned NReserved = RC->getNumRegs() - getNumAllocatableRegs(RC); in computePSetLimit()
DMachineRegisterInfo.cpp30 unsigned NumRegs = getTargetRegisterInfo()->getNumRegs(); in MachineRegisterInfo()
56 if (NewRC->getNumRegs() < MinNumRegs) in constrainRegClass()
164 for (unsigned i = 1, e = getTargetRegisterInfo()->getNumRegs(); i != e; ++i) in verifyUseLists()
413 assert(ReservedRegs.size() == getTargetRegisterInfo()->getNumRegs() && in freezeReservedRegs()
DTargetFrameLoweringImpl.cpp70 SavedRegs.resize(TRI.getNumRegs()); in determineCalleeSaves()
DExecutionDepsFix.cpp162 : MachineFunctionPass(ID), RC(rc), NumRegs(RC->getNumRegs()) {} in ExeDepsFix()
726 assert(NumRegs == RC->getNumRegs() && "Bad regclass"); in runOnMachineFunction()
747 AliasMap.resize(TRI->getNumRegs()); in runOnMachineFunction()
748 for (unsigned i = 0, e = RC->getNumRegs(); i != e; ++i) in runOnMachineFunction()
DInterferenceCache.cpp36 if (PhysRegEntriesCount == TRI->getNumRegs()) return; in reinitPhysRegEntries()
38 PhysRegEntriesCount = TRI->getNumRegs(); in reinitPhysRegEntries()
DStackMapLivenessAnalysis.cpp158 uint32_t *Mask = MF.allocateRegisterMask(TRI->getNumRegs()); in createRegisterMask()
DTargetRegisterInfo.cpp54 else if (TRI && Reg < TRI->getNumRegs()) in PrintReg()
164 BitVector Allocatable(getNumRegs()); in getAllocatableSet()
DAggressiveAntiDepBreaker.cpp143 State = new AggressiveAntiDepState(TRI->getNumRegs(), BB); in StartBlock()
197 for (unsigned Reg = 0; Reg != TRI->getNumRegs(); ++Reg) { in Observe()
508 BitVector BV(TRI->getNumRegs(), false); in GetRenameRegisters()
781 for (unsigned Reg = 0; Reg < TRI->getNumRegs(); ++Reg) { in BreakAntiDependencies()
/external/mesa3d/src/gallium/drivers/radeon/
DSIRegisterInfo.cpp29 BitVector Reserved(getNumRegs()); in getReservedRegs()
DR600RegisterInfo.cpp29 BitVector Reserved(getNumRegs()); in getReservedRegs()
/external/llvm/include/llvm/MC/
DMCRegisterInfo.h56 unsigned getNumRegs() const { return RegsSize; } in getNumRegs() function
61 assert(i < getNumRegs() && "Register number out of range!"); in getRegister()
368 unsigned getNumRegs() const { in getNumRegs() function
/external/llvm/lib/Target/AMDGPU/
DSIFrameLowering.cpp41 AMDGPU::SReg_128RegClass.getNumRegs()); in getAllSGPR128()
46 AMDGPU::SGPR_32RegClass.getNumRegs()); in getAllSGPRs()
DR600RegisterInfo.cpp29 BitVector Reserved(getNumRegs()); in getReservedRegs()
/external/llvm/include/llvm/Target/
DTargetRegisterInfo.h86 unsigned getNumRegs() const { return MC->getNumRegs(); } in getNumRegs() function
210 return OrderFunc ? OrderFunc(MF) : makeArrayRef(begin(), getNumRegs()); in getRawAllocationOrder()
/external/llvm/lib/Target/NVPTX/
DNVPTXRegisterInfo.cpp87 BitVector Reserved(getNumRegs()); in getReservedRegs()
/external/llvm/lib/Target/Mips/
DMipsDelaySlotFiller.cpp296 : TRI(TRI), Defs(TRI.getNumRegs(), false), Uses(TRI.getNumRegs(), false) {} in RegDefsUses()
327 BitVector CallerSavedRegs(TRI.getNumRegs(), true); in setCallerSaved()
363 BitVector NewDefs(TRI.getNumRegs()), NewUses(TRI.getNumRegs()); in update()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyRegisterInfo.cpp47 BitVector Reserved(getNumRegs()); in getReservedRegs()
/external/llvm/lib/MC/
DMCRegisterInfo.cpp39 assert(SubReg && SubReg < getNumRegs() && "This is not a register"); in getSubRegIndex()
/external/llvm/lib/Target/BPF/
DBPFRegisterInfo.cpp38 BitVector Reserved(getNumRegs()); in getReservedRegs()
/external/llvm/lib/Target/AArch64/
DAArch64LoadStoreOptimizer.cpp904 ModifiedRegs.resize(TRI->getNumRegs()); in findMatchingInsn()
905 UsedRegs.resize(TRI->getNumRegs()); in findMatchingInsn()
1184 ModifiedRegs.resize(TRI->getNumRegs()); in findMatchingUpdateInsnForward()
1185 UsedRegs.resize(TRI->getNumRegs()); in findMatchingUpdateInsnForward()
1238 ModifiedRegs.resize(TRI->getNumRegs()); in findMatchingUpdateInsnBackward()
1239 UsedRegs.resize(TRI->getNumRegs()); in findMatchingUpdateInsnBackward()
/external/llvm/lib/Target/SystemZ/
DSystemZRegisterInfo.cpp38 BitVector Reserved(getNumRegs()); in getReservedRegs()
/external/llvm/lib/Target/Hexagon/
DHexagonRegisterInfo.cpp99 BitVector Reserved(getNumRegs()); in getReservedRegs()
/external/llvm/lib/Target/MSP430/
DMSP430RegisterInfo.cpp75 BitVector Reserved(getNumRegs()); in getReservedRegs()

123