Home
last modified time | relevance | path

Searched refs:StartValue (Results 1 – 5 of 5) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DIVDescriptors.h75 : StartValue(Start), LoopExitInstr(Exit), Kind(K), FMF(FMF), in RecurrenceDescriptor()
187 TrackingVH<Value> getRecurrenceStartValue() const { return StartValue; } in getRecurrenceStartValue()
245 TrackingVH<Value> StartValue;
282 Value *getStartValue() const { return StartValue; } in getStartValue()
346 TrackingVH<Value> StartValue; variable
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp967 : StartValue(Start), IK(K), Step(Step), InductionBinOp(BOp) { in InductionDescriptor()
972 assert(StartValue && "StartValue is null"); in InductionDescriptor()
973 assert((IK != IK_PtrInduction || StartValue->getType()->isPointerTy()) && in InductionDescriptor()
975 assert((IK != IK_IntInduction || StartValue->getType()->isIntegerTy()) && in InductionDescriptor()
1022 Value *BEValue = nullptr, *StartValue = nullptr; in isFPInductionPHI() local
1025 StartValue = Phi->getIncomingValue(1); in isFPInductionPHI()
1030 StartValue = Phi->getIncomingValue(0); in isFPInductionPHI()
1057 D = InductionDescriptor(StartValue, IK_FpInduction, Step, BOp); in isFPInductionPHI()
1236 Value *StartValue = in isInductionPHI() local
1253 D = InductionDescriptor(StartValue, IK_IntInduction, Step, BOp, in isInductionPHI()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp2532 Value *StartValue = expandCodeForImpl( in generateOverflowCheck() local
2562 Add = Builder.CreateBitCast(expandAddToGEP(MulS, ARPtrTy, Ty, StartValue), in generateOverflowCheck()
2565 expandAddToGEP(NegMulS, ARPtrTy, Ty, StartValue), ARPtrTy); in generateOverflowCheck()
2567 Add = Builder.CreateAdd(StartValue, MulV); in generateOverflowCheck()
2568 Sub = Builder.CreateSub(StartValue, MulV); in generateOverflowCheck()
2572 Signed ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT, Sub, StartValue); in generateOverflowCheck()
2575 Signed ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT, Add, StartValue); in generateOverflowCheck()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp3214 llvm::APSInt StartValue; in ActOnDesignatedInitializer() local
3222 CheckArrayDesignatorExpr(*this, StartIndex, StartValue).get(); in ActOnDesignatedInitializer()
3232 } else if (StartValue.getBitWidth() > EndValue.getBitWidth()) in ActOnDesignatedInitializer()
3233 EndValue = EndValue.extend(StartValue.getBitWidth()); in ActOnDesignatedInitializer()
3234 else if (StartValue.getBitWidth() < EndValue.getBitWidth()) in ActOnDesignatedInitializer()
3235 StartValue = StartValue.extend(EndValue.getBitWidth()); in ActOnDesignatedInitializer()
3237 if (!StartDependent && !EndDependent && EndValue < StartValue) { in ActOnDesignatedInitializer()
3239 << toString(StartValue, 10) << toString(EndValue, 10) in ActOnDesignatedInitializer()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp3369 auto StartValue = ID.getStartValue(); in emitTransformedIndex() local
3424 assert(Index->getType() == StartValue->getType() && in emitTransformedIndex()
3427 return B.CreateSub(StartValue, Index); in emitTransformedIndex()
3430 return CreateAdd(StartValue, Offset); in emitTransformedIndex()
3436 StartValue->getType()->getPointerElementType(), StartValue, in emitTransformedIndex()
3453 return B.CreateBinOp(InductionBinOp->getOpcode(), StartValue, MulExp, in emitTransformedIndex()