/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
H A D | LanaiDelaySlotFiller.cpp | 66 SmallSet<unsigned, 32> &RegUses); 72 SmallSet<unsigned, 32> &RegUses); 147 SmallSet<unsigned, 32> RegUses; in findDelayInstr() local 149 insertDefsUses(Slot, RegDefs, RegUses); in findDelayInstr() 167 if (delayHasHazard(FI, SawLoad, SawStore, RegDefs, RegUses)) { in findDelayInstr() 168 insertDefsUses(FI, RegDefs, RegUses); in findDelayInstr() 179 SmallSet<unsigned, 32> &RegUses) { in delayHasHazard() argument 210 if (isRegInSet(RegDefs, Reg) || isRegInSet(RegUses, Reg)) in delayHasHazard() 225 SmallSet<unsigned, 32> &RegUses) { in insertDefsUses() argument 240 RegUses.insert(Reg); in insertDefsUses()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/ |
H A D | DelaySlotFiller.cpp | 68 SmallSet<unsigned, 32>& RegUses); 72 SmallSet<unsigned, 32>& RegUses); 80 SmallSet<unsigned, 32> &RegUses); 170 SmallSet<unsigned, 32> RegUses; in findDelayInstr() local 197 insertCallDefsUses(slot, RegDefs, RegUses); in findDelayInstr() 199 insertDefsUses(slot, RegDefs, RegUses); in findDelayInstr() 219 if (delayHasHazard(I, sawLoad, sawStore, RegDefs, RegUses)) { in findDelayInstr() 220 insertDefsUses(I, RegDefs, RegUses); in findDelayInstr() 233 SmallSet<unsigned, 32> &RegUses) in delayHasHazard() argument 261 if (IsRegInSet(RegDefs, Reg) || IsRegInSet(RegUses, Reg)) in delayHasHazard() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopStrengthReduce.cpp | 540 const RegUseTracker &RegUses) const; 742 const RegUseTracker &RegUses) const { in hasRegsUsedByUsesOtherThan() 744 if (RegUses.isRegUsedByUsesOtherThan(ScaledReg, LUIdx)) in hasRegsUsedByUsesOtherThan() 747 if (RegUses.isRegUsedByUsesOtherThan(BaseReg, LUIdx)) in hasRegsUsedByUsesOtherThan() 1761 void LSRUse::RecomputeRegs(size_t LUIdx, RegUseTracker &RegUses) { in RecomputeRegs() argument 1773 RegUses.dropRegister(S, LUIdx); in RecomputeRegs() 2180 RegUseTracker RegUses; member in __anonc21373340a11::LSRInstance 2850 RegUses.swapAndDropUse(LUIdx, Uses.size()); in DeleteUse() 3680 RegUses.countRegister(F.ScaledReg, LUIdx); in CountRegisters() 3682 RegUses.countRegister(BaseReg, LUIdx); in CountRegisters() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | GCNRegPressure.cpp | 401 SmallVector<RegisterMaskPair, 8> RegUses; in recede() local 402 collectVirtualRegUses(RegUses, MI, LIS, *MRI); in recede() 403 for (const RegisterMaskPair &U : RegUses) { in recede()
|
H A D | SILoadStoreOptimizer.cpp | 869 DenseSet<Register> &RegUses) { in addDefsUsesToList() argument 876 RegUses.insert(Op.getReg()); in addDefsUsesToList() 1189 DenseSet<Register> RegUses; in checkAndPrepareMerge() local 1193 addDefsUsesToList(*Paired.I, RegDefs, RegUses); in checkAndPrepareMerge() 1195 if (!canSwapInstructions(RegDefs, RegUses, *Paired.I, *MBBI)) in checkAndPrepareMerge() 1201 addDefsUsesToList(*CI.I, RegDefs, RegUses); in checkAndPrepareMerge() 1203 if (!canSwapInstructions(RegDefs, RegUses, *CI.I, *MBBI)) in checkAndPrepareMerge()
|