Lines Matching refs:Inc
74 PHINode *&BasePtr, BinaryOperator *&Inc,
198 BinaryOperator *&Inc, in matchStridedRecurrence() argument
208 if (!matchSimpleRecurrence(Phi, Inc, Start, Step) || in matchStridedRecurrence()
209 Inc->getOpcode() != Instruction::Add) in matchStridedRecurrence()
212 unsigned IncrementingBlock = Phi->getIncomingValue(0) == Inc ? 0 : 1; in matchStridedRecurrence()
213 assert(Phi->getIncomingValue(IncrementingBlock) == Inc && in matchStridedRecurrence()
233 Inc = BinaryOperator::CreateAdd(BasePtr, Step, Inc->getName() + ".scalar", in matchStridedRecurrence()
234 Inc->getIterator()); in matchStridedRecurrence()
236 BasePtr->addIncoming(Inc, Phi->getIncomingBlock(IncrementingBlock)); in matchStridedRecurrence()
289 if (!matchStridedRecurrence(Index, L, Stride, BasePtr, Inc, Builder)) in matchStridedRecurrence()
293 unsigned StepIndex = Inc->getOperand(0) == BasePtr ? 1 : 0; in matchStridedRecurrence()
294 unsigned StartBlock = BasePtr->getOperand(0) == Inc ? 1 : 0; in matchStridedRecurrence()
295 Value *Step = Inc->getOperand(StepIndex); in matchStridedRecurrence()
327 Inc->setOperand(StepIndex, Step); in matchStridedRecurrence()
452 BinaryOperator *Inc; in determineBaseAndStride() local
454 if (!matchStridedRecurrence(VecIndex, L, Stride, BasePhi, Inc, Builder)) in determineBaseAndStride()
458 unsigned IncrementingBlock = BasePhi->getOperand(0) == Inc ? 0 : 1; in determineBaseAndStride()
459 assert(BasePhi->getIncomingValue(IncrementingBlock) == Inc && in determineBaseAndStride()