Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Transforms/Utils/
DLoopUtils.h87 : StartValue(nullptr), LoopExitInstr(nullptr), Kind(RK_NoRecurrence), in RecurrenceDescriptor()
94 : StartValue(Start), LoopExitInstr(Exit), Kind(K), MinMaxKind(MK), in RecurrenceDescriptor()
179 TrackingVH<Value> getRecurrenceStartValue() { return StartValue; } in getRecurrenceStartValue()
231 TrackingVH<Value> StartValue;
261 : StartValue(nullptr), IK(IK_NoInduction), StepValue(nullptr) {} in InductionDescriptor()
277 Value *getStartValue() const { return StartValue; } in getStartValue()
289 TrackingVH<Value> StartValue; variable
/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp616 : StartValue(Start), IK(K), StepValue(Step) { in InductionDescriptor()
618 assert(StartValue && "StartValue is null"); in InductionDescriptor()
620 assert((IK != IK_PtrInduction || StartValue->getType()->isPointerTy()) && in InductionDescriptor()
622 assert((IK != IK_IntInduction || StartValue->getType()->isIntegerTy()) && in InductionDescriptor()
637 assert(Index->getType() == StartValue->getType() && in transform()
640 return B.CreateSub(StartValue, Index); in transform()
643 return B.CreateAdd(StartValue, Index); in transform()
652 return B.CreateGEP(nullptr, StartValue, Index); in transform()
677 Value *StartValue = in isInductionPHI() local
687 D = InductionDescriptor(StartValue, IK_IntInduction, CV); in isInductionPHI()
[all …]
/external/clang/lib/Sema/
DSemaInit.cpp2704 llvm::APSInt StartValue; in ActOnDesignatedInitializer() local
2712 CheckArrayDesignatorExpr(*this, StartIndex, StartValue).get(); in ActOnDesignatedInitializer()
2722 } else if (StartValue.getBitWidth() > EndValue.getBitWidth()) in ActOnDesignatedInitializer()
2723 EndValue = EndValue.extend(StartValue.getBitWidth()); in ActOnDesignatedInitializer()
2724 else if (StartValue.getBitWidth() < EndValue.getBitWidth()) in ActOnDesignatedInitializer()
2725 StartValue = StartValue.extend(EndValue.getBitWidth()); in ActOnDesignatedInitializer()
2727 if (!StartDependent && !EndDependent && EndValue < StartValue) { in ActOnDesignatedInitializer()
2729 << StartValue.toString(10) << EndValue.toString(10) in ActOnDesignatedInitializer()