/external/swiftshader/third_party/LLVM/lib/Target/Sparc/ |
D | DelaySlotFiller.cpp | 65 SmallSet<unsigned, 32>& RegUses); 69 SmallSet<unsigned, 32>& RegUses); 77 SmallSet<unsigned, 32> &RegUses); 133 SmallSet<unsigned, 32> RegUses; in findDelayInstr() local 153 insertCallUses(slot, RegUses); in findDelayInstr() 155 insertDefsUses(slot, RegDefs, RegUses); in findDelayInstr() 177 if (delayHasHazard(I, sawLoad, sawStore, RegDefs, RegUses)) { in findDelayInstr() 178 insertDefsUses(I, RegDefs, RegUses); in findDelayInstr() 191 SmallSet<unsigned, 32> &RegUses) in delayHasHazard() argument 220 if (IsRegInSet(RegDefs, Reg) || IsRegInSet(RegUses, Reg)) in delayHasHazard() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/Mips/ |
D | MipsDelaySlotFiller.cpp | 68 SmallSet<unsigned, 32>& RegUses); 72 SmallSet<unsigned, 32>& RegUses); 80 SmallSet<unsigned, 32> &RegUses); 130 SmallSet<unsigned, 32> RegUses; in findDelayInstr() local 132 insertDefsUses(slot, RegDefs, RegUses); in findDelayInstr() 157 if (delayHasHazard(FI, sawLoad, sawStore, RegDefs, RegUses)) { in findDelayInstr() 158 insertDefsUses(FI, RegDefs, RegUses); in findDelayInstr() 173 SmallSet<unsigned, 32> &RegUses) { in delayHasHazard() argument 206 if (IsRegInSet(RegDefs, Reg) || IsRegInSet(RegUses, Reg)) in delayHasHazard() 221 SmallSet<unsigned, 32>& RegUses) { in insertDefsUses() argument [all …]
|
/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/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/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/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 243 const RegUseTracker &RegUses) const; 360 const RegUseTracker &RegUses) const { in hasRegsUsedByUsesOtherThan() 362 if (RegUses.isRegUsedByUsesOtherThan(ScaledReg, LUIdx)) in hasRegsUsedByUsesOtherThan() 366 if (RegUses.isRegUsedByUsesOtherThan(*I, LUIdx)) in hasRegsUsedByUsesOtherThan() 1123 void LSRUse::RecomputeRegs(size_t LUIdx, RegUseTracker &RegUses) { in RecomputeRegs() argument 1138 RegUses.DropRegister(*I, LUIdx); in RecomputeRegs() 1360 RegUseTracker RegUses; member in __anon5f7a77cb0711::LSRInstance 1985 RegUses.SwapAndDropUse(LUIdx, Uses.size()); in DeleteUse() 2196 RegUses.CountRegister(F.ScaledReg, LUIdx); in CountRegisters() 2199 RegUses.CountRegister(*I, LUIdx); in CountRegisters() [all …]
|
/external/llvm/lib/CodeGen/ |
D | ImplicitNullChecks.cpp | 150 DenseSet<unsigned> RegUses; member in __anonbe135b060111::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 __anon3e6f8af70811::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 __anon445c839f0811::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()
|