Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DIVDescriptors.h97 : IntermediateStore(Store), StartValue(Start), LoopExitInstr(Exit), in RecurrenceDescriptor()
229 TrackingVH<Value> getRecurrenceStartValue() const { return StartValue; } in getRecurrenceStartValue()
307 Type *Ty = StartValue->getType(); in getSentinelValue()
353 TrackingVH<Value> StartValue;
392 Value *getStartValue() const { return StartValue; } in getStartValue()
460 TrackingVH<Value> StartValue; variable
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstraintElimination.cpp1001 Value *StartValue = nullptr; in addInfoForInductions() local
1003 StartValue = C->getValue(); in addInfoForInductions()
1005 StartValue = PN->getIncomingValueForBlock(LoopPred); in addInfoForInductions()
1006 assert(SE.getSCEV(StartValue) == StartSCEV && "inconsistent start value"); in addInfoForInductions()
1020 FactOrCheck::getConditionFact(DTN, CmpInst::ICMP_UGE, PN, StartValue)); in addInfoForInductions()
1023 FactOrCheck::getConditionFact(DTN, CmpInst::ICMP_SGE, PN, StartValue)); in addInfoForInductions()
1045 DTN, CmpInst::ICMP_UGE, StartValue, PN, in addInfoForInductions()
1046 ConditionTy(CmpInst::ICMP_ULE, B, StartValue))); in addInfoForInductions()
1048 DTN, CmpInst::ICMP_SGE, StartValue, PN, in addInfoForInductions()
1049 ConditionTy(CmpInst::ICMP_SLE, B, StartValue))); in addInfoForInductions()
[all …]
H A DLoopTermFold.cpp254 Value *StartValue = ToHelpFold->getIncomingValueForBlock(LoopPreheader); in RunTermFold() local
255 (void)StartValue; in RunTermFold()
274 << *StartValue << "\n" in RunTermFold()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp1347 : StartValue(Start), IK(K), Step(Step), InductionBinOp(BOp) { in InductionDescriptor()
1352 assert(StartValue && "StartValue is null"); in InductionDescriptor()
1353 assert((IK != IK_PtrInduction || StartValue->getType()->isPointerTy()) && in InductionDescriptor()
1355 assert((IK != IK_IntInduction || StartValue->getType()->isIntegerTy()) && in InductionDescriptor()
1397 Value *BEValue = nullptr, *StartValue = nullptr; in isFPInductionPHI() local
1400 StartValue = Phi->getIncomingValue(1); in isFPInductionPHI()
1405 StartValue = Phi->getIncomingValue(0); in isFPInductionPHI()
1432 D = InductionDescriptor(StartValue, IK_FpInduction, Step, BOp); in isFPInductionPHI()
1617 Value *StartValue = in isInductionPHI() local
1634 D = InductionDescriptor(StartValue, IK_IntInduction, Step, BOp, in isInductionPHI()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILIntrinsicExpansion.cpp129 Constant *StartValue = dyn_cast<Constant>(Orig->getOperand(0)); in expandVecReduceAdd() local
130 if (StartValue && !StartValue->isZeroValue()) in expandVecReduceAdd()
131 Sum = Builder.CreateFAdd(Sum, StartValue); in expandVecReduceAdd()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp2117 Value *StartValue = expand(Start, Loc); in generateOverflowCheck() local
2172 Add = Builder.CreatePtrAdd(StartValue, MulV); in generateOverflowCheck()
2174 Sub = Builder.CreatePtrAdd(StartValue, NegMulV); in generateOverflowCheck()
2177 Add = Builder.CreateAdd(StartValue, MulV); in generateOverflowCheck()
2179 Sub = Builder.CreateSub(StartValue, MulV); in generateOverflowCheck()
2187 Signed ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT, Add, StartValue); in generateOverflowCheck()
2190 Signed ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT, Sub, StartValue); in generateOverflowCheck()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp3589 llvm::APSInt StartValue; in ActOnDesignatedInitializer() local
3597 CheckArrayDesignatorExpr(*this, StartIndex, StartValue).get(); in ActOnDesignatedInitializer()
3607 } else if (StartValue.getBitWidth() > EndValue.getBitWidth()) in ActOnDesignatedInitializer()
3608 EndValue = EndValue.extend(StartValue.getBitWidth()); in ActOnDesignatedInitializer()
3609 else if (StartValue.getBitWidth() < EndValue.getBitWidth()) in ActOnDesignatedInitializer()
3610 StartValue = StartValue.extend(EndValue.getBitWidth()); in ActOnDesignatedInitializer()
3612 if (!StartDependent && !EndDependent && EndValue < StartValue) { in ActOnDesignatedInitializer()
3614 << toString(StartValue, 10) << toString(EndValue, 10) in ActOnDesignatedInitializer()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2118 emitTransformedIndex(IRBuilderBase &B, Value *Index, Value *StartValue, in emitTransformedIndex() argument
2166 assert(Index->getType() == StartValue->getType() && in emitTransformedIndex()
2169 return B.CreateSub(StartValue, Index); in emitTransformedIndex()
2171 return CreateAdd(StartValue, Offset); in emitTransformedIndex()
2174 return B.CreatePtrAdd(StartValue, CreateMul(Index, Step)); in emitTransformedIndex()
2185 return B.CreateBinOp(InductionBinOp->getOpcode(), StartValue, MulExp, in emitTransformedIndex()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp11194 SDValue StartValue, SDValue Vec, SDValue Mask, in lowerReductionSeq() argument
11210 lowerScalarInsert(StartValue, InnerVL, InnerVT, DL, DAG, Subtarget); in lowerReductionSeq()