Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp538 if (match(V, m_Undef())) { in collectSingleShuffleElements()
694 if (match(V, m_Undef())) { in collectShuffleElements()
1165 if (!match(FirstIE->getOperand(0), m_Undef())) in foldInsSequenceIntoSplat()
1206 if (!match(Op0, m_InsertElt(m_Undef(), m_Specific(X), m_ZeroInt()))) in foldInsEltIntoSplat()
1227 if (!Shuf || !match(Shuf->getOperand(1), m_Undef()) || in foldInsEltIntoIdentityShuffle()
1415 if (match(VecOp, m_Undef()) && in visitInsertElementInst()
1696 if (match(V, m_Undef())) in evaluateInDifferentElementOrder()
1915 if (!match(Op0, m_OneUse(m_InsertElt(m_Undef(), m_Value(X), in canonicalizeInsertSplat()
1917 !match(Op1, m_Undef()) || match(Mask, m_ZeroMask()) || IndexC == 0) in canonicalizeInsertSplat()
1949 if (!match(Shuf.getOperand(1), m_Undef()) && in foldSelectShuffle()
[all …]
DInstCombineSimplifyDemanded.cpp1094 if (match(V, m_Undef())) { in SimplifyDemandedVectorElts()
1195 if (match(I->getOperand(i), m_Undef())) { in SimplifyDemandedVectorElts()
1264 if (!match(I->getOperand(1), m_Undef())) { in SimplifyDemandedVectorElts()
DInstCombineNegator.cpp135 if (match(V, m_Undef())) in visitImpl()
DInstructionCombining.cpp1632 if (match(LHS, m_Shuffle(m_Value(V1), m_Undef(), m_Mask(Mask))) && in foldVectorBinop()
1633 match(RHS, m_Shuffle(m_Value(V2), m_Undef(), m_SpecificMask(Mask))) && in foldVectorBinop()
1675 m_c_BinOp(m_OneUse(m_Shuffle(m_Value(V1), m_Undef(), m_Mask(Mask))), in foldVectorBinop()
1726 if (!match(MaybeUndef, m_Undef())) { in foldVectorBinop()
1759 m_OneUse(m_Shuffle(m_Value(X), m_Undef(), m_Mask(MaskC)))) || in foldVectorBinop()
3631 if (match(Op0, m_Undef())) { in visitFreeze()
DInstCombineCasts.cpp328 if (match(Src, m_OneUse(m_Shuffle(m_Value(X), m_Undef(), m_Mask(Mask))))) { in commonCastTransforms()
701 if (Shuf && Shuf->hasOneUse() && match(Shuf->getOperand(1), m_Undef()) && in shrinkSplatShuffle()
734 if (match(VecOp, m_Undef())) { in shrinkInsertElt()
2777 assert(match(ShufOp1, m_Undef()) && "Unexpected shuffle op"); in visitBitCast()
DInstCombineSelect.cpp2637 if (match(TrueVal, m_Undef()) || match(FalseVal, m_Undef())) { in visitSelectInst()
3223 m_CombineOr(m_Undef(), m_Zero())))) { in visitSelectInst()
3233 m_CombineOr(m_Undef(), m_Zero()))) && in visitSelectInst()
DInstCombineCalls.cpp1148 if (match(Op1, m_ZeroInt()) || match(Op1, m_Undef())) in visitCallInst()
1153 if (match(Op0, m_ZeroInt()) || match(Op0, m_Undef())) in visitCallInst()
2041 !match(Arg, m_Shuffle(m_Value(V), m_Undef(), m_Mask(Mask))) || in visitCallInst()
DInstCombineLoadStoreAlloca.cpp1080 if (!match(V, m_Undef()) || !U) in likeBitCastFromVector()
DInstCombineCompares.cpp2935 if (match(BCSrcOp, m_Shuffle(m_Value(Vec), m_Undef(), m_Mask(Mask)))) { in foldICmpBitCast()
5611 if (!match(LHS, m_Shuffle(m_Value(V1), m_Undef(), m_Mask(M)))) in foldVectorCmp()
5618 if (match(RHS, m_Shuffle(m_Value(V2), m_Undef(), m_SpecificMask(M))) && in foldVectorCmp()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
DInstructionSimplify.h139 return match(V, m_Undef()); in isUndefValue()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
DVectorCombine.cpp108 if (!Ty || !match(&I, m_InsertElt(m_Undef(), m_Value(Scalar), m_ZeroInt())) || in vectorizeLoadInsert()
514 m_OneUse(m_Shuffle(m_Value(V), m_Undef(), m_Mask(Mask)))))) in foldBitcastShuf()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
DConstants.cpp772 if (match(C, m_Undef())) { in replaceUndefsWith()
788 NewC[i] = EltC && match(EltC, m_Undef()) ? Replacement : EltC; in replaceUndefsWith()
795 if (match(C, m_Undef())) in mergeUndefsWith()
799 if (match(Other, m_Undef())) in mergeUndefsWith()
818 if (!match(NewC[I], m_Undef()) && match(OtherEltC, m_Undef())) { in mergeUndefsWith()
DConstantFold.cpp927 if (match(C2, m_CombineOr(m_Undef(), m_Zero()))) in ConstantFoldBinaryInstruction()
938 if (match(C2, m_CombineOr(m_Undef(), m_Zero()))) in ConstantFoldBinaryInstruction()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
DLocal.cpp2264 if (match(CI->getArgOperand(0), m_CombineOr(m_Zero(), m_Undef()))) { in markAliveBlocks()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
DPatternMatch.h136 inline auto m_Undef() { return undef_match(); } in m_Undef() function
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
DCodeGenPrepare.cpp6902 if (!match(SVI, m_Shuffle(m_InsertElt(m_Undef(), m_Value(), m_ZeroInt()), in optimizeShuffleVectorInst()
6903 m_Undef(), m_ZeroMask()))) in optimizeShuffleVectorInst()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp11479 if (!match(Op1, m_Shuffle(m_Value(S1Op1), m_Undef(), m_Mask(M1))) || in areExtractShuffleVectors()
11480 !match(Op2, m_Shuffle(m_Value(S2Op1), m_Undef(), m_Mask(M2)))) in areExtractShuffleVectors()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
DARMISelLowering.cpp18124 m_InsertElt(m_Undef(), m_Value(), m_ZeroInt()), in shouldSinkOperands()
18125 m_Undef(), m_ZeroMask()))) in shouldSinkOperands()