Lines Matching refs:IVInc

1325 bool matchIncrement(const Instruction* IVInc, Instruction *&LHS,  in matchIncrement()  argument
1327 if (match(IVInc, m_Add(m_Instruction(LHS), m_Constant(Step))) || in matchIncrement()
1328 match(IVInc, m_ExtractValue<0>(m_Intrinsic<Intrinsic::uadd_with_overflow>( in matchIncrement()
1331 if (match(IVInc, m_Sub(m_Instruction(LHS), m_Constant(Step))) || in matchIncrement()
1332 match(IVInc, m_ExtractValue<0>(m_Intrinsic<Intrinsic::usub_with_overflow>( in matchIncrement()
1348 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()
3938 if (auto *OIVInc = dyn_cast<OverflowingBinaryOperator>(IVInc->first)) in matchScaledValue()
3941 if (auto *ConstantStep = dyn_cast<ConstantInt>(IVInc->second)) in matchScaledValue()
3942 return std::make_pair(IVInc->first, ConstantStep->getValue()); in matchScaledValue()
3959 Instruction *IVInc = IVStep->first; in matchScaledValue() local
3964 assert(isIVIncrement(IVInc, &LI) && "implied by GetConstantStep"); in matchScaledValue()
3969 TestAddrMode.ScaledReg = IVInc; in matchScaledValue()
3975 getDTFn().dominates(IVInc, MemoryInst)) { in matchScaledValue()
3976 AddrModeInsts.push_back(cast<Instruction>(IVInc)); in matchScaledValue()