Lines Matching defs:Factor
2937 if (const SCEVConstant *Factor =
2940 if (Factor->getAPInt().getSignificantBits() <= 64 && !Factor->isZero())
2941 Factors.insert(Factor->getAPInt().getSExtValue());
2942 } else if (const SCEVConstant *Factor =
2946 if (Factor->getAPInt().getSignificantBits() <= 64 && !Factor->isZero())
2947 Factors.insert(Factor->getAPInt().getSExtValue());
4246 for (int64_t Factor : Factors) {
4247 // Check that Factor can be represented by IntTy
4248 if (!ConstantInt::isValueValidForType(IntTy, Factor))
4251 if (Base.BaseOffset.isMin() && Factor == -1)
4256 Immediate NewBaseOffset = Base.BaseOffset.mulUnsigned(Factor);
4257 assert(Factor != 0 && "Zero factor not expected!");
4258 if (NewBaseOffset.getFixedValue() / Factor !=
4268 if (Offset.isMin() && Factor == -1)
4270 Offset = Offset.mulUnsigned(Factor);
4271 if (Offset.getFixedValue() / Factor != LU.MinOffset.getFixedValue())
4288 const SCEV *FactorS = SE.getConstant(IntTy, Factor);
4306 if (F.UnfoldedOffset.isMin() && Factor == -1)
4308 F.UnfoldedOffset = F.UnfoldedOffset.mulUnsigned(Factor);
4309 if (F.UnfoldedOffset.getFixedValue() / Factor !=
4339 for (int64_t Factor : Factors) {
4340 Base.Scale = Factor;
4364 const SCEV *FactorS = SE.getConstant(IntTy, Factor);
6274 for (int64_t Factor : Factors) {
6277 OS << '*' << Factor;