Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp616 if (match(V, m_Undef())) { in collectSingleShuffleElements()
771 if (match(V, m_Undef())) { in collectShuffleElements()
1242 if (!match(FirstIE->getOperand(0), m_Undef())) in foldInsSequenceIntoSplat()
1283 if (!match(Op0, m_InsertElt(m_Undef(), m_Specific(X), m_ZeroInt()))) in foldInsEltIntoSplat()
1304 if (!Shuf || !match(Shuf->getOperand(1), m_Undef()) || in foldInsEltIntoIdentityShuffle()
1544 !match(BaseVec, m_Undef())) in foldTruncInsEltPair()
1613 if (match(VecOp, m_Undef()) && in visitInsertElementInst()
1900 if (match(V, m_Undef())) in evaluateInDifferentElementOrder()
2174 if (!match(Op0, m_OneUse(m_InsertElt(m_Undef(), m_Value(X), in canonicalizeInsertSplat()
2176 !match(Op1, m_Undef()) || match(Mask, m_ZeroMask()) || IndexC == 0) in canonicalizeInsertSplat()
[all …]
DInstCombineSimplifyDemanded.cpp1249 if (match(V, m_Undef())) { in SimplifyDemandedVectorElts()
1350 if (i == 0 ? match(I->getOperand(i), m_Undef()) in SimplifyDemandedVectorElts()
1424 if (!match(I->getOperand(1), m_Undef())) { in SimplifyDemandedVectorElts()
DInstCombineNegator.cpp133 if (match(V, m_Undef())) in visitImpl()
DInstructionCombining.cpp1730 if (match(LHS, m_Shuffle(m_Value(V1), m_Undef(), m_Mask(Mask))) && in foldVectorBinop()
1731 match(RHS, m_Shuffle(m_Value(V2), m_Undef(), m_SpecificMask(Mask))) && in foldVectorBinop()
1773 m_c_BinOp(m_OneUse(m_Shuffle(m_Value(V1), m_Undef(), m_Mask(Mask))), in foldVectorBinop()
1825 if (!MaybeUndef || !match(MaybeUndef, m_Undef())) { in foldVectorBinop()
1858 m_OneUse(m_Shuffle(m_Value(X), m_Undef(), m_Mask(MaskC)))) || in foldVectorBinop()
4017 if (match(Op0, m_Undef())) in visitFreeze()
DInstCombineCasts.cpp343 if (match(Src, m_OneUse(m_Shuffle(m_Value(X), m_Undef(), m_Mask(Mask))))) { in commonCastTransforms()
757 if (Shuf && Shuf->hasOneUse() && match(Shuf->getOperand(1), m_Undef()) && in shrinkSplatShuffle()
790 if (match(VecOp, m_Undef())) { in shrinkInsertElt()
2879 assert(match(ShufOp1, m_Undef()) && "Unexpected shuffle op"); in visitBitCast()
DInstCombineSelect.cpp788 if (!match(MergedC, m_Zero()) && !match(MergedC, m_Undef())) in foldSelectZeroOrMul()
3477 m_CombineOr(m_Undef(), m_Zero()))) || in visitSelectInst()
3479 m_CombineOr(m_Undef(), m_Zero()))))) { in visitSelectInst()
3489 m_CombineOr(m_Undef(), m_Zero()))) || in visitSelectInst()
3491 m_CombineOr(m_Undef(), m_Zero())))) && in visitSelectInst()
DInstCombineCalls.cpp1126 m_Shuffle(m_Value(X), m_Undef(), m_Mask(Mask)))) in foldShuffledIntrinsicOperands()
1139 m_Shuffle(m_Value(X), m_Undef(), m_SpecificMask(Mask))) || in foldShuffledIntrinsicOperands()
1604 if (match(Op1, m_ZeroInt()) || match(Op1, m_Undef())) in visitCallInst()
1609 if (match(Op0, m_ZeroInt()) || match(Op0, m_Undef())) in visitCallInst()
2837 !match(Arg, m_Shuffle(m_Value(V), m_Undef(), m_Mask(Mask))) || in visitCallInst()
DInstCombineLoadStoreAlloca.cpp1156 if (!match(V, m_Undef()) || !U) in likeBitCastFromVector()
DInstCombineCompares.cpp3047 if (match(BCSrcOp, m_Shuffle(m_Value(Vec), m_Undef(), m_Mask(Mask)))) { in foldICmpBitCast()
6018 if (!match(LHS, m_Shuffle(m_Value(V1), m_Undef(), m_Mask(M)))) in foldVectorCmp()
6025 if (match(RHS, m_Shuffle(m_Value(V2), m_Undef(), m_SpecificMask(M))) && in foldVectorCmp()
/openbsd/src/gnu/llvm/llvm/include/llvm/Analysis/
DInstructionSimplify.h138 return match(V, m_Undef()); in isUndefValue()
/openbsd/src/gnu/llvm/llvm/lib/IR/
DConstants.cpp758 if (match(C, m_Undef())) { in replaceUndefsWith()
774 NewC[i] = EltC && match(EltC, m_Undef()) ? Replacement : EltC; in replaceUndefsWith()
781 if (match(C, m_Undef())) in mergeUndefsWith()
785 if (match(Other, m_Undef())) in mergeUndefsWith()
804 if (!match(NewC[I], m_Undef()) && match(OtherEltC, m_Undef())) { in mergeUndefsWith()
DConstantFold.cpp932 if (match(C2, m_CombineOr(m_Undef(), m_Zero()))) in ConstantFoldBinaryInstruction()
943 if (match(C2, m_CombineOr(m_Undef(), m_Zero()))) in ConstantFoldBinaryInstruction()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Vectorize/
DVectorCombine.cpp159 if (!match(&I, m_InsertElt(m_Undef(), m_Value(Scalar), m_ZeroInt())) || in vectorizeLoadInsert()
687 m_OneUse(m_Shuffle(m_Value(V), m_Undef(), m_Mask(Mask)))))) in foldBitcastShuf()
DSLPVectorizer.cpp1337 m_Undef())))) { in getShallowScore()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/
DLocal.cpp2382 if (match(CI->getArgOperand(0), m_CombineOr(m_Zero(), m_Undef()))) { in markAliveBlocks()
/openbsd/src/gnu/llvm/llvm/include/llvm/IR/
DPatternMatch.h136 inline auto m_Undef() { return undef_match(); } in m_Undef() function
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/
DCodeGenPrepare.cpp7030 if (!match(SVI, m_Shuffle(m_InsertElt(m_Undef(), m_Value(), m_ZeroInt()), in optimizeShuffleVectorInst()
7031 m_Undef(), m_ZeroMask()))) in optimizeShuffleVectorInst()
/openbsd/src/gnu/llvm/llvm/lib/Target/RISCV/
DRISCVISelLowering.cpp1405 if (!match(Op, m_Shuffle(m_InsertElt(m_Undef(), m_Value(), m_ZeroInt()), in shouldSinkOperands()
1406 m_Undef(), m_ZeroMask()))) in shouldSinkOperands()
/openbsd/src/gnu/llvm/llvm/lib/Target/ARM/
DARMISelLowering.cpp19149 m_InsertElt(m_Undef(), m_Value(), m_ZeroInt()), in shouldSinkOperands()
19150 m_Undef(), m_ZeroMask()))) in shouldSinkOperands()
/openbsd/src/gnu/llvm/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp13762 if (!match(Op1, m_Shuffle(m_Value(S1Op1), m_Undef(), m_Mask(M1))) || in areExtractShuffleVectors()
13763 !match(Op2, m_Shuffle(m_Value(S2Op1), m_Undef(), m_Mask(M2)))) in areExtractShuffleVectors()