Lines Matching defs:StartValue
2219 /// Compute the transformed value of Index at offset StartValue using step
2221 /// For integer induction, returns StartValue + Index * StepValue.
2222 /// For pointer induction, returns StartValue[Index * StepValue].
2226 emitTransformedIndex(IRBuilderBase &B, Value *Index, Value *StartValue,
2277 assert(Index->getType() == StartValue->getType() &&
2278 "Index type does not match StartValue type");
2280 return B.CreateSub(StartValue, Index);
2282 return CreateAdd(StartValue, Offset);
2285 return B.CreatePtrAdd(StartValue, CreateMul(Index, Step));
2296 return B.CreateBinOp(InductionBinOp->getOpcode(), StartValue, MulExp,