/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | IVDescriptors.h | 80 : IntermediateStore(Store), StartValue(Start), LoopExitInstr(Exit), in RecurrenceDescriptor() 203 TrackingVH<Value> getRecurrenceStartValue() const { return StartValue; } in getRecurrenceStartValue() 281 TrackingVH<Value> StartValue; 320 Value *getStartValue() const { return StartValue; } in getStartValue() 386 TrackingVH<Value> StartValue; variable
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | ConstraintElimination.cpp | 943 Value *StartValue = nullptr; in addInfoForInductions() local 945 StartValue = C->getValue(); in addInfoForInductions() 947 StartValue = PN->getIncomingValueForBlock(LoopPred); in addInfoForInductions() 948 assert(SE.getSCEV(StartValue) == StartSCEV && "inconsistent start value"); in addInfoForInductions() 962 FactOrCheck::getConditionFact(DTN, CmpInst::ICMP_UGE, PN, StartValue)); in addInfoForInductions() 965 FactOrCheck::getConditionFact(DTN, CmpInst::ICMP_SGE, PN, StartValue)); in addInfoForInductions() 987 DTN, CmpInst::ICMP_UGE, StartValue, PN, in addInfoForInductions() 988 ConditionTy(CmpInst::ICMP_ULE, B, StartValue))); in addInfoForInductions() 990 DTN, CmpInst::ICMP_SGE, StartValue, PN, in addInfoForInductions() 991 ConditionTy(CmpInst::ICMP_SLE, B, StartValue))); in addInfoForInductions() [all …]
|
H A D | LoopStrengthReduce.cpp | 7333 Value *StartValue = ToHelpFold->getIncomingValueForBlock(LoopPreheader); in ReduceLoopStrength() local 7334 (void)StartValue; in ReduceLoopStrength() 7353 << *StartValue << "\n" in ReduceLoopStrength()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | IVDescriptors.cpp | 1236 : StartValue(Start), IK(K), Step(Step), InductionBinOp(BOp) { in InductionDescriptor() 1241 assert(StartValue && "StartValue is null"); in InductionDescriptor() 1242 assert((IK != IK_PtrInduction || StartValue->getType()->isPointerTy()) && in InductionDescriptor() 1244 assert((IK != IK_IntInduction || StartValue->getType()->isIntegerTy()) && in InductionDescriptor() 1289 Value *BEValue = nullptr, *StartValue = nullptr; in isFPInductionPHI() local 1292 StartValue = Phi->getIncomingValue(1); in isFPInductionPHI() 1297 StartValue = Phi->getIncomingValue(0); in isFPInductionPHI() 1324 D = InductionDescriptor(StartValue, IK_FpInduction, Step, BOp); in isFPInductionPHI() 1509 Value *StartValue = in isInductionPHI() local 1526 D = InductionDescriptor(StartValue, IK_IntInduction, Step, BOp, in isInductionPHI() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | ScalarEvolutionExpander.cpp | 2116 Value *StartValue = expand(Start, Loc); in generateOverflowCheck() local 2165 Add = Builder.CreatePtrAdd(StartValue, MulV); in generateOverflowCheck() 2167 Sub = Builder.CreatePtrAdd(StartValue, NegMulV); in generateOverflowCheck() 2170 Add = Builder.CreateAdd(StartValue, MulV); in generateOverflowCheck() 2172 Sub = Builder.CreateSub(StartValue, MulV); in generateOverflowCheck() 2180 Signed ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT, Add, StartValue); in generateOverflowCheck() 2183 Signed ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT, Sub, StartValue); in generateOverflowCheck()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaInit.cpp | 3507 llvm::APSInt StartValue; in ActOnDesignatedInitializer() local 3515 CheckArrayDesignatorExpr(*this, StartIndex, StartValue).get(); in ActOnDesignatedInitializer() 3525 } else if (StartValue.getBitWidth() > EndValue.getBitWidth()) in ActOnDesignatedInitializer() 3526 EndValue = EndValue.extend(StartValue.getBitWidth()); in ActOnDesignatedInitializer() 3527 else if (StartValue.getBitWidth() < EndValue.getBitWidth()) in ActOnDesignatedInitializer() 3528 StartValue = StartValue.extend(EndValue.getBitWidth()); in ActOnDesignatedInitializer() 3530 if (!StartDependent && !EndDependent && EndValue < StartValue) { in ActOnDesignatedInitializer() 3532 << toString(StartValue, 10) << toString(EndValue, 10) in ActOnDesignatedInitializer()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorize.cpp | 2216 emitTransformedIndex(IRBuilderBase &B, Value *Index, Value *StartValue, in emitTransformedIndex() argument 2267 assert(Index->getType() == StartValue->getType() && in emitTransformedIndex() 2270 return B.CreateSub(StartValue, Index); in emitTransformedIndex() 2272 return CreateAdd(StartValue, Offset); in emitTransformedIndex() 2275 return B.CreatePtrAdd(StartValue, CreateMul(Index, Step)); in emitTransformedIndex() 2286 return B.CreateBinOp(InductionBinOp->getOpcode(), StartValue, MulExp, in emitTransformedIndex()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelLowering.cpp | 9803 SDValue StartValue, SDValue Vec, SDValue Mask, in lowerReductionSeq() 9818 SDValue InitialValue = lowerScalarInsert(StartValue, InnerVL, InnerVT, DL, in lowerReductionSeq() 9801 lowerReductionSeq(unsigned RVVOpcode,MVT ResVT,SDValue StartValue,SDValue Vec,SDValue Mask,SDValue VL,const SDLoc & DL,SelectionDAG & DAG,const RISCVSubtarget & Subtarget) lowerReductionSeq() argument
|