Home
last modified time | relevance | path

Searched refs:BaseRegs (Results 1 – 1 of 1) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp366 SmallVector<const SCEV *, 4> BaseRegs; member
466 BaseRegs.push_back(Sum); in initialMatch()
472 BaseRegs.push_back(Sum); in initialMatch()
483 return BaseRegs.size() <= 1; in isCanonical()
488 if (Scale == 1 && BaseRegs.empty()) in isCanonical()
498 auto I = find_if(BaseRegs, [&](const SCEV *S) { in isCanonical()
502 return I == BaseRegs.end(); in isCanonical()
515 if (BaseRegs.empty()) { in canonicalize()
519 BaseRegs.push_back(ScaledReg); in canonicalize()
527 ScaledReg = BaseRegs.pop_back_val(); in canonicalize()
[all …]