Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DIVDescriptors.h95 : StartValue(Start), LoopExitInstr(Exit), Kind(K), MinMaxKind(MK), in RecurrenceDescriptor()
202 TrackingVH<Value> getRecurrenceStartValue() { return StartValue; } in getRecurrenceStartValue()
236 TrackingVH<Value> StartValue;
274 Value *getStartValue() const { return StartValue; } in getStartValue()
343 TrackingVH<Value> StartValue; variable
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DIVDescriptors.cpp774 : StartValue(Start), IK(K), Step(Step), InductionBinOp(BOp) { in InductionDescriptor()
779 assert(StartValue && "StartValue is null"); in InductionDescriptor()
780 assert((IK != IK_PtrInduction || StartValue->getType()->isPointerTy()) && in InductionDescriptor()
782 assert((IK != IK_IntInduction || StartValue->getType()->isIntegerTy()) && in InductionDescriptor()
836 Value *BEValue = nullptr, *StartValue = nullptr; in isFPInductionPHI() local
839 StartValue = Phi->getIncomingValue(1); in isFPInductionPHI()
844 StartValue = Phi->getIncomingValue(0); in isFPInductionPHI()
871 D = InductionDescriptor(StartValue, IK_FpInduction, Step, BOp); in isFPInductionPHI()
1050 Value *StartValue = in isInductionPHI() local
1060 D = InductionDescriptor(StartValue, IK_IntInduction, Step, /*BOp=*/nullptr, in isInductionPHI()
[all …]
H A DScalarEvolutionExpander.cpp2181 Value *StartValue = expandCodeFor(Start, ARExpandTy, Loc); in generateOverflowCheck() local
2208 Add = Builder.CreateBitCast(expandAddToGEP(MulS, ARPtrTy, Ty, StartValue), in generateOverflowCheck()
2211 expandAddToGEP(NegMulS, ARPtrTy, Ty, StartValue), ARPtrTy); in generateOverflowCheck()
2213 Add = Builder.CreateAdd(StartValue, MulV); in generateOverflowCheck()
2214 Sub = Builder.CreateSub(StartValue, MulV); in generateOverflowCheck()
2218 Signed ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT, Sub, StartValue); in generateOverflowCheck()
2221 Signed ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT, Add, StartValue); in generateOverflowCheck()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaInit.cpp2982 llvm::APSInt StartValue; in ActOnDesignatedInitializer() local
2990 CheckArrayDesignatorExpr(*this, StartIndex, StartValue).get(); in ActOnDesignatedInitializer()
3000 } else if (StartValue.getBitWidth() > EndValue.getBitWidth()) in ActOnDesignatedInitializer()
3001 EndValue = EndValue.extend(StartValue.getBitWidth()); in ActOnDesignatedInitializer()
3002 else if (StartValue.getBitWidth() < EndValue.getBitWidth()) in ActOnDesignatedInitializer()
3003 StartValue = StartValue.extend(EndValue.getBitWidth()); in ActOnDesignatedInitializer()
3005 if (!StartDependent && !EndDependent && EndValue < StartValue) { in ActOnDesignatedInitializer()
3007 << StartValue.toString(10) << EndValue.toString(10) in ActOnDesignatedInitializer()
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2622 auto StartValue = ID.getStartValue(); in emitTransformedIndex() local
2656 assert(Index->getType() == StartValue->getType() && in emitTransformedIndex()
2659 return B.CreateSub(StartValue, Index); in emitTransformedIndex()
2662 return CreateAdd(StartValue, Offset); in emitTransformedIndex()
2668 nullptr, StartValue, in emitTransformedIndex()
2691 Value *BOp = B.CreateBinOp(InductionBinOp->getOpcode(), StartValue, MulExp, in emitTransformedIndex()