Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp1348 auto *IVInc = in getIVIncrement() local
1350 if (!IVInc || LI->getLoopFor(IVInc->getParent()) != L) in getIVIncrement()
1354 if (matchIncrement(IVInc, LHS, Step) && LHS == PN) in getIVIncrement()
1355 return std::make_pair(IVInc, Step); in getIVIncrement()
1368 if (auto IVInc = getIVIncrement(PN, LI)) in isIVIncrement() local
1369 return IVInc->first == I; in isIVIncrement()
3929 auto IVInc = getIVIncrement(PN, &LI); in matchScaledValue() local
3930 if (!IVInc) in matchScaledValue()
3959 Instruction *IVInc = IVStep->first; in matchScaledValue() local
3969 TestAddrMode.ScaledReg = IVInc; in matchScaledValue()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp1888 struct IVInc { struct
1893 IVInc(Instruction *U, Value *O, const SCEV *E) in IVInc() function
1900 SmallVector<IVInc, 1> Incs;
1904 IVChain(const IVInc &Head, const SCEV *Base) in IVChain()
1907 using const_iterator = SmallVectorImpl<IVInc>::const_iterator;
1922 void add(const IVInc &X) { Incs.push_back(X); } in add()
2907 for (const IVInc &Inc : Chain) { in isProfitableChain()
3016 IVChainVec[ChainIdx].add(IVInc(UserInst, IVOper, LastIncExpr)); in ChainInstruction()
3155 for (const IVInc &Inc : Chain) { in FinalizeChain()
3188 const IVInc &Head = Chain.Incs[0]; in GenerateIVChain()
[all …]