Searched refs:IdxDiff (Results 1 – 2 of 2) sorted by relevance
392 static bool checkIfSafeAddSequence(const APInt &IdxDiff, Instruction *AddOpA, in checkIfSafeAddSequence() argument427 IdxDiff.getSExtValue() == CstVal) in checkIfSafeAddSequence()437 IdxDiff.getSExtValue() == -CstVal) in checkIfSafeAddSequence()454 IdxDiff.getSExtValue() == (CstValB - CstValA)) in checkIfSafeAddSequence()499 APInt IdxDiff = PtrDelta.udiv(Stride).zext(IdxBitWidth); in lookThroughComplexAddresses() local520 IdxDiff.sle(cast<ConstantInt>(OpB->getOperand(1))->getSExtValue()) && in lookThroughComplexAddresses()537 Safe = checkIfSafeAddSequence(IdxDiff, OpA, MatchingOpIdxA, OpB, in lookThroughComplexAddresses()550 APInt BitsAllowedToBeSet = Known.Zero.zext(IdxDiff.getBitWidth()); in lookThroughComplexAddresses()553 if (BitsAllowedToBeSet.ult(IdxDiff)) in lookThroughComplexAddresses()559 const SCEV *C = SE.getConstant(IdxDiff.trunc(BitWidth)); in lookThroughComplexAddresses()
1971 unsigned IdxDiff = Idx - PrevElt->second; in isSimpleVIDSequence() local1980 int64_t Remainder = ValDiff % IdxDiff; in isSimpleVIDSequence()1986 ValDiff /= IdxDiff; in isSimpleVIDSequence()1987 IdxDiff = 1; in isSimpleVIDSequence()1996 SeqStepDenom = IdxDiff; in isSimpleVIDSequence()1997 else if (IdxDiff != *SeqStepDenom) in isSimpleVIDSequence()