Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LowerAMXType.cpp785 Value *IncValue = OldPN->getIncomingValue(I); in optimizeAMXCastFromPhi() local
788 if (isa<Constant>(IncValue)) { in optimizeAMXCastFromPhi()
789 auto *IncConst = dyn_cast<Constant>(IncValue); in optimizeAMXCastFromPhi()
790 if (!isa<UndefValue>(IncValue) && !IncConst->isZeroValue()) in optimizeAMXCastFromPhi()
805 {IncValue->getType()}, {NewInst}); in optimizeAMXCastFromPhi()
809 IncValue = NewInst; in optimizeAMXCastFromPhi()
812 if (auto *PNode = dyn_cast<PHINode>(IncValue)) { in optimizeAMXCastFromPhi()
817 Instruction *ACI = dyn_cast<Instruction>(IncValue); in optimizeAMXCastFromPhi()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp226 int64_t IncValue; in handleFloatingPointIV() local
228 !ConvertToSInt(IncValueVal->getValueAPF(), IncValue)) in handleFloatingPointIV()
293 if (!isInt<32>(InitValue) || !isInt<32>(IncValue) || !isInt<32>(ExitValue)) in handleFloatingPointIV()
297 if (IncValue == 0) in handleFloatingPointIV()
301 if (IncValue > 0) { in handleFloatingPointIV()
314 unsigned Leftover = Range % uint32_t(IncValue); in handleFloatingPointIV()
325 if (Leftover != 0 && int32_t(ExitValue+IncValue) < ExitValue) in handleFloatingPointIV()
340 unsigned Leftover = Range % uint32_t(-IncValue); in handleFloatingPointIV()
351 if (Leftover != 0 && int32_t(ExitValue+IncValue) > ExitValue) in handleFloatingPointIV()
365 BinaryOperator::CreateAdd(NewPHI, ConstantInt::get(Int32Ty, IncValue), in handleFloatingPointIV()
H A DLICM.cpp1346 for (const Value *IncValue : PN.incoming_values()) in isTriviallyReplaceablePHI() local
1347 if (IncValue != &I) in isTriviallyReplaceablePHI()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp367 for (Value *IncValue : PN->incoming_values()) in canEvaluateTruncated()
368 if (!canEvaluateTruncated(IncValue, Ty, IC, CxtI)) in canEvaluateTruncated()
1416 for (Value *IncValue : PN->incoming_values()) in canEvaluateSExtd()
1417 if (!canEvaluateSExtd(IncValue, Ty)) return false; in canEvaluateSExtd()
2522 for (Value *IncValue : OldPN->incoming_values()) { in optimizeBitCastFromPhi()
2523 if (isa<Constant>(IncValue)) in optimizeBitCastFromPhi()
2526 if (auto *LI = dyn_cast<LoadInst>(IncValue)) { in optimizeBitCastFromPhi()
2547 if (auto *PNode = dyn_cast<PHINode>(IncValue)) { in optimizeBitCastFromPhi()
2553 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.cpp609 for (Value *IncValue : PN->incoming_values()) in canEvaluateShifted()
610 if (!canEvaluateShifted(IncValue, NumBits, IsLeftShift, IC, PN)) in canEvaluateShifted()
/freebsd/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/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp1541 Value *IncValue = P->getIncomingValue(u); in computeKnownBitsFromOperator() local
1543 if (IncValue == P) continue; in computeKnownBitsFromOperator()
1558 computeKnownBits(IncValue, DemandedElts, Known2, in computeKnownBitsFromOperator()
1569 m_Br(m_c_ICmp(Pred, m_Specific(IncValue), m_APInt(RHSC)), in computeKnownBitsFromOperator()
5903 Value *IncValue = U.get(); in computeKnownFPClass() local
5905 if (IncValue == P) in computeKnownFPClass()
5912 computeKnownFPClass(IncValue, DemandedElts, InterestedClasses, KnownSrc, in computeKnownFPClass()
6403 for (Value *IncValue : PN->incoming_values()) { in GetStringLengthH()
6404 uint64_t Len = GetStringLengthH(IncValue, PHIs, CharSize); in GetStringLengthH()
6751 for (Value *IncValue : PN->incoming_values()) in findAllocaForValue()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp3469 for (Value *IncValue : PN.incoming_values()) { in visitPHINode()
3470 Check(PN.getType() == IncValue->getType(), in visitPHINode()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp16139 int IncValue = IncOffset; in PerformDAGCombine() local
16147 --IncValue; in PerformDAGCombine()
16150 DAG.getConstant(IncValue, dl, getPointerTy(MF.getDataLayout())); in PerformDAGCombine()