/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-7.0/llvm/lib/Target/Lanai/ |
D | LanaiDelaySlotFiller.cpp | 68 SmallSet<unsigned, 32> &RegUses); 74 SmallSet<unsigned, 32> &RegUses); 149 SmallSet<unsigned, 32> RegUses; in findDelayInstr() local 151 insertDefsUses(Slot, RegDefs, RegUses); in findDelayInstr() 169 if (delayHasHazard(FI, SawLoad, SawStore, RegDefs, RegUses)) { in findDelayInstr() 170 insertDefsUses(FI, RegDefs, RegUses); in findDelayInstr() 181 SmallSet<unsigned, 32> &RegUses) { in delayHasHazard() argument 213 if (isRegInSet(RegDefs, Reg) || isRegInSet(RegUses, Reg)) in delayHasHazard() 228 SmallSet<unsigned, 32> &RegUses) { in insertDefsUses() argument 243 RegUses.insert(Reg); in insertDefsUses()
|
/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/llvm-7.0/llvm/lib/Target/Sparc/ |
D | DelaySlotFiller.cpp | 70 SmallSet<unsigned, 32>& RegUses); 74 SmallSet<unsigned, 32>& RegUses); 82 SmallSet<unsigned, 32> &RegUses); 172 SmallSet<unsigned, 32> RegUses; in findDelayInstr() local 196 insertCallDefsUses(slot, RegDefs, RegUses); in findDelayInstr() 198 insertDefsUses(slot, RegDefs, RegUses); in findDelayInstr() 218 if (delayHasHazard(I, sawLoad, sawStore, RegDefs, RegUses)) { in findDelayInstr() 219 insertDefsUses(I, RegDefs, RegUses); in findDelayInstr() 232 SmallSet<unsigned, 32> &RegUses) in delayHasHazard() argument 261 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 | 130 llvm::SmallVector<int32_t, REGS_SIZE> RegUses; variable
|
/external/llvm/lib/CodeGen/ |
D | ImplicitNullChecks.cpp | 150 DenseSet<unsigned> RegUses; member in __anon91c0b8480111::HazardDetector 216 RegUses.insert(MO.getReg()); in rememberInstruction() 283 for (unsigned Reg : RegUses) in isSafeToHoist()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 367 const RegUseTracker &RegUses) const; 563 const RegUseTracker &RegUses) const { in hasRegsUsedByUsesOtherThan() 565 if (RegUses.isRegUsedByUsesOtherThan(ScaledReg, LUIdx)) in hasRegsUsedByUsesOtherThan() 568 if (RegUses.isRegUsedByUsesOtherThan(BaseReg, LUIdx)) in hasRegsUsedByUsesOtherThan() 1546 void LSRUse::RecomputeRegs(size_t LUIdx, RegUseTracker &RegUses) { in RecomputeRegs() argument 1558 RegUses.dropRegister(S, LUIdx); in RecomputeRegs() 1911 RegUseTracker RegUses; member in __anonff5662f90811::LSRInstance 2574 RegUses.swapAndDropUse(LUIdx, Uses.size()); in DeleteUse() 3323 RegUses.countRegister(F.ScaledReg, LUIdx); in CountRegisters() 3325 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 __anon6408db610811::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-7.0/llvm/lib/Target/AMDGPU/ |
D | GCNRegPressure.cpp | 316 auto const RegUses = collectVirtualRegUses(MI, LIS, *MRI); in recede() local 320 for (const auto &U : RegUses) { in recede() 343 for (const auto &U : RegUses) { in recede()
|