Searched refs:StartValue (Results 1 – 4 of 4) sorted by relevance
/external/llvm/include/llvm/Transforms/Utils/ |
D | LoopUtils.h | 91 : StartValue(nullptr), LoopExitInstr(nullptr), Kind(RK_NoRecurrence), in RecurrenceDescriptor() 98 : StartValue(Start), LoopExitInstr(Exit), Kind(K), MinMaxKind(MK), in RecurrenceDescriptor() 190 TrackingVH<Value> getRecurrenceStartValue() { return StartValue; } in getRecurrenceStartValue() 242 TrackingVH<Value> StartValue; 272 : StartValue(nullptr), IK(IK_NoInduction), Step(nullptr) {} in InductionDescriptor() 289 Value *getStartValue() const { return StartValue; } in getStartValue() 316 TrackingVH<Value> StartValue; variable
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 658 : StartValue(Start), IK(K), Step(Step) { in InductionDescriptor() 663 assert(StartValue && "StartValue is null"); in InductionDescriptor() 664 assert((IK != IK_PtrInduction || StartValue->getType()->isPointerTy()) && in InductionDescriptor() 666 assert((IK != IK_IntInduction || StartValue->getType()->isIntegerTy()) && in InductionDescriptor() 698 assert(Index->getType() == StartValue->getType() && in transform() 711 return B.CreateSub(StartValue, Index); in transform() 714 return B.CreateAdd(StartValue, Index); in transform() 715 const SCEV *S = SE->getAddExpr(SE->getSCEV(StartValue), in transform() 717 return Exp.expandCodeFor(S, StartValue->getType(), &*B.GetInsertPoint()); in transform() 726 return B.CreateGEP(nullptr, StartValue, Index); in transform() [all …]
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 2063 Value *StartValue = expandCodeFor(Start, Ty, Loc); in generateOverflowCheck() local 2086 Value *Add = Builder.CreateAdd(StartValue, MulV); in generateOverflowCheck() 2087 Value *Sub = Builder.CreateSub(StartValue, MulV); in generateOverflowCheck() 2090 Signed ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT, Sub, StartValue); in generateOverflowCheck() 2093 Signed ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT, Add, StartValue); in generateOverflowCheck()
|
/external/clang/lib/Sema/ |
D | SemaInit.cpp | 2790 llvm::APSInt StartValue; in ActOnDesignatedInitializer() local 2798 CheckArrayDesignatorExpr(*this, StartIndex, StartValue).get(); in ActOnDesignatedInitializer() 2808 } else if (StartValue.getBitWidth() > EndValue.getBitWidth()) in ActOnDesignatedInitializer() 2809 EndValue = EndValue.extend(StartValue.getBitWidth()); in ActOnDesignatedInitializer() 2810 else if (StartValue.getBitWidth() < EndValue.getBitWidth()) in ActOnDesignatedInitializer() 2811 StartValue = StartValue.extend(EndValue.getBitWidth()); in ActOnDesignatedInitializer() 2813 if (!StartDependent && !EndDependent && EndValue < StartValue) { in ActOnDesignatedInitializer() 2815 << StartValue.toString(10) << EndValue.toString(10) in ActOnDesignatedInitializer()
|