Home | History | Annotate | Download | only in Scalar

Lines Matching refs:Factors

1516   /// Factors - Interesting factors between use strides.
1517 SmallSetVector<int64_t, 8> Factors;
2243 // Compute interesting factors from the set of interesting strides.
2263 Factors.insert(Factor->getValue()->getValue().getSExtValue());
2269 Factors.insert(Factor->getValue()->getValue().getSExtValue());
2873 for (size_t i = 0, e = Factors.size(); i != e; ++i)
2874 if (Factors[i] != -1)
2875 Factors.insert(-(uint64_t)Factors[i]);
2876 Factors.insert(-1);
3285 I = Factors.begin(), E = Factors.end(); I != E; ++I) {
3313 const SCEV *FactorS = SE.getConstant(IntTy, Factor);
3317 F.BaseRegs[i] = SE.getMulExpr(F.BaseRegs[i], FactorS);
3318 if (getExactSDiv(F.BaseRegs[i], FactorS, SE) != Base.BaseRegs[i])
3324 F.ScaledReg = SE.getMulExpr(F.ScaledReg, FactorS);
3325 if (getExactSDiv(F.ScaledReg, FactorS, SE) != Base.ScaledReg)
3356 I = Factors.begin(), E = Factors.end(); I != E; ++I) {
3383 const SCEV *FactorS = SE.getConstant(IntTy, Factor);
3384 if (FactorS->isZero())
3388 if (const SCEV *Quotient = getExactSDiv(AR, FactorS, SE, true)) {
4671 Factors.clear();
4696 if (Factors.empty() && Types.empty()) return;
4698 OS << "LSR has identified the following interesting factors and types: ";
4702 I = Factors.begin(), E = Factors.end(); I != E; ++I) {