Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Transforms/Utils/
DLoopUtils.h91 : 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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DIVDescriptors.h95 : StartValue(Start), LoopExitInstr(Exit), Kind(K), FMF(FMF), in RecurrenceDescriptor()
205 TrackingVH<Value> getRecurrenceStartValue() { return StartValue; } in getRecurrenceStartValue()
239 TrackingVH<Value> StartValue;
280 Value *getStartValue() const { return StartValue; } in getStartValue()
353 TrackingVH<Value> StartValue; variable
/external/llvm-project/llvm/include/llvm/Analysis/
DIVDescriptors.h82 : StartValue(Start), LoopExitInstr(Exit), Kind(K), FMF(FMF), in RecurrenceDescriptor()
197 TrackingVH<Value> getRecurrenceStartValue() const { return StartValue; } in getRecurrenceStartValue()
236 TrackingVH<Value> StartValue;
277 Value *getStartValue() const { return StartValue; } in getStartValue()
350 TrackingVH<Value> StartValue; variable
/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp658 : 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/OpenCL-CTS/test_conformance/c11_atomics/
Dtest_atomics.cpp327 using CBasicTestMemOrderScope<HostAtomicType, HostDataType>::StartValue;
334 StartValue(123456); in CBasicTestExchange()
370 if(value == (cl_uint)StartValue()) in VerifyRefs()
375 …og_error("ERROR: Starting reference value (%u) occurred more thane once\n", (cl_uint)StartValue()); in VerifyRefs()
454 using CBasicTestMemOrder2Scope<HostAtomicType, HostDataType>::StartValue;
466 StartValue(123456); in CBasicTestCompareStrong()
520 HostDataType expected = (HostDataType)StartValue(), previous; in HostFunction()
553 if(value == (cl_uint)StartValue()) in VerifyRefs()
558 …og_error("ERROR: Starting reference value (%u) occurred more thane once\n", (cl_uint)StartValue()); in VerifyRefs()
635 using CBasicTestCompareStrong<HostAtomicType, HostDataType>::StartValue;
[all …]
Dcommon.h376 void StartValue(HostDataType startValue) {_startValue = startValue;} in StartValue() function
377 HostDataType StartValue() {return _startValue;} in StartValue() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DIVDescriptors.cpp801 : StartValue(Start), IK(K), Step(Step), InductionBinOp(BOp) { in InductionDescriptor()
806 assert(StartValue && "StartValue is null"); in InductionDescriptor()
807 assert((IK != IK_PtrInduction || StartValue->getType()->isPointerTy()) && in InductionDescriptor()
809 assert((IK != IK_IntInduction || StartValue->getType()->isIntegerTy()) && in InductionDescriptor()
863 Value *BEValue = nullptr, *StartValue = nullptr; in isFPInductionPHI() local
866 StartValue = Phi->getIncomingValue(1); in isFPInductionPHI()
871 StartValue = Phi->getIncomingValue(0); in isFPInductionPHI()
898 D = InductionDescriptor(StartValue, IK_FpInduction, Step, BOp); in isFPInductionPHI()
1077 Value *StartValue = in isInductionPHI() local
1094 D = InductionDescriptor(StartValue, IK_IntInduction, Step, BOp, in isInductionPHI()
[all …]
DScalarEvolutionExpander.cpp2271 Value *StartValue = expandCodeFor(Start, ARExpandTy, Loc); in generateOverflowCheck() local
2298 Add = Builder.CreateBitCast(expandAddToGEP(MulS, ARPtrTy, Ty, StartValue), in generateOverflowCheck()
2301 expandAddToGEP(NegMulS, ARPtrTy, Ty, StartValue), ARPtrTy); in generateOverflowCheck()
2303 Add = Builder.CreateAdd(StartValue, MulV); in generateOverflowCheck()
2304 Sub = Builder.CreateSub(StartValue, MulV); in generateOverflowCheck()
2308 Signed ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT, Sub, StartValue); in generateOverflowCheck()
2311 Signed ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT, Add, StartValue); in generateOverflowCheck()
/external/llvm-project/llvm/lib/Analysis/
DIVDescriptors.cpp895 : StartValue(Start), IK(K), Step(Step), InductionBinOp(BOp) { in InductionDescriptor()
900 assert(StartValue && "StartValue is null"); in InductionDescriptor()
901 assert((IK != IK_PtrInduction || StartValue->getType()->isPointerTy()) && in InductionDescriptor()
903 assert((IK != IK_IntInduction || StartValue->getType()->isIntegerTy()) && in InductionDescriptor()
957 Value *BEValue = nullptr, *StartValue = nullptr; in isFPInductionPHI() local
960 StartValue = Phi->getIncomingValue(1); in isFPInductionPHI()
965 StartValue = Phi->getIncomingValue(0); in isFPInductionPHI()
992 D = InductionDescriptor(StartValue, IK_FpInduction, Step, BOp); in isFPInductionPHI()
1171 Value *StartValue = in isInductionPHI() local
1188 D = InductionDescriptor(StartValue, IK_IntInduction, Step, BOp, in isInductionPHI()
[all …]
/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/
Dflags_test.cpp20 static void testFlag(scudo::FlagType Type, T StartValue, const char *Env, in testFlag() argument
23 T Flag = StartValue; in testFlag()
/external/scudo/standalone/tests/
Dflags_test.cpp20 static void testFlag(scudo::FlagType Type, T StartValue, const char *Env, in testFlag() argument
23 T Flag = StartValue; in testFlag()
/external/llvm-project/llvm/lib/Transforms/Utils/
DScalarEvolutionExpander.cpp2496 Value *StartValue = expandCodeForImpl(Start, ARExpandTy, Loc, false); in generateOverflowCheck() local
2523 Add = Builder.CreateBitCast(expandAddToGEP(MulS, ARPtrTy, Ty, StartValue), in generateOverflowCheck()
2526 expandAddToGEP(NegMulS, ARPtrTy, Ty, StartValue), ARPtrTy); in generateOverflowCheck()
2528 Add = Builder.CreateAdd(StartValue, MulV); in generateOverflowCheck()
2529 Sub = Builder.CreateSub(StartValue, MulV); in generateOverflowCheck()
2533 Signed ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT, Sub, StartValue); in generateOverflowCheck()
2536 Signed ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT, Add, StartValue); in generateOverflowCheck()
/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp2063 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/
DSemaInit.cpp2790 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()
/external/llvm-project/clang/lib/Sema/
DSemaInit.cpp3185 llvm::APSInt StartValue; in ActOnDesignatedInitializer() local
3193 CheckArrayDesignatorExpr(*this, StartIndex, StartValue).get(); in ActOnDesignatedInitializer()
3203 } else if (StartValue.getBitWidth() > EndValue.getBitWidth()) in ActOnDesignatedInitializer()
3204 EndValue = EndValue.extend(StartValue.getBitWidth()); in ActOnDesignatedInitializer()
3205 else if (StartValue.getBitWidth() < EndValue.getBitWidth()) in ActOnDesignatedInitializer()
3206 StartValue = StartValue.extend(EndValue.getBitWidth()); in ActOnDesignatedInitializer()
3208 if (!StartDependent && !EndDependent && EndValue < StartValue) { in ActOnDesignatedInitializer()
3210 << StartValue.toString(10) << EndValue.toString(10) in ActOnDesignatedInitializer()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2829 auto StartValue = ID.getStartValue(); in emitTransformedIndex() local
2863 assert(Index->getType() == StartValue->getType() && in emitTransformedIndex()
2866 return B.CreateSub(StartValue, Index); in emitTransformedIndex()
2869 return CreateAdd(StartValue, Offset); in emitTransformedIndex()
2875 StartValue->getType()->getPointerElementType(), StartValue, in emitTransformedIndex()
2898 Value *BOp = B.CreateBinOp(InductionBinOp->getOpcode(), StartValue, MulExp, in emitTransformedIndex()
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp3200 auto StartValue = ID.getStartValue(); in emitTransformedIndex() local
3246 assert(Index->getType() == StartValue->getType() && in emitTransformedIndex()
3249 return B.CreateSub(StartValue, Index); in emitTransformedIndex()
3252 return CreateAdd(StartValue, Offset); in emitTransformedIndex()
3258 StartValue->getType()->getPointerElementType(), StartValue, in emitTransformedIndex()
3281 Value *BOp = B.CreateBinOp(InductionBinOp->getOpcode(), StartValue, MulExp, in emitTransformedIndex()