Searched refs:IVInc (Results 1 – 2 of 2) sorted by relevance
| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/ |
| D | CodeGenPrepare.cpp | 1419 bool matchIncrement(const Instruction *IVInc, Instruction *&LHS, in matchIncrement() argument 1421 if (match(IVInc, m_Add(m_Instruction(LHS), m_Constant(Step))) || in matchIncrement() 1422 match(IVInc, m_ExtractValue<0>(m_Intrinsic<Intrinsic::uadd_with_overflow>( in matchIncrement() 1425 if (match(IVInc, m_Sub(m_Instruction(LHS), m_Constant(Step))) || in matchIncrement() 1426 match(IVInc, m_ExtractValue<0>(m_Intrinsic<Intrinsic::usub_with_overflow>( in matchIncrement() 1442 auto *IVInc = in getIVIncrement() local 1444 if (!IVInc || LI->getLoopFor(IVInc->getParent()) != L) in getIVIncrement() 1448 if (matchIncrement(IVInc, LHS, Step) && LHS == PN) in getIVIncrement() 1449 return std::make_pair(IVInc, Step); in getIVIncrement() 1462 if (auto IVInc = getIVIncrement(PN, LI)) in isIVIncrement() local [all …]
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| D | LoopStrengthReduce.cpp | 1901 struct IVInc { struct 1906 IVInc(Instruction *U, Value *O, const SCEV *E) in IVInc() function 1913 SmallVector<IVInc, 1> Incs; 1917 IVChain(const IVInc &Head, const SCEV *Base) in IVChain() 1920 using const_iterator = SmallVectorImpl<IVInc>::const_iterator; 1935 void add(const IVInc &X) { Incs.push_back(X); } in add() 2915 for (const IVInc &Inc : Chain) { in isProfitableChain() 3015 IVChainVec.push_back(IVChain(IVInc(UserInst, IVOper, LastIncExpr), in ChainInstruction() 3024 IVChainVec[ChainIdx].add(IVInc(UserInst, IVOper, LastIncExpr)); in ChainInstruction() 3163 for (const IVInc &Inc : Chain) { in FinalizeChain() [all …]
|