Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86LowerAMXType.cpp775 Value *IncValue = OldPN->getIncomingValue(I); in optimizeAMXCastFromPhi() local
778 if (isa<Constant>(IncValue)) { in optimizeAMXCastFromPhi()
779 auto *IncConst = dyn_cast<Constant>(IncValue); in optimizeAMXCastFromPhi()
780 if (!isa<UndefValue>(IncValue) && !IncConst->isZeroValue()) in optimizeAMXCastFromPhi()
795 {IncValue->getType()}, {NewInst}); in optimizeAMXCastFromPhi()
799 IncValue = NewInst; in optimizeAMXCastFromPhi()
802 if (auto *PNode = dyn_cast<PHINode>(IncValue)) { in optimizeAMXCastFromPhi()
807 Instruction *ACI = dyn_cast<Instruction>(IncValue); in optimizeAMXCastFromPhi()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp234 int64_t IncValue; in handleFloatingPointIV() local
236 !ConvertToSInt(IncValueVal->getValueAPF(), IncValue)) in handleFloatingPointIV()
301 if (!isInt<32>(InitValue) || !isInt<32>(IncValue) || !isInt<32>(ExitValue)) in handleFloatingPointIV()
305 if (IncValue == 0) in handleFloatingPointIV()
309 if (IncValue > 0) { in handleFloatingPointIV()
322 unsigned Leftover = Range % uint32_t(IncValue); in handleFloatingPointIV()
333 if (Leftover != 0 && int32_t(ExitValue+IncValue) < ExitValue) in handleFloatingPointIV()
348 unsigned Leftover = Range % uint32_t(-IncValue); in handleFloatingPointIV()
359 if (Leftover != 0 && int32_t(ExitValue+IncValue) > ExitValue) in handleFloatingPointIV()
371 BinaryOperator::CreateAdd(NewPHI, ConstantInt::get(Int32Ty, IncValue), in handleFloatingPointIV()
H A DLICM.cpp1309 for (const Value *IncValue : PN.incoming_values()) in isTriviallyReplaceablePHI() local
1310 if (IncValue != &I) in isTriviallyReplaceablePHI()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp481 for (Value *IncValue : PN->incoming_values()) in canEvaluateTruncated()
482 if (!canEvaluateTruncated(IncValue, Ty, IC, CxtI)) in canEvaluateTruncated()
1487 for (Value *IncValue : PN->incoming_values()) in canEvaluateSExtd()
1488 if (!canEvaluateSExtd(IncValue, Ty)) return false; in canEvaluateSExtd()
2544 for (Value *IncValue : OldPN->incoming_values()) { in optimizeBitCastFromPhi()
2545 if (isa<Constant>(IncValue)) in optimizeBitCastFromPhi()
2548 if (auto *LI = dyn_cast<LoadInst>(IncValue)) { in optimizeBitCastFromPhi()
2569 if (auto *PNode = dyn_cast<PHINode>(IncValue)) { in optimizeBitCastFromPhi()
2575 auto *BCI = dyn_cast<BitCastInst>(IncValue); in optimizeBitCastFromPhi()
H A DInstCombinePHI.cpp771 for (Value *IncValue : PN.incoming_values()) in foldPHIArgLoadIntoPHI()
772 cast<LoadInst>(IncValue)->setVolatile(false); in foldPHIArgLoadIntoPHI()
H A DInstCombineShifts.cpp564 for (Value *IncValue : PN->incoming_values()) in canEvaluateShifted()
565 if (!canEvaluateShifted(IncValue, NumBits, IsLeftShift, IC, PN)) in canEvaluateShifted()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp1134 for (Value *IncValue : PN->incoming_values()) in isFunctionMallocLike()
1135 FlowsToReturn.insert(IncValue); in isFunctionMallocLike()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DValueTracking.cpp1566 Value *IncValue = P->getIncomingValue(u); in computeKnownBitsFromOperator() local
1568 if (IncValue == P) continue; in computeKnownBitsFromOperator()
1580 computeKnownBits(IncValue, Known2, MaxAnalysisRecursionDepth - 1, RecQ); in computeKnownBitsFromOperator()
4342 for (Value *IncValue : PN->incoming_values()) { in GetStringLengthH()
4343 uint64_t Len = GetStringLengthH(IncValue, PHIs, CharSize); in GetStringLengthH()
4631 for (Value *IncValue : PN->incoming_values()) in findAllocaForValue()
4632 AddWork(IncValue); in findAllocaForValue()
/llvm-project-15.0.7/llvm/lib/IR/
H A DVerifier.cpp3143 for (Value *IncValue : PN.incoming_values()) { in visitPHINode()
3144 Check(PN.getType() == IncValue->getType(), in visitPHINode()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp9758 for (Value *IncValue : PN->incoming_values()) in collectValuesToDemote()
9759 if (!collectValuesToDemote(IncValue, Expr, ToDemote, Roots)) in collectValuesToDemote()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp15437 int IncValue = IncOffset; in PerformDAGCombine() local
15445 --IncValue; in PerformDAGCombine()
15448 DAG.getConstant(IncValue, dl, getPointerTy(MF.getDataLayout())); in PerformDAGCombine()