Home
last modified time | relevance | path

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

12345678

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/lib/
DRegisterAliasing.cpp16 llvm::BitVector AliasedBits(RegInfo.getNumRegs()); in getAliasedBits()
29 : SourceBits(RegInfo.getNumRegs()), AliasedBits(RegInfo.getNumRegs()), in RegisterAliasingTracker()
30 Origins(RegInfo.getNumRegs()) {} in RegisterAliasingTracker()
64 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-7.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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DRegUsageInfoCollector.cpp95 unsigned RegMaskSize = MachineOperand::getRegMaskSize(TRI->getNumRegs()); in runOnMachineFunction()
114 for (unsigned PReg = 1, PRegE = TRI->getNumRegs(); PReg < PRegE; ++PReg) { in runOnMachineFunction()
139 for (unsigned PReg = 1, PRegE = TRI->getNumRegs(); PReg < PRegE; ++PReg) in runOnMachineFunction()
169 for (unsigned PReg = 1, PRegE = TRI.getNumRegs(); PReg < PRegE; ++PReg) { in computeCalleeSavedRegs()
DCriticalAntiDepBreaker.cpp50 Classes(TRI->getNumRegs(), nullptr), KillIndices(TRI->getNumRegs(), 0), in CriticalAntiDepBreaker()
51 DefIndices(TRI->getNumRegs(), 0), KeepRegs(TRI->getNumRegs(), false) {} in CriticalAntiDepBreaker()
57 for (unsigned i = 0, e = TRI->getNumRegs(); i != e; ++i) { in StartBlock()
120 for (unsigned Reg = 0; Reg != TRI->getNumRegs(); ++Reg) { in Observe()
266 for (unsigned i = 0, e = TRI->getNumRegs(); i != e; ++i) in ScanInstruction()
467 for (unsigned Reg = 0; Reg < TRI->getNumRegs(); ++Reg) { in BreakAntiDependencies()
521 std::vector<unsigned> LastNewReg(TRI->getNumRegs(), 0); in BreakAntiDependencies()
DRegisterClassInfo.cpp63 CalleeSavedAliases.resize(TRI->getNumRegs(), 0); in runOnMachineFunction()
96 unsigned NumRegs = RC->getNumRegs(); in compute()
189 unsigned NReserved = RC->getNumRegs() - getNumAllocatableRegs(RC); in computePSetLimit()
DMachineRegisterInfo.cpp49 unsigned NumRegs = getTargetRegisterInfo()->getNumRegs(); in MachineRegisterInfo()
79 if (NewRC->getNumRegs() < MinNumRegs) in constrainRegClass()
261 for (unsigned i = 1, e = getTargetRegisterInfo()->getNumRegs(); i != e; ++i) in verifyUseLists()
510 assert(ReservedRegs.size() == getTargetRegisterInfo()->getNumRegs() && in freezeReservedRegs()
611 assert(Reg && (Reg < TRI->getNumRegs()) && in disableCalleeSavedRegister()
DTargetRegisterInfo.cpp67 BitVector Checked(getNumRegs()); in checkAllSuperRegsMarked()
106 else if (Reg < TRI->getNumRegs()) { in printReg()
219 BitVector Allocatable(getNumRegs()); in getAllocatableSet()
454 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()
DMachineRegisterInfo.cpp29 unsigned NumRegs = getTargetRegisterInfo()->getNumRegs(); in MachineRegisterInfo()
60 if (NewRC->getNumRegs() < MinNumRegs) in constrainRegClass()
194 for (unsigned i = 1, e = getTargetRegisterInfo()->getNumRegs(); i != e; ++i) in verifyUseLists()
443 assert(ReservedRegs.size() == getTargetRegisterInfo()->getNumRegs() && in freezeReservedRegs()
DTargetRegisterInfo.cpp54 else if (TRI && Reg < TRI->getNumRegs()) in PrintReg()
157 BitVector Allocatable(getNumRegs()); in getAllocatableSet()
386 unsigned N = (getNumRegs()+31) / 32; in regmaskSubsetEqual()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/tools/llvm-exegesis/X86/
DRegisterAliasingTest.cpp63 const llvm::BitVector NoReservedReg(RegInfo.getNumRegs()); in TEST_F()
69 llvm::BitVector sum(RegInfo.getNumRegs()); in TEST_F()
81 const llvm::BitVector NoReservedReg(RegInfo.getNumRegs()); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DRDFRegisters.cpp31 RegInfos.resize(TRI.getNumRegs()); in PhysicalRegisterInfo()
33 BitVector BadRC(TRI.getNumRegs()); in PhysicalRegisterInfo()
88 for (unsigned i = 1, e = TRI.getNumRegs(); i != e; ++i) { in PhysicalRegisterInfo()
109 for (unsigned i = 1, e = TRI.getNumRegs(); i != e; ++i) { in getAliasSet()
200 unsigned NumRegs = TRI.getNumRegs(); in aliasMM()
335 BitVector Regs(PRI.getTRI().getNumRegs()); in makeRegRef()
342 BitVector AR(PRI.getTRI().getNumRegs()); in makeRegRef()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineRegisterInfo.cpp24 UsedPhysRegs.resize(TRI.getNumRegs()); in MachineRegisterInfo()
27 PhysRegUseDefLists = new MachineOperand*[TRI.getNumRegs()]; in MachineRegisterInfo()
28 memset(PhysRegUseDefLists, 0, sizeof(MachineOperand*)*TRI.getNumRegs()); in MachineRegisterInfo()
60 if (NewRC->getNumRegs() < MinNumRegs) in constrainRegClass()
DCriticalAntiDepBreaker.cpp36 Classes(TRI->getNumRegs(), static_cast<const TargetRegisterClass *>(0)), in CriticalAntiDepBreaker()
37 KillIndices(TRI->getNumRegs(), 0), in CriticalAntiDepBreaker()
38 DefIndices(TRI->getNumRegs(), 0) {} in CriticalAntiDepBreaker()
45 for (unsigned i = 0, e = TRI->getNumRegs(); i != e; ++i) { in StartBlock()
133 for (unsigned Reg = 0; Reg != TRI->getNumRegs(); ++Reg) { in Observe()
446 for (unsigned Reg = 0; Reg < TRI->getNumRegs(); ++Reg) { in BreakAntiDependencies()
500 std::vector<unsigned> LastNewReg(TRI->getNumRegs(), 0); in BreakAntiDependencies()
DRegisterClassInfo.cpp47 CSRNum.resize(TRI->getNumRegs(), 0); in runOnMachineFunction()
74 unsigned NumRegs = RC->getNumRegs(); in compute()
DExecutionDepsFix.cpp124 : MachineFunctionPass(ID), RC(rc), NumRegs(RC->getNumRegs()) {} in ExeDepsFix()
457 assert(NumRegs == RC->getNumRegs() && "Bad regclass"); in runOnMachineFunction()
474 AliasMap.resize(TRI->getNumRegs(), -1); in runOnMachineFunction()
475 for (unsigned i = 0, e = RC->getNumRegs(); i != e; ++i) in runOnMachineFunction()
DRegisterScavenging.cpp86 assert((NumPhysRegs == 0 || NumPhysRegs == TRI->getNumRegs()) && in enterBasicBlock()
91 NumPhysRegs = TRI->getNumRegs(); in enterBasicBlock()
252 BitVector Mask(TRI->getNumRegs()); in getRegsAvailable()
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCRegisterInfo.h65 unsigned getNumRegs() const { return (unsigned)(RegsEnd-RegsBegin); } in getNumRegs() function
70 assert(i < getNumRegs() && "Register number out of range!"); in getRegister()
255 unsigned getNumRegs() const { in getNumRegs() function
/external/swiftshader/third_party/LLVM/lib/Target/
DTargetRegisterInfo.cpp39 else if (TRI && Reg < TRI->getNumRegs()) in print()
83 BitVector Allocatable(getNumRegs()); in getAllocatableSet()
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetRegisterInfo.h71 unsigned getNumRegs() const { return MC->getNumRegs(); } in getNumRegs() function
201 return makeArrayRef(begin(), getNumRegs()); in getRawAllocationOrder()
/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()
373 unsigned getNumRegs() const { in getNumRegs() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCRegisterInfo.h59 unsigned getNumRegs() const { return RegsSize; } in getNumRegs() function
64 assert(i < getNumRegs() && "Register number out of range!"); in getRegister()
383 unsigned getNumRegs() const { in getNumRegs() function

12345678