Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp233 int64_t IncValue; in handleFloatingPointIV() local
235 !ConvertToSInt(IncValueVal->getValueAPF(), IncValue)) in handleFloatingPointIV()
300 if (!isInt<32>(InitValue) || !isInt<32>(IncValue) || !isInt<32>(ExitValue)) in handleFloatingPointIV()
304 if (IncValue == 0) in handleFloatingPointIV()
308 if (IncValue > 0) { in handleFloatingPointIV()
321 unsigned Leftover = Range % uint32_t(IncValue); in handleFloatingPointIV()
332 if (Leftover != 0 && int32_t(ExitValue+IncValue) < ExitValue) in handleFloatingPointIV()
347 unsigned Leftover = Range % uint32_t(-IncValue); in handleFloatingPointIV()
358 if (Leftover != 0 && int32_t(ExitValue+IncValue) > ExitValue) in handleFloatingPointIV()
370 BinaryOperator::CreateAdd(NewPHI, ConstantInt::get(Int32Ty, IncValue), in handleFloatingPointIV()
H A DLICM.cpp1322 for (const Value *IncValue : PN.incoming_values()) in isTriviallyReplaceablePHI() local
1323 if (IncValue != &I) in isTriviallyReplaceablePHI()
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp494 for (Value *IncValue : PN->incoming_values()) in canEvaluateTruncated()
495 if (!canEvaluateTruncated(IncValue, Ty, IC, CxtI)) in canEvaluateTruncated()
1483 for (Value *IncValue : PN->incoming_values()) in canEvaluateSExtd()
1484 if (!canEvaluateSExtd(IncValue, Ty)) return false; in canEvaluateSExtd()
2543 for (Value *IncValue : OldPN->incoming_values()) { in optimizeBitCastFromPhi()
2544 if (isa<Constant>(IncValue)) in optimizeBitCastFromPhi()
2547 if (auto *LI = dyn_cast<LoadInst>(IncValue)) { in optimizeBitCastFromPhi()
2568 if (auto *PNode = dyn_cast<PHINode>(IncValue)) { in optimizeBitCastFromPhi()
2574 auto *BCI = dyn_cast<BitCastInst>(IncValue); in optimizeBitCastFromPhi()
H A DInstCombinePHI.cpp778 for (Value *IncValue : PN.incoming_values()) in foldPHIArgLoadIntoPHI()
779 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()
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp1047 for (Value *IncValue : PN->incoming_values()) in isFunctionMallocLike()
1048 FlowsToReturn.insert(IncValue); in isFunctionMallocLike()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DValueTracking.cpp1537 Value *IncValue = P->getIncomingValue(u); in computeKnownBitsFromOperator() local
1539 if (IncValue == P) continue; in computeKnownBitsFromOperator()
1552 computeKnownBits(IncValue, Known2, MaxAnalysisRecursionDepth - 1, RecQ); in computeKnownBitsFromOperator()
1562 m_Br(m_c_ICmp(Pred, m_Specific(IncValue), m_APInt(RHSC)), in computeKnownBitsFromOperator()
4450 for (Value *IncValue : PN->incoming_values()) { in GetStringLengthH()
4451 uint64_t Len = GetStringLengthH(IncValue, PHIs, CharSize); in GetStringLengthH()
4739 for (Value *IncValue : PN->incoming_values()) in findAllocaForValue()
4740 AddWork(IncValue); in findAllocaForValue()
/openbsd/gnu/llvm/llvm/lib/IR/
H A DVerifier.cpp3194 for (Value *IncValue : PN.incoming_values()) { in visitPHINode()
3195 Check(PN.getType() == IncValue->getType(), in visitPHINode()
/openbsd/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp11095 for (Value *IncValue : PN->incoming_values()) in collectValuesToDemote()
11096 if (!collectValuesToDemote(IncValue, Expr, ToDemote, Roots)) in collectValuesToDemote()
/openbsd/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp15603 int IncValue = IncOffset; in PerformDAGCombine() local
15611 --IncValue; in PerformDAGCombine()
15614 DAG.getConstant(IncValue, dl, getPointerTy(MF.getDataLayout())); in PerformDAGCombine()