Lines Matching refs:RegUses
385 const RegUseTracker &RegUses) const;
581 const RegUseTracker &RegUses) const { in hasRegsUsedByUsesOtherThan()
583 if (RegUses.isRegUsedByUsesOtherThan(ScaledReg, LUIdx)) in hasRegsUsedByUsesOtherThan()
586 if (RegUses.isRegUsedByUsesOtherThan(BaseReg, LUIdx)) in hasRegsUsedByUsesOtherThan()
1568 void LSRUse::RecomputeRegs(size_t LUIdx, RegUseTracker &RegUses) { in RecomputeRegs() argument
1580 RegUses.dropRegister(S, LUIdx); in RecomputeRegs()
1937 RegUseTracker RegUses; member in __anon0126992b0911::LSRInstance
2602 RegUses.swapAndDropUse(LUIdx, Uses.size()); in DeleteUse()
3369 RegUses.countRegister(F.ScaledReg, LUIdx); in CountRegisters()
3371 RegUses.countRegister(BaseReg, LUIdx); in CountRegisters()
3395 SmallVector<const SCEV *, 8> Worklist(RegUses.begin(), RegUses.end()); in CollectLoopInvariantFixupsAndFormulae()
4066 if (!F.hasRegsUsedByUsesOtherThan(LUIdx, RegUses)) in GenerateTruncates()
4114 for (const SCEV *Use : RegUses) { in GenerateCrossUseConstantOffsets()
4121 UsedByIndicesMap[Reg] |= RegUses.getUsedByIndices(Use); in GenerateCrossUseConstantOffsets()
4148 const SmallBitVector &UsedByIndices = RegUses.getUsedByIndices(OrigReg); in GenerateCrossUseConstantOffsets()
4363 if (RegUses.isRegUsedByUsesOtherThan(Reg, LUIdx)) in FilterOutUndesirableDedicatedRegisters()
4367 RegUses.isRegUsedByUsesOtherThan(F.ScaledReg, LUIdx)) in FilterOutUndesirableDedicatedRegisters()
4401 LU.RecomputeRegs(LUIdx, RegUses); in FilterOutUndesirableDedicatedRegisters()
4490 LU.RecomputeRegs(LUIdx, RegUses); in NarrowSearchSpaceByDetectingSupersets()
4550 LUThatHas->RecomputeRegs(LUThatHas - &Uses.front(), RegUses); in NarrowSearchSpaceByCollapsingUnrolledCode()
4620 const SmallBitVector &UsedByIndices = RegUses.getUsedByIndices(Reg); in NarrowSearchSpaceByFilterFormulaWithSameScaledReg()
4625 const SmallBitVector &UsedByIndices = RegUses.getUsedByIndices(Reg); in NarrowSearchSpaceByFilterFormulaWithSameScaledReg()
4668 LU.RecomputeRegs(LUIdx, RegUses); in NarrowSearchSpaceByFilterFormulaWithSameScaledReg()
4720 LU.RecomputeRegs(LUIdx, RegUses); in NarrowSearchSpaceByFilterPostInc()
4785 for (const SCEV *Reg : RegUses) { in NarrowSearchSpaceByDeletingCostlyFormulas()
4853 LU.RecomputeRegs(LUIdx, RegUses); in NarrowSearchSpaceByDeletingCostlyFormulas()
4881 for (const SCEV *Reg : RegUses) { in NarrowSearchSpaceByPickingWinnerRegs()
4886 BestNum = RegUses.getUsedByIndices(Reg).count(); in NarrowSearchSpaceByPickingWinnerRegs()
4888 unsigned Count = RegUses.getUsedByIndices(Reg).count(); in NarrowSearchSpaceByPickingWinnerRegs()
4922 LU.RecomputeRegs(LUIdx, RegUses); in NarrowSearchSpaceByPickingWinnerRegs()
5661 RegUses.clear(); in LSRInstance()