reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Scalar/LoopStrengthReduce.cpp
  469   if (Scale != 1)
  472   if (Scale == 1 && BaseRegs.empty())
  507     Scale = 1;
  530   if (Scale != 1)
  532   Scale = 0;
  608   if (Scale != 0) {
  610     OS << Scale << "*reg(";
 1357         NumBaseParts - (1 + (F.Scale && isAMCompletelyFolded(*TTI, LU, F)));
 1377                               Offset, F.HasBaseReg, F.Scale, Fixup.UserInst))
 1714   assert((F.isCanonical(L) || F.Scale != 0));
 1716                               F.BaseGV, F.BaseOffset, F.HasBaseReg, F.Scale);
 1738                     F.BaseOffset, F.HasBaseReg, F.Scale);
 1748                                 F.Scale, Fixup.UserInst))
 1755                               F.Scale);
 1761   if (!F.Scale)
 1768     return F.Scale != 1;
 1775         F.Scale, LU.AccessTy.AddrSpace);
 1778         F.Scale, LU.AccessTy.AddrSpace);
 2634             F.Scale == OrigF.Scale &&
 2634             F.Scale == OrigF.Scale &&
 3672   if (Base.Scale == 1)
 3682   if (Base.BaseRegs.size() + (Base.Scale == 1) +
 3768   if (Base.Scale == 1)
 3789           F.Scale = 0;
 3857   if (Base.Scale == 1)
 3964   if (Base.Scale != 0 && !Base.unscale())
 3967   assert(Base.Scale == 0 && "unscale did not did its job!");
 3971     Base.Scale = Factor;
 4008           if (F.Scale == 1 && (F.BaseRegs.empty() ||
 4013           if (F.Scale == 1 && LU.AllFixupsOutsideLoop)
 4204         int64_t Offset = (uint64_t)F.BaseOffset + Imm * (uint64_t)F.Scale;
 4221               (C->getAPInt().abs() * APInt(BitWidth, F.Scale))
 4507       if (F.BaseOffset == 0 || (F.Scale != 0 && F.Scale != 1))
 4507       if (F.BaseOffset == 0 || (F.Scale != 0 && F.Scale != 1))
 4642       auto P = BestFormulae.insert({{F.ScaledReg, F.Scale}, FIdx});
 5170   if (F.Scale != 0) {
 5179       if (F.Scale == 1)
 5186         assert(F.Scale == -1 &&
 5203       if (F.Scale != 1)
 5205             SE.getMulExpr(ScaledS, SE.getConstant(ScaledS->getType(), F.Scale));
 5273     if (F.Scale == -1) {
 5285       assert((F.Scale == 0 || F.Scale == 1) &&
 5285       assert((F.Scale == 0 || F.Scale == 1) &&