/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/ |
D | LanaiDelaySlotFiller.cpp | 67 SmallSet<unsigned, 32> &RegUses); 73 SmallSet<unsigned, 32> &RegUses); 148 SmallSet<unsigned, 32> RegUses; in findDelayInstr() local 150 insertDefsUses(Slot, RegDefs, RegUses); in findDelayInstr() 168 if (delayHasHazard(FI, SawLoad, SawStore, RegDefs, RegUses)) { in findDelayInstr() 169 insertDefsUses(FI, RegDefs, RegUses); in findDelayInstr() 180 SmallSet<unsigned, 32> &RegUses) { in delayHasHazard() argument 212 if (isRegInSet(RegDefs, Reg) || isRegInSet(RegUses, Reg)) in delayHasHazard() 227 SmallSet<unsigned, 32> &RegUses) { in insertDefsUses() argument 242 RegUses.insert(Reg); in insertDefsUses()
|
/external/llvm/lib/Target/Lanai/ |
D | LanaiDelaySlotFiller.cpp | 68 SmallSet<unsigned, 32> &RegUses); 74 SmallSet<unsigned, 32> &RegUses); 150 SmallSet<unsigned, 32> RegUses; in findDelayInstr() local 152 insertDefsUses(Slot, RegDefs, RegUses); in findDelayInstr() 170 if (delayHasHazard(FI, SawLoad, SawStore, RegDefs, RegUses)) { in findDelayInstr() 171 insertDefsUses(FI, RegDefs, RegUses); in findDelayInstr() 182 SmallSet<unsigned, 32> &RegUses) { in delayHasHazard() argument 214 if (isRegInSet(RegDefs, Reg) || isRegInSet(RegUses, Reg)) in delayHasHazard() 229 SmallSet<unsigned, 32> &RegUses) { in insertDefsUses() argument 244 RegUses.insert(Reg); in insertDefsUses()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/ |
D | DelaySlotFiller.cpp | 69 SmallSet<unsigned, 32>& RegUses); 73 SmallSet<unsigned, 32>& RegUses); 81 SmallSet<unsigned, 32> &RegUses); 171 SmallSet<unsigned, 32> RegUses; in findDelayInstr() local 195 insertCallDefsUses(slot, RegDefs, RegUses); in findDelayInstr() 197 insertDefsUses(slot, RegDefs, RegUses); in findDelayInstr() 217 if (delayHasHazard(I, sawLoad, sawStore, RegDefs, RegUses)) { in findDelayInstr() 218 insertDefsUses(I, RegDefs, RegUses); in findDelayInstr() 231 SmallSet<unsigned, 32> &RegUses) in delayHasHazard() argument 260 if (IsRegInSet(RegDefs, Reg) || IsRegInSet(RegUses, Reg)) in delayHasHazard() [all …]
|
/external/llvm/lib/Target/Sparc/ |
D | DelaySlotFiller.cpp | 72 SmallSet<unsigned, 32>& RegUses); 76 SmallSet<unsigned, 32>& RegUses); 84 SmallSet<unsigned, 32> &RegUses); 174 SmallSet<unsigned, 32> RegUses; in findDelayInstr() local 198 insertCallDefsUses(slot, RegDefs, RegUses); in findDelayInstr() 200 insertDefsUses(slot, RegDefs, RegUses); in findDelayInstr() 220 if (delayHasHazard(I, sawLoad, sawStore, RegDefs, RegUses)) { in findDelayInstr() 221 insertDefsUses(I, RegDefs, RegUses); in findDelayInstr() 234 SmallSet<unsigned, 32> &RegUses) in delayHasHazard() argument 263 if (IsRegInSet(RegDefs, Reg) || IsRegInSet(RegUses, Reg)) in delayHasHazard() [all …]
|
/external/swiftshader/third_party/subzero/src/ |
D | IceRegAlloc.cpp | 470 --RegUses[RegAlias]; in handleActiveRangeExpiredOrInactive() 471 assert(RegUses[RegAlias] >= 0); in handleActiveRangeExpiredOrInactive() 494 assert(RegUses[RegAlias] >= 0); in handleInactiveRangeExpiredOrReactivated() 495 ++RegUses[RegAlias]; in handleInactiveRangeExpiredOrReactivated() 628 assert(RegUses[RegAlias] >= 0); in allocatePrecoloredRegister() 629 ++RegUses[RegAlias]; in allocatePrecoloredRegister() 641 assert(RegUses[RegAlias] >= 0); in allocatePreferredRegister() 642 ++RegUses[RegAlias]; in allocatePreferredRegister() 657 assert(RegUses[RegAlias] >= 0); in allocateFreeRegister() 658 ++RegUses[RegAlias]; in allocateFreeRegister() [all …]
|
D | IceRegAlloc.h | 128 llvm::SmallVector<int32_t, REGS_SIZE> RegUses; variable
|
/external/llvm/lib/CodeGen/ |
D | ImplicitNullChecks.cpp | 150 DenseSet<unsigned> RegUses; member in __anonad827e420111::HazardDetector 216 RegUses.insert(MO.getReg()); in rememberInstruction() 283 for (unsigned Reg : RegUses) in isSafeToHoist()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 381 const RegUseTracker &RegUses) const; 577 const RegUseTracker &RegUses) const { in hasRegsUsedByUsesOtherThan() 579 if (RegUses.isRegUsedByUsesOtherThan(ScaledReg, LUIdx)) in hasRegsUsedByUsesOtherThan() 582 if (RegUses.isRegUsedByUsesOtherThan(BaseReg, LUIdx)) in hasRegsUsedByUsesOtherThan() 1575 void LSRUse::RecomputeRegs(size_t LUIdx, RegUseTracker &RegUses) { in RecomputeRegs() argument 1587 RegUses.dropRegister(S, LUIdx); in RecomputeRegs() 1943 RegUseTracker RegUses; member in __anonf0be1d3d0911::LSRInstance 2607 RegUses.swapAndDropUse(LUIdx, Uses.size()); in DeleteUse() 3365 RegUses.countRegister(F.ScaledReg, LUIdx); in CountRegisters() 3367 RegUses.countRegister(BaseReg, LUIdx); in CountRegisters() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 298 const RegUseTracker &RegUses) const; 456 const RegUseTracker &RegUses) const { in hasRegsUsedByUsesOtherThan() 458 if (RegUses.isRegUsedByUsesOtherThan(ScaledReg, LUIdx)) in hasRegsUsedByUsesOtherThan() 461 if (RegUses.isRegUsedByUsesOtherThan(BaseReg, LUIdx)) in hasRegsUsedByUsesOtherThan() 1303 void LSRUse::RecomputeRegs(size_t LUIdx, RegUseTracker &RegUses) { in RecomputeRegs() argument 1315 RegUses.dropRegister(S, LUIdx); in RecomputeRegs() 1653 RegUseTracker RegUses; member in __anon790de1db0811::LSRInstance 2299 RegUses.swapAndDropUse(LUIdx, Uses.size()); in DeleteUse() 3043 RegUses.countRegister(F.ScaledReg, LUIdx); in CountRegisters() 3045 RegUses.countRegister(BaseReg, LUIdx); in CountRegisters() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | GCNRegPressure.cpp | 319 auto const RegUses = collectVirtualRegUses(MI, LIS, *MRI); in recede() local 323 for (const auto &U : RegUses) { in recede() 345 for (const auto &U : RegUses) { in recede()
|