/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineVectorOps.cpp | 477 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 D | InstCombineSimplifyDemanded.cpp | 1094 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 D | InstructionCombining.cpp | 1591 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 D | InstCombineNegator.cpp | 135 if (match(V, m_Undef())) in visitImpl()
|
H A D | InstCombineCasts.cpp | 683 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 D | InstCombineLoadStoreAlloca.cpp | 1068 if (!match(V, m_Undef()) || !U) in likeBitCastFromVector()
|
H A D | InstCombineCalls.cpp | 1113 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 D | InstCombineSelect.cpp | 2637 if (match(TrueVal, m_Undef()) || match(FalseVal, m_Undef())) { in visitSelectInst()
|
H A D | InstCombineCompares.cpp | 2877 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 D | InstructionSimplify.h | 139 return match(V, m_Undef()); in isUndefValue()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/ |
H A D | VectorCombine.cpp | 105 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 D | Constants.cpp | 770 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 D | ConstantFold.cpp | 1178 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 D | PatternMatch.h | 136 inline auto m_Undef() { return undef_match(); } in m_Undef() function
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | Local.cpp | 2248 if (match(CI->getArgOperand(0), m_CombineOr(m_Zero(), m_Undef()))) { in markAliveBlocks()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 6880 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 D | AArch64ISelLowering.cpp | 11120 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 D | ARMISelLowering.cpp | 17406 m_InsertElt(m_Undef(), m_Value(), m_ZeroInt()), in shouldSinkOperands() 17407 m_Undef(), m_ZeroMask()))) in shouldSinkOperands()
|