Home
last modified time | relevance | path

Searched refs:IncValue (Results 1 – 11 of 11) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LowerAMXType.cpp779 Value *IncValue = OldPN->getIncomingValue(I); in optimizeAMXCastFromPhi() local
782 if (isa<Constant>(IncValue)) { in optimizeAMXCastFromPhi()
783 auto *IncConst = dyn_cast<Constant>(IncValue); in optimizeAMXCastFromPhi()
784 if (!isa<UndefValue>(IncValue) && !IncConst->isZeroValue()) in optimizeAMXCastFromPhi()
799 {IncValue->getType()}, {NewInst}); in optimizeAMXCastFromPhi()
803 IncValue = NewInst; in optimizeAMXCastFromPhi()
806 if (auto *PNode = dyn_cast<PHINode>(IncValue)) { in optimizeAMXCastFromPhi()
811 Instruction *ACI = dyn_cast<Instruction>(IncValue); in optimizeAMXCastFromPhi()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp221 int64_t IncValue; in handleFloatingPointIV() local
223 !ConvertToSInt(IncValueVal->getValueAPF(), IncValue)) in handleFloatingPointIV()
288 if (!isInt<32>(InitValue) || !isInt<32>(IncValue) || !isInt<32>(ExitValue)) in handleFloatingPointIV()
292 if (IncValue == 0) in handleFloatingPointIV()
296 if (IncValue > 0) { in handleFloatingPointIV()
309 unsigned Leftover = Range % uint32_t(IncValue); in handleFloatingPointIV()
320 if (Leftover != 0 && int32_t(ExitValue+IncValue) < ExitValue) in handleFloatingPointIV()
335 unsigned Leftover = Range % uint32_t(-IncValue); in handleFloatingPointIV()
346 if (Leftover != 0 && int32_t(ExitValue+IncValue) > ExitValue) in handleFloatingPointIV()
358 BinaryOperator::CreateAdd(NewPHI, ConstantInt::get(Int32Ty, IncValue), in handleFloatingPointIV()
H A DLICM.cpp1335 for (const Value *IncValue : PN.incoming_values()) in isTriviallyReplaceablePHI() local
1336 if (IncValue != &I) in isTriviallyReplaceablePHI()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp359 for (Value *IncValue : PN->incoming_values()) in canEvaluateTruncated()
360 if (!canEvaluateTruncated(IncValue, Ty, IC, CxtI)) in canEvaluateTruncated()
1378 for (Value *IncValue : PN->incoming_values()) in canEvaluateSExtd()
1379 if (!canEvaluateSExtd(IncValue, Ty)) return false; in canEvaluateSExtd()
2432 for (Value *IncValue : OldPN->incoming_values()) { in optimizeBitCastFromPhi()
2433 if (isa<Constant>(IncValue)) in optimizeBitCastFromPhi()
2436 if (auto *LI = dyn_cast<LoadInst>(IncValue)) { in optimizeBitCastFromPhi()
2457 if (auto *PNode = dyn_cast<PHINode>(IncValue)) { in optimizeBitCastFromPhi()
2463 auto *BCI = dyn_cast<BitCastInst>(IncValue); in optimizeBitCastFromPhi()
H A DInstCombinePHI.cpp779 for (Value *IncValue : PN.incoming_values()) in foldPHIArgLoadIntoPHI()
780 cast<LoadInst>(IncValue)->setVolatile(false); in foldPHIArgLoadIntoPHI()
H A DInstCombineShifts.cpp599 for (Value *IncValue : PN->incoming_values()) in canEvaluateShifted()
600 if (!canEvaluateShifted(IncValue, NumBits, IsLeftShift, IC, PN)) in canEvaluateShifted()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp1090 for (Value *IncValue : PN->incoming_values()) in isFunctionMallocLike()
1091 FlowsToReturn.insert(IncValue); in isFunctionMallocLike()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp1366 Value *IncValue = P->getIncomingValue(u); in computeKnownBitsFromOperator() local
1368 if (IncValue == P) continue; in computeKnownBitsFromOperator()
1383 computeKnownBits(IncValue, Known2, MaxAnalysisRecursionDepth - 1, RecQ); in computeKnownBitsFromOperator()
1393 m_Br(m_c_ICmp(Pred, m_Specific(IncValue), m_APInt(RHSC)), in computeKnownBitsFromOperator()
5282 for (Value *IncValue : P->incoming_values()) { in computeKnownFPClass()
5284 if (IncValue == P) in computeKnownFPClass()
5291 computeKnownFPClass(IncValue, DemandedElts, InterestedClasses, KnownSrc, in computeKnownFPClass()
5783 for (Value *IncValue : PN->incoming_values()) { in GetStringLengthH()
5784 uint64_t Len = GetStringLengthH(IncValue, PHIs, CharSize); in GetStringLengthH()
6084 for (Value *IncValue : PN->incoming_values()) in findAllocaForValue()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp3338 for (Value *IncValue : PN.incoming_values()) { in visitPHINode()
3339 Check(PN.getType() == IncValue->getType(), in visitPHINode()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp15926 int IncValue = IncOffset; in PerformDAGCombine() local
15934 --IncValue; in PerformDAGCombine()
15937 DAG.getConstant(IncValue, dl, getPointerTy(MF.getDataLayout())); in PerformDAGCombine()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp13171 for (Value *IncValue : PN->incoming_values()) in collectValuesToDemote()
13172 if (!collectValuesToDemote(IncValue, ToDemote, DemotedConsts, Roots, in collectValuesToDemote()