Home
last modified time | relevance | path

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

12345678910

/external/llvm-project/llvm/tools/llvm-exegesis/lib/
DRegisterAliasing.cpp16 BitVector AliasedBits(RegInfo.getNumRegs()); in getAliasedBits()
28 : SourceBits(RegInfo.getNumRegs()), AliasedBits(RegInfo.getNumRegs()), in RegisterAliasingTracker()
29 Origins(RegInfo.getNumRegs()) {} in RegisterAliasingTracker()
63 EmptyRegisters(RegInfo.getNumRegs()) {} in RegisterAliasingTrackerCache()
/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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DLivePhysRegs.h59 LiveRegs.setUniverse(TRI.getNumRegs()); in LivePhysRegs()
69 LiveRegs.setUniverse(TRI.getNumRegs()); in init()
81 assert(Reg <= TRI->getNumRegs() && "Expected a physical register."); in addReg()
91 assert(Reg <= TRI->getNumRegs() && "Expected a physical register."); in removeReg()
/external/llvm-project/llvm/include/llvm/CodeGen/
DLivePhysRegs.h59 LiveRegs.setUniverse(TRI.getNumRegs()); in LivePhysRegs()
69 LiveRegs.setUniverse(TRI.getNumRegs()); in init()
81 assert(Reg <= TRI->getNumRegs() && "Expected a physical register."); in addReg()
91 assert(Reg <= TRI->getNumRegs() && "Expected a physical register."); in removeReg()
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/Mips/
DRegisterAliasingTest.cpp45 const BitVector NoReservedReg(RegInfo.getNumRegs()); in TEST_F()
52 BitVector sum(RegInfo.getNumRegs()); in TEST_F()
64 const BitVector NoReservedReg(RegInfo.getNumRegs()); in TEST_F()
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/X86/
DRegisterAliasingTest.cpp46 const BitVector NoReservedReg(RegInfo.getNumRegs()); in TEST_F()
51 BitVector sum(RegInfo.getNumRegs()); in TEST_F()
63 const BitVector NoReservedReg(RegInfo.getNumRegs()); in TEST_F()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCriticalAntiDepBreaker.cpp49 Classes(TRI->getNumRegs(), nullptr), KillIndices(TRI->getNumRegs(), 0), in CriticalAntiDepBreaker()
50 DefIndices(TRI->getNumRegs(), 0), KeepRegs(TRI->getNumRegs(), false) {} in CriticalAntiDepBreaker()
56 for (unsigned i = 0, e = TRI->getNumRegs(); i != e; ++i) { in StartBlock()
119 for (unsigned Reg = 0; Reg != TRI->getNumRegs(); ++Reg) { in Observe()
273 for (unsigned i = 0, e = TRI->getNumRegs(); i != e; ++i) { in ScanInstruction()
477 for (unsigned Reg = 0; Reg < TRI->getNumRegs(); ++Reg) { in BreakAntiDependencies()
531 std::vector<unsigned> LastNewReg(TRI->getNumRegs(), 0); in BreakAntiDependencies()
DRegUsageInfoCollector.cpp128 unsigned RegMaskSize = MachineOperand::getRegMaskSize(TRI->getNumRegs()); in runOnMachineFunction()
155 for (unsigned PReg = 1, PRegE = TRI->getNumRegs(); PReg < PRegE; ++PReg) { in runOnMachineFunction()
182 for (unsigned PReg = 1, PRegE = TRI->getNumRegs(); PReg < PRegE; ++PReg) { in runOnMachineFunction()
DRegisterClassInfo.cpp62 CalleeSavedAliases.assign(TRI->getNumRegs(), 0); in runOnMachineFunction()
96 unsigned NumRegs = RC->getNumRegs(); in compute()
191 unsigned NReserved = RC->getNumRegs() - getNumAllocatableRegs(RC); in computePSetLimit()
DTargetFrameLoweringImpl.cpp66 CalleeSaves.resize(TRI.getNumRegs()); in getCalleeSaves()
84 SavedRegs.resize(TRI.getNumRegs()); in determineCalleeSaves()
DTargetRegisterInfo.cpp67 BitVector Checked(getNumRegs()); in checkAllSuperRegsMarked()
105 else if (Reg < TRI->getNumRegs()) { in printReg()
219 BitVector Allocatable(getNumRegs()); in getAllocatableSet()
465 unsigned N = (getNumRegs()+31) / 32; in regmaskSubsetEqual()
/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()
249 for (unsigned i = 0, e = TRI->getNumRegs(); i != e; ++i) in ScanInstruction()
452 for (unsigned Reg = 0; Reg < TRI->getNumRegs(); ++Reg) { in BreakAntiDependencies()
506 std::vector<unsigned> LastNewReg(TRI->getNumRegs(), 0); in BreakAntiDependencies()
DRegUsageInfoCollector.cpp106 unsigned RegMaskSize = (TRI->getNumRegs() + 31) / 32; in runOnMachineFunction()
117 for (unsigned PReg = 1, PRegE = TRI->getNumRegs(); PReg < PRegE; ++PReg) in runOnMachineFunction()
133 for (unsigned PReg = 1, PRegE = TRI->getNumRegs(); PReg < PRegE; ++PReg) in runOnMachineFunction()
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()
/external/llvm-project/llvm/lib/CodeGen/
DCriticalAntiDepBreaker.cpp46 Classes(TRI->getNumRegs(), nullptr), KillIndices(TRI->getNumRegs(), 0), in CriticalAntiDepBreaker()
47 DefIndices(TRI->getNumRegs(), 0), KeepRegs(TRI->getNumRegs(), false) {} in CriticalAntiDepBreaker()
53 for (unsigned i = 0, e = TRI->getNumRegs(); i != e; ++i) { in StartBlock()
116 for (unsigned Reg = 0; Reg != TRI->getNumRegs(); ++Reg) { in Observe()
270 for (unsigned i = 0, e = TRI->getNumRegs(); i != e; ++i) { in ScanInstruction()
474 for (unsigned Reg = 0; Reg < TRI->getNumRegs(); ++Reg) { in BreakAntiDependencies()
528 std::vector<unsigned> LastNewReg(TRI->getNumRegs(), 0); in BreakAntiDependencies()
DRegUsageInfoCollector.cpp128 unsigned RegMaskSize = MachineOperand::getRegMaskSize(TRI->getNumRegs()); in runOnMachineFunction()
155 for (unsigned PReg = 1, PRegE = TRI->getNumRegs(); PReg < PRegE; ++PReg) { in runOnMachineFunction()
182 for (unsigned PReg = 1, PRegE = TRI->getNumRegs(); PReg < PRegE; ++PReg) { in runOnMachineFunction()
DRegisterClassInfo.cpp62 CalleeSavedAliases.assign(TRI->getNumRegs(), 0); in runOnMachineFunction()
96 unsigned NumRegs = RC->getNumRegs(); in compute()
191 unsigned NReserved = RC->getNumRegs() - getNumAllocatableRegs(RC); in computePSetLimit()
DRDFRegisters.cpp30 RegInfos.resize(TRI.getNumRegs()); in PhysicalRegisterInfo()
32 BitVector BadRC(TRI.getNumRegs()); in PhysicalRegisterInfo()
87 for (unsigned I = 1, E = TRI.getNumRegs(); I != E; ++I) { in PhysicalRegisterInfo()
98 BitVector AS(TRI.getNumRegs()); in PhysicalRegisterInfo()
113 for (unsigned i = 1, e = TRI.getNumRegs(); i != e; ++i) { in getAliasSet()
204 unsigned NumRegs = TRI.getNumRegs(); in aliasMM()
DTargetFrameLoweringImpl.cpp68 CalleeSaves.resize(TRI.getNumRegs()); in getCalleeSaves()
86 SavedRegs.resize(TRI.getNumRegs()); in determineCalleeSaves()
DMachineRegisterInfo.cpp48 unsigned NumRegs = getTargetRegisterInfo()->getNumRegs(); in MachineRegisterInfo()
78 if (NewRC->getNumRegs() < MinNumRegs) in constrainRegClass()
259 for (unsigned i = 1, e = getTargetRegisterInfo()->getNumRegs(); i != e; ++i) in verifyUseLists()
515 assert(ReservedRegs.size() == getTargetRegisterInfo()->getNumRegs() && in freezeReservedRegs()
616 assert(Reg && (Reg < TRI->getNumRegs()) && in disableCalleeSavedRegister()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DRDFRegisters.cpp30 RegInfos.resize(TRI.getNumRegs()); in PhysicalRegisterInfo()
32 BitVector BadRC(TRI.getNumRegs()); in PhysicalRegisterInfo()
87 for (unsigned i = 1, e = TRI.getNumRegs(); i != e; ++i) { in PhysicalRegisterInfo()
108 for (unsigned i = 1, e = TRI.getNumRegs(); i != e; ++i) { in getAliasSet()
199 unsigned NumRegs = TRI.getNumRegs(); in aliasMM()
334 BitVector Regs(PRI.getTRI().getNumRegs()); in makeRegRef()
341 BitVector AR(PRI.getTRI().getNumRegs()); in makeRegRef()
/external/llvm-project/llvm/lib/MC/
DMCRegisterInfo.cpp46 assert(SubReg && SubReg < getNumRegs() && "This is not a register"); in getSubRegIndex()
120 report_fatal_error("unknown codeview register " + (RegNum < getNumRegs() in getCodeViewRegNum()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCRegisterInfo.cpp46 assert(SubReg && SubReg < getNumRegs() && "This is not a register"); in getSubRegIndex()
120 report_fatal_error("unknown codeview register " + (RegNum < getNumRegs() in getCodeViewRegNum()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp92 for (size_t i = 0; i < AArch64::GPR64commonRegClass.getNumRegs(); ++i) { in UpdateCustomCalleeSavedRegs()
157 unsigned RegMaskSize = MachineOperand::getRegMaskSize(getNumRegs()); in UpdateCustomCallPreservedMask()
160 for (size_t i = 0; i < AArch64::GPR64commonRegClass.getNumRegs(); ++i) { in UpdateCustomCallPreservedMask()
201 BitVector Reserved(getNumRegs()); in getReservedRegs()
208 for (size_t i = 0; i < AArch64::GPR32commonRegClass.getNumRegs(); ++i) { in getReservedRegs()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVRegisterInfo.cpp70 BitVector Reserved(getNumRegs()); in getReservedRegs()
73 for (size_t Reg = 0; Reg < getNumRegs(); Reg++) { in getReservedRegs()

12345678910