Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DRegisterClassInfo.cpp81 RCInfo &RCI = RegClass[RC->getID()]; in compute() local
86 if (!RCI.Order) in compute()
87 RCI.Order.reset(new MCPhysReg[NumRegs]); in compute()
112 RCI.Order[N++] = PhysReg; in compute()
116 RCI.NumRegs = N + CSRAlias.size(); in compute()
117 assert (RCI.NumRegs <= NumRegs && "Allocation order larger than regclass"); in compute()
125 RCI.Order[N++] = PhysReg; in compute()
130 if (StressRA && RCI.NumRegs > StressRA) in compute()
131 RCI.NumRegs = StressRA; in compute()
136 if (Super != RC && getNumAllocatableRegs(Super) > RCI.NumRegs) in compute()
[all …]
DTargetRegisterInfo.cpp217 for (SuperRegClassIterator RCI(B, this); RCI.isValid(); ++RCI) in getMatchingSuperRegClass() local
218 if (RCI.getSubReg() == Idx) in getMatchingSuperRegClass()
221 return firstCommonClass(RCI.getMask(), A->getSubClassMask(), this); in getMatchingSuperRegClass()
DShrinkWrap.cpp101 RegisterClassInfo RCI; member in __anond41abe3e0111::ShrinkWrap
161 RCI.runOnMachineFunction(MF); in init()
238 UseOrDefCSR = RCI.getLastCalleeSavedAlias(PhysReg); in INITIALIZE_PASS_DEPENDENCY()
DPostRASchedulerList.cpp208 const RegisterClassInfo &RCI, in SchedulePostRATDList() argument
225 (AntiDepBreaker *)new AggressiveAntiDepBreaker(MF, RCI, CriticalPathRCs) : in SchedulePostRATDList()
227 (AntiDepBreaker *)new CriticalAntiDepBreaker(MF, RCI) : nullptr)); in SchedulePostRATDList()
DAggressiveAntiDepBreaker.h128 const RegisterClassInfo &RCI,
DRegisterPressure.cpp230 RCI = rci; in init()
920 const RegisterClassInfo *RCI, in computeExcessPressureDelta() argument
930 unsigned Limit = RCI->getRegPressureSetLimit(i); in computeExcessPressureDelta()
1064 computeExcessPressureDelta(SavedPressure, CurrSetPressure, Delta, RCI, in getMaxUpwardPressureDelta()
1130 unsigned Limit = RCI->getRegPressureSetLimit(PSetID); in getUpwardPressureDelta()
1308 computeExcessPressureDelta(SavedPressure, CurrSetPressure, Delta, RCI, in getMaxDownwardPressureDelta()
DCriticalAntiDepBreaker.cpp31 const RegisterClassInfo &RCI) in CriticalAntiDepBreaker() argument
34 TRI(MF.getSubtarget().getRegisterInfo()), RegClassInfo(RCI), in CriticalAntiDepBreaker()
DRegAllocGreedy.cpp122 RegisterClassInfo RCI; member in __anon739613be0111::RAGreedy
1562 const RegisterClassInfo &RCI) { in getNumAllocatableRegsForConstraints() argument
1570 return RCI.getNumAllocatableRegs(ConstrainedRC); in getNumAllocatableRegsForConstraints()
1601 unsigned SuperRCNumAllocatableRegs = RCI.getNumAllocatableRegs(SuperRC); in tryInstructionSplit()
1611 TRI, RCI)) { in tryInstructionSplit()
2576 RCI.runOnMachineFunction(mf); in runOnMachineFunction()
DTargetLoweringBase.cpp1271 for (SuperRegClassIterator RCI(RC, TRI); RCI.isValid(); ++RCI) in findRepresentativeClass() local
1272 SuperRegRC.setBitsInMask(RCI.getMask()); in findRepresentativeClass()
DAggressiveAntiDepBreaker.cpp114 MachineFunction &MFi, const RegisterClassInfo &RCI, in AggressiveAntiDepBreaker() argument
118 TRI(MF.getSubtarget().getRegisterInfo()), RegClassInfo(RCI), in AggressiveAntiDepBreaker()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DRegisterClassInfo.cpp71 RCInfo &RCI = RegClass[RC->getID()]; in compute() local
76 if (!RCI.Order) in compute()
77 RCI.Order.reset(new unsigned[NumRegs]); in compute()
94 RCI.Order[N++] = PhysReg; in compute()
96 RCI.NumRegs = N + CSRAlias.size(); in compute()
97 assert (RCI.NumRegs <= NumRegs && "Allocation order larger than regclass"); in compute()
100 std::copy(CSRAlias.begin(), CSRAlias.end(), &RCI.Order[N]); in compute()
104 if (Super != RC && getNumAllocatableRegs(Super) > RCI.NumRegs) in compute()
105 RCI.ProperSubClass = true; in compute()
109 for (unsigned I = 0; I != RCI.NumRegs; ++I) in compute()
[all …]
DAllocationOrder.cpp28 : Begin(0), End(0), Pos(0), RCI(RegClassInfo), OwnedBegin(false) { in AllocationOrder()
55 if (!RCI.isReserved(Order[i])) in AllocationOrder()
65 ArrayRef<unsigned> O = RCI.getOrder(RC); in AllocationOrder()
72 !RC->contains(Hint) || RCI.isReserved(Hint))) in AllocationOrder()
DRegisterClassInfo.h65 const RCInfo &RCI = RegClass[RC->getID()]; in get() local
66 if (Tag != RCI.Tag) in get()
68 return RCI; in get()
DAllocationOrder.h29 const RegisterClassInfo &RCI; variable
DRegAllocLinearScan.cpp407 for (TargetRegisterInfo::regclass_iterator RCI = tri_->regclass_begin(), in INITIALIZE_PASS_DEPENDENCY() local
408 E = tri_->regclass_end(); RCI != E; ++RCI) { in INITIALIZE_PASS_DEPENDENCY()
409 RelatedRegClasses.insert(*RCI); in INITIALIZE_PASS_DEPENDENCY()
410 for (TargetRegisterClass::iterator I = (*RCI)->begin(), E = (*RCI)->end(); in INITIALIZE_PASS_DEPENDENCY()
418 RelatedRegClasses.unionSets(PRC, *RCI); in INITIALIZE_PASS_DEPENDENCY()
420 PRC = *RCI; in INITIALIZE_PASS_DEPENDENCY()
DAggressiveAntiDepBreaker.h134 const RegisterClassInfo &RCI,
DPostRASchedulerList.cpp185 AliasAnalysis *AA, const RegisterClassInfo &RCI, in SchedulePostRATDList() argument
197 (AntiDepBreaker *)new AggressiveAntiDepBreaker(MF, RCI, CriticalPathRCs) : in SchedulePostRATDList()
199 (AntiDepBreaker *)new CriticalAntiDepBreaker(MF, RCI) : NULL)); in SchedulePostRATDList()
DCriticalAntiDepBreaker.cpp30 CriticalAntiDepBreaker(MachineFunction& MFi, const RegisterClassInfo &RCI) : in CriticalAntiDepBreaker() argument
35 RegClassInfo(RCI), in CriticalAntiDepBreaker()
DAggressiveAntiDepBreaker.cpp118 const RegisterClassInfo &RCI, in AggressiveAntiDepBreaker() argument
124 RegClassInfo(RCI), in AggressiveAntiDepBreaker()
/external/llvm/include/llvm/CodeGen/
DRegisterClassInfo.h71 const RCInfo &RCI = RegClass[RC->getID()]; in get() local
72 if (Tag != RCI.Tag) in get()
74 return RCI; in get()
DRegisterPressure.h343 const RegisterClassInfo *RCI;
381 MF(nullptr), TRI(nullptr), RCI(nullptr), LIS(nullptr), MBB(nullptr), P(rp),
385 MF(nullptr), TRI(nullptr), RCI(nullptr), LIS(nullptr), MBB(nullptr), P(rp),
/external/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp149 for (auto const &RCI : ConstInfo.RebasedConstants) in findConstantInsertionPoint() local
150 for (auto const &U : RCI.Uses) in findConstantInsertionPoint()
561 for (auto const &RCI : ConstInfo.RebasedConstants) { in emitBaseConstants() local
563 for (auto const &U : RCI.Uses) in emitBaseConstants()
564 emitBaseConstants(Base, RCI.Offset, U); in emitBaseConstants()
/external/llvm/lib/Target/AArch64/
DAArch64A57FPLoadBalancing.cpp117 RegisterClassInfo RCI; member in __anone408694a0111::AArch64A57FPLoadBalancing
326 RCI.runOnMachineFunction(F); in runOnMachineFunction()
534 auto Ord = RCI.getOrder(TRI->getRegClass(RegClassID)); in scavengeRegister()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp2757 for (TargetRegisterInfo::regclass_iterator RCI = RI->regclass_begin(), in getRegForInlineAsmConstraint() local
2758 E = RI->regclass_end(); RCI != E; ++RCI) { in getRegForInlineAsmConstraint()
2759 const TargetRegisterClass *RC = *RCI; in getRegForInlineAsmConstraint()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp2357 for (TargetRegisterInfo::regclass_iterator RCI = RI->regclass_begin(), in getRegForInlineAsmConstraint() local
2358 E = RI->regclass_end(); RCI != E; ++RCI) { in getRegForInlineAsmConstraint()
2359 const TargetRegisterClass *RC = *RCI; in getRegForInlineAsmConstraint()