Home
last modified time | relevance | path

Searched refs:m_Undef (Results 1 – 20 of 20) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp620 if (match(V, m_Undef())) { in collectSingleShuffleElements()
1559 !match(BaseVec, m_Undef())) in foldTruncInsEltPair()
1628 if (match(VecOp, m_Undef()) && in visitInsertElementInst()
1927 if (match(V, m_Undef())) in evaluateInDifferentElementOrder()
2232 if (!match(Shuf.getOperand(1), m_Undef()) && in foldSelectShuffle()
2693 match(X, m_Undef()) || match(Y, m_Undef())) in foldIdentityPaddedShuffles()
2695 assert(match(Shuffle0->getOperand(1), m_Undef()) && in foldIdentityPaddedShuffles()
2696 match(Shuffle1->getOperand(1), m_Undef()) && in foldIdentityPaddedShuffles()
2741 if (!match(SVI.getOperand(1), m_Undef()) || in simplifyBinOpSplats()
2840 assert(!match(RHS, m_Undef()) && in visitShuffleVectorInst()
[all …]
H A DInstCombineNegator.cpp128 if (match(V, m_Undef())) in visitImpl()
H A DInstCombineCasts.cpp208 if (match(Src, m_OneUse(m_Shuffle(m_Value(X), m_Undef(), m_Mask(Mask))))) { in commonCastTransforms()
625 if (Shuf && Shuf->hasOneUse() && match(Shuf->getOperand(1), m_Undef()) && in shrinkSplatShuffle()
658 if (match(VecOp, m_Undef())) { in shrinkInsertElt()
2704 assert(match(ShufOp1, m_Undef()) && "Unexpected shuffle op"); in visitBitCast()
H A DInstCombineCalls.cpp1368 m_Shuffle(m_Value(X), m_Undef(), m_Mask(Mask)))) in foldShuffledIntrinsicOperands()
1381 m_Shuffle(m_Value(X), m_Undef(), m_SpecificMask(Mask))) || in foldShuffledIntrinsicOperands()
1986 if (match(Op1, m_ZeroInt()) || match(Op1, m_Undef())) in visitCallInst()
1991 if (match(Op0, m_ZeroInt()) || match(Op0, m_Undef())) in visitCallInst()
2972 if (match(IIOperand, m_CombineOr(m_Zero(), m_Undef()))) { in visitCallInst()
3335 !match(Arg, m_Shuffle(m_Value(V), m_Undef(), m_Mask(Mask))) || in visitCallInst()
H A DInstCombineSelect.cpp874 if (!match(MergedC, m_Zero()) && !match(MergedC, m_Undef())) in foldSelectZeroOrMul()
3767 m_CombineOr(m_Undef(), m_Zero()))) || in visitSelectInst()
3769 m_CombineOr(m_Undef(), m_Zero()))))) { in visitSelectInst()
3779 m_CombineOr(m_Undef(), m_Zero()))) || in visitSelectInst()
3781 m_CombineOr(m_Undef(), m_Zero())))) && in visitSelectInst()
H A DInstCombineLoadStoreAlloca.cpp1135 if (!match(V, m_Undef()) || !U) in likeBitCastFromVector()
H A DInstCombineSimplifyDemanded.cpp1452 if (i == 0 ? match(I->getOperand(i), m_Undef()) in SimplifyDemandedVectorElts()
H A DInstructionCombining.cpp2012 m_OneUse(m_Shuffle(m_Value(X), m_Undef(), m_Mask(MaskC)))) || in foldVectorBinop()
4169 if (match(Op0, m_Undef())) { in visitFreeze()
H A DInstCombineCompares.cpp3282 if (match(BCSrcOp, m_Shuffle(m_Value(Vec), m_Undef(), m_Mask(Mask)))) { in foldICmpBitCast()
6724 if (!match(LHS, m_Shuffle(m_Value(V1), m_Undef(), m_Mask(M)))) in foldVectorCmp()
6731 if (match(RHS, m_Shuffle(m_Value(V2), m_Undef(), m_SpecificMask(M))) && in foldVectorCmp()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DSimplifyQuery.h114 return match(V, m_Undef()); in isUndefValue()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp756 if (match(C, m_Undef())) { in replaceUndefsWith()
772 NewC[i] = EltC && match(EltC, m_Undef()) ? Replacement : EltC; in replaceUndefsWith()
779 if (match(C, m_Undef())) in mergeUndefsWith()
783 if (match(Other, m_Undef())) in mergeUndefsWith()
802 if (!match(NewC[I], m_Undef()) && match(OtherEltC, m_Undef())) { in mergeUndefsWith()
H A DConstantFold.cpp736 if (match(C2, m_CombineOr(m_Undef(), m_Zero()))) in ConstantFoldBinaryInstruction()
744 if (match(C2, m_CombineOr(m_Undef(), m_Zero()))) in ConstantFoldBinaryInstruction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp160 if (!match(&I, m_InsertElt(m_Undef(), m_Value(Scalar), m_ZeroInt())) || in vectorizeLoadInsert()
688 m_OneUse(m_Shuffle(m_Value(V), m_Undef(), m_Mask(Mask)))))) in foldBitcastShuffle()
H A DSLPVectorizer.cpp1352 m_Undef())))) { in getShallowScore()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h136 inline auto m_Undef() { return undef_match(); } in m_Undef() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7192 if (!match(SVI, m_Shuffle(m_InsertElt(m_Undef(), m_Value(), m_ZeroInt()), in optimizeShuffleVectorInst()
7193 m_Undef(), m_ZeroMask()))) in optimizeShuffleVectorInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp2951 if (match(CI->getArgOperand(0), m_CombineOr(m_Zero(), m_Undef()))) { in markAliveBlocks()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp2016 if (!match(Op, m_Shuffle(m_InsertElt(m_Undef(), m_Value(), m_ZeroInt()), in shouldSinkOperands()
2017 m_Undef(), m_ZeroMask()))) in shouldSinkOperands()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp19363 m_InsertElt(m_Undef(), m_Value(), m_ZeroInt()), in shouldSinkOperands()
19364 m_Undef(), m_ZeroMask()))) in shouldSinkOperands()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp14868 if (!match(Op1, m_Shuffle(m_Value(S1Op1), m_Undef(), m_Mask(M1))) || in areExtractShuffleVectors()
14869 !match(Op2, m_Shuffle(m_Value(S2Op1), m_Undef(), m_Mask(M2)))) in areExtractShuffleVectors()