Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp477 if (match(V, m_Undef())) { in collectSingleShuffleElements()
633 if (match(V, m_Undef())) { in collectShuffleElements()
1105 if (!match(FirstIE->getOperand(0), m_Undef())) in foldInsSequenceIntoSplat()
1146 if (!match(Op0, m_InsertElt(m_Undef(), m_Specific(X), m_ZeroInt()))) in foldInsEltIntoSplat()
1167 if (!Shuf || !match(Shuf->getOperand(1), m_Undef()) || in foldInsEltIntoIdentityShuffle()
1355 if (match(VecOp, m_Undef()) && in visitInsertElementInst()
1636 if (match(V, m_Undef())) in evaluateInDifferentElementOrder()
1855 if (!match(Op0, m_OneUse(m_InsertElt(m_Undef(), m_Value(X), in canonicalizeInsertSplat()
1857 !match(Op1, m_Undef()) || match(Mask, m_ZeroMask()) || IndexC == 0) in canonicalizeInsertSplat()
1889 if (!match(Shuf.getOperand(1), m_Undef()) && in foldSelectShuffle()
[all …]
H A 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()
H A DInstructionCombining.cpp1591 if (match(LHS, m_Shuffle(m_Value(V1), m_Undef(), m_Mask(Mask))) && in foldVectorBinop()
1592 match(RHS, m_Shuffle(m_Value(V2), m_Undef(), m_SpecificMask(Mask))) && in foldVectorBinop()
1634 m_c_BinOp(m_OneUse(m_Shuffle(m_Value(V1), m_Undef(), m_Mask(Mask))), in foldVectorBinop()
1685 if (!match(MaybeUndef, m_Undef())) { in foldVectorBinop()
1718 m_OneUse(m_Shuffle(m_Value(X), m_Undef(), m_Mask(MaskC)))) || in foldVectorBinop()
3472 if (match(Op0, m_Undef())) { in visitFreeze()
H A DInstCombineNegator.cpp135 if (match(V, m_Undef())) in visitImpl()
H A DInstCombineCasts.cpp683 if (Shuf && Shuf->hasOneUse() && match(Shuf->getOperand(1), m_Undef()) && in shrinkSplatShuffle()
716 if (match(VecOp, m_Undef())) { in shrinkInsertElt()
2707 assert(match(ShufOp1, m_Undef()) && "Unexpected shuffle op"); in visitBitCast()
H A DInstCombineLoadStoreAlloca.cpp1068 if (!match(V, m_Undef()) || !U) in likeBitCastFromVector()
H A DInstCombineCalls.cpp1113 if (match(Op1, m_ZeroInt()) || match(Op1, m_Undef())) in visitCallInst()
1118 if (match(Op0, m_ZeroInt()) || match(Op0, m_Undef())) in visitCallInst()
H A DInstCombineSelect.cpp2637 if (match(TrueVal, m_Undef()) || match(FalseVal, m_Undef())) { in visitSelectInst()
H A DInstCombineCompares.cpp2877 if (match(BCSrcOp, m_Shuffle(m_Value(Vec), m_Undef(), m_Mask(Mask)))) { in foldICmpBitCast()
5502 if (!match(LHS, m_Shuffle(m_Value(V1), m_Undef(), m_Mask(M)))) in foldVectorCmp()
5509 if (match(RHS, m_Shuffle(m_Value(V2), m_Undef(), m_SpecificMask(M))) && in foldVectorCmp()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DInstructionSimplify.h139 return match(V, m_Undef()); in isUndefValue()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp105 if (!Ty || !match(&I, m_InsertElt(m_Undef(), m_Value(Scalar), m_ZeroInt())) || in vectorizeLoadInsert()
511 m_OneUse(m_Shuffle(m_Value(V), m_Undef(), m_Mask(Mask)))))) in foldBitcastShuf()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DConstants.cpp770 if (match(C, m_Undef())) { in replaceUndefsWith()
786 NewC[i] = EltC && match(EltC, m_Undef()) ? Replacement : EltC; in replaceUndefsWith()
793 if (match(C, m_Undef())) in mergeUndefsWith()
797 if (match(Other, m_Undef())) in mergeUndefsWith()
816 if (!match(NewC[I], m_Undef()) && match(OtherEltC, m_Undef())) { in mergeUndefsWith()
H A DConstantFold.cpp1178 if (match(C2, m_CombineOr(m_Undef(), m_Zero()))) in ConstantFoldBinaryInstruction()
1189 if (match(C2, m_CombineOr(m_Undef(), m_Zero()))) in ConstantFoldBinaryInstruction()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DPatternMatch.h136 inline auto m_Undef() { return undef_match(); } in m_Undef() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DLocal.cpp2248 if (match(CI->getArgOperand(0), m_CombineOr(m_Zero(), m_Undef()))) { in markAliveBlocks()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp6880 if (!match(SVI, m_Shuffle(m_InsertElt(m_Undef(), m_Value(), m_ZeroInt()), in optimizeShuffleVectorInst()
6881 m_Undef(), m_ZeroMask()))) in optimizeShuffleVectorInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp11120 if (!match(Op1, m_Shuffle(m_Value(S1Op1), m_Undef(), m_Mask(M1))) || in areExtractShuffleVectors()
11121 !match(Op2, m_Shuffle(m_Value(S2Op1), m_Undef(), m_Mask(M2)))) in areExtractShuffleVectors()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp17406 m_InsertElt(m_Undef(), m_Value(), m_ZeroInt()), in shouldSinkOperands()
17407 m_Undef(), m_ZeroMask()))) in shouldSinkOperands()