Lines Matching refs:ScaledReg

272   const SCEV *ScaledReg;  member
281 ScaledReg(nullptr), UnfoldedOffset(0) {} in Formula()
384 if (ScaledReg) in isCanonical()
402 ScaledReg = BaseRegs.back(); in canonicalize()
408 while (Try < BaseRegsSize && !isa<SCEVAddRecExpr>(ScaledReg)) in canonicalize()
409 std::swap(ScaledReg, BaseRegs[Try++]); in canonicalize()
420 BaseRegs.push_back(ScaledReg); in unscale()
421 ScaledReg = nullptr; in unscale()
428 return !!ScaledReg + BaseRegs.size(); in getNumRegs()
435 ScaledReg ? ScaledReg->getType() : in getType()
449 return S == ScaledReg || in referencesReg()
457 if (ScaledReg) in hasRegsUsedByUsesOtherThan()
458 if (RegUses.isRegUsedByUsesOtherThan(ScaledReg, LUIdx)) in hasRegsUsedByUsesOtherThan()
490 if (ScaledReg) in print()
491 OS << *ScaledReg; in print()
1000 if (const SCEV *ScaledReg = F.ScaledReg) { in RateFormula() local
1001 if (VisitedRegs.count(ScaledReg)) { in RateFormula()
1005 RatePrimaryRegister(ScaledReg, Regs, L, SE, DT, LoserRegs); in RateFormula()
1270 if (F.ScaledReg) Key.push_back(F.ScaledReg); in HasFormulaWithSameRegs()
1285 if (F.ScaledReg) Key.push_back(F.ScaledReg); in InsertFormula()
1293 assert((!F.ScaledReg || !F.ScaledReg->isZero()) && in InsertFormula()
1305 if (F.ScaledReg) in InsertFormula()
1306 Regs.insert(F.ScaledReg); in InsertFormula()
1324 if (F.ScaledReg) Regs.insert(F.ScaledReg); in RecomputeRegs()
2341 F.ScaledReg == OrigF.ScaledReg && in FindUseWithSimilarFormula()
3061 if (F.ScaledReg) in CountRegisters()
3062 RegUses.countRegister(F.ScaledReg, LUIdx); in CountRegisters()
3239 const SCEV *BaseReg = IsScaledReg ? Base.ScaledReg : Base.BaseRegs[Idx]; in GenerateReassociationsImpl()
3289 F.ScaledReg = nullptr; in GenerateReassociationsImpl()
3293 F.ScaledReg = InnerSum; in GenerateReassociationsImpl()
3371 const SCEV *G = IsScaledReg ? Base.ScaledReg : Base.BaseRegs[Idx]; in GenerateSymbolicOffsetsImpl()
3380 F.ScaledReg = G; in GenerateSymbolicOffsetsImpl()
3403 const SCEV *G = IsScaledReg ? Base.ScaledReg : Base.BaseRegs[Idx]; in GenerateConstantOffsetsImpl()
3415 F.ScaledReg = nullptr; in GenerateConstantOffsetsImpl()
3420 F.ScaledReg = NewG; in GenerateConstantOffsetsImpl()
3436 F.ScaledReg = G; in GenerateConstantOffsetsImpl()
3520 if (F.ScaledReg) { in GenerateICmpZeroScales()
3521 F.ScaledReg = SE.getMulExpr(F.ScaledReg, FactorS); in GenerateICmpZeroScales()
3522 if (getExactSDiv(F.ScaledReg, FactorS, SE) != Base.ScaledReg) in GenerateICmpZeroScales()
3593 F.ScaledReg = Quotient; in GenerateScales()
3620 if (F.ScaledReg) F.ScaledReg = SE.getAnyExtendExpr(F.ScaledReg, SrcTy); in GenerateTruncates()
3759 if (F.ScaledReg == OrigReg) { in GenerateCrossUseConstantOffsets()
3770 NewF.ScaledReg = SE.getAddExpr(NegImmS, NewF.ScaledReg); in GenerateCrossUseConstantOffsets()
3775 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(NewF.ScaledReg)) in GenerateCrossUseConstantOffsets()
3912 if (F.ScaledReg && in FilterOutUndesirableDedicatedRegisters()
3913 RegUses.isRegUsedByUsesOtherThan(F.ScaledReg, LUIdx)) in FilterOutUndesirableDedicatedRegisters()
3914 Key.push_back(F.ScaledReg); in FilterOutUndesirableDedicatedRegisters()
4250 if ((F.ScaledReg && F.ScaledReg == Reg) || in SolveRecurse()
4276 VisitedRegs.insert(F.ScaledReg ? F.ScaledReg : F.BaseRegs[0]); in SolveRecurse()
4494 const SCEV *ScaledS = F.ScaledReg; in Expand()