| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineVectorOps.cpp | 538 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 …]
|
| 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()
|
| D | InstCombineNegator.cpp | 135 if (match(V, m_Undef())) in visitImpl()
|
| D | InstructionCombining.cpp | 1632 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()
|
| D | InstCombineCasts.cpp | 328 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()
|
| D | InstCombineSelect.cpp | 2637 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()
|
| D | InstCombineCalls.cpp | 1148 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()
|
| D | InstCombineLoadStoreAlloca.cpp | 1080 if (!match(V, m_Undef()) || !U) in likeBitCastFromVector()
|
| D | InstCombineCompares.cpp | 2935 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/ |
| D | InstructionSimplify.h | 139 return match(V, m_Undef()); in isUndefValue()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| D | VectorCombine.cpp | 108 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/ |
| D | Constants.cpp | 772 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()
|
| D | ConstantFold.cpp | 927 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/ |
| D | Local.cpp | 2264 if (match(CI->getArgOperand(0), m_CombineOr(m_Zero(), m_Undef()))) { in markAliveBlocks()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
| D | PatternMatch.h | 136 inline auto m_Undef() { return undef_match(); } in m_Undef() function
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
| D | CodeGenPrepare.cpp | 6902 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/ |
| D | AArch64ISelLowering.cpp | 11479 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/ |
| D | ARMISelLowering.cpp | 18124 m_InsertElt(m_Undef(), m_Value(), m_ZeroInt()), in shouldSinkOperands() 18125 m_Undef(), m_ZeroMask()))) in shouldSinkOperands()
|