Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A 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()
516 assert(!BaseRegs.empty() && "1*reg => reg, should not be needed."); in canonicalize()
520 ScaledReg = BaseRegs.pop_back_val(); in canonicalize()
529 auto I = find_if(BaseRegs, [&](const SCEV *S) { in canonicalize()
[all …]