Searched refs:StartValue (Results 1 - 4 of 4) sorted by relevance

/external/llvm/include/llvm/Transforms/Utils/
H A DLoopUtils.h91 : StartValue(nullptr), LoopExitInstr(nullptr), Kind(RK_NoRecurrence),
98 : StartValue(Start), LoopExitInstr(Exit), Kind(K), MinMaxKind(MK),
190 TrackingVH<Value> getRecurrenceStartValue() { return StartValue; }
242 TrackingVH<Value> StartValue; member in class:llvm::RecurrenceDescriptor
272 : StartValue(nullptr), IK(IK_NoInduction), Step(nullptr) {}
280 /// Compute the transformed value of Index at offset StartValue using step
282 /// For integer induction, returns StartValue + Index * StepValue.
283 /// For pointer induction, returns StartValue[Index * StepValue].
289 Value *getStartValue() const { return StartValue; }
316 TrackingVH<Value> StartValue; member in class:llvm::InductionDescriptor
[all...]
/external/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp658 : StartValue(Start), IK(K), Step(Step) {
663 assert(StartValue && "StartValue is null");
664 assert((IK != IK_PtrInduction || StartValue->getType()->isPointerTy()) &&
665 "StartValue is not a pointer for pointer induction");
666 assert((IK != IK_IntInduction || StartValue->getType()->isIntegerTy()) &&
667 "StartValue is not an integer for integer induction");
698 assert(Index->getType() == StartValue->getType() &&
699 "Index type does not match StartValue type");
711 return B.CreateSub(StartValue, Inde
778 Value *StartValue = local
[all...]
/external/llvm/lib/Analysis/
H A DScalarEvolutionExpander.cpp2063 Value *StartValue = expandCodeFor(Start, Ty, Loc); local
2086 Value *Add = Builder.CreateAdd(StartValue, MulV);
2087 Value *Sub = Builder.CreateSub(StartValue, MulV);
2090 Signed ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT, Sub, StartValue);
2093 Signed ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT, Add, StartValue);
/external/clang/lib/Sema/
H A DSemaInit.cpp2790 llvm::APSInt StartValue; local
2798 CheckArrayDesignatorExpr(*this, StartIndex, StartValue).get();
2808 } else if (StartValue.getBitWidth() > EndValue.getBitWidth())
2809 EndValue = EndValue.extend(StartValue.getBitWidth());
2810 else if (StartValue.getBitWidth() < EndValue.getBitWidth())
2811 StartValue = StartValue.extend(EndValue.getBitWidth());
2813 if (!StartDependent && !EndDependent && EndValue < StartValue) {
2815 << StartValue.toString(10) << EndValue.toString(10)

Completed in 230 milliseconds