Home
last modified time | relevance | path

Searched refs:m_ZExt (Results 1 – 13 of 13) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp313 if (match(Op0, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) in visitMul()
315 if (match(Op1, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) in visitMul()
774 if (!match(Op1, m_ZExt(m_Value(ShiftLeft)))) in foldUDivShl()
809 match(Op1, m_ZExt(m_Shl(m_Power2(), m_Value())))) { in visitUDivOperand()
838 if (match(N, m_ZExt(m_Value(X))) && match(D, m_ZExt(m_Value(Y))) && in narrowUDivURem()
847 if ((match(N, m_OneUse(m_ZExt(m_Value(X)))) && match(D, m_Constant(C))) || in narrowUDivURem()
848 (match(D, m_OneUse(m_ZExt(m_Value(X)))) && match(N, m_Constant(C)))) { in narrowUDivURem()
H A DInstCombineShifts.cpp612 if (match(Op0, m_ZExt(m_Value(X)))) { in visitShl()
763 if (match(Op0, m_OneUse(m_ZExt(m_Value(X)))) && in visitLShr()
846 if (match(Op0, m_Shl(m_ZExt(m_Value(X)), m_Specific(Op1))) && in visitAShr()
H A DInstCombineAddSub.cpp843 if (match(Op0, m_ZExt(m_Value(X))) && in foldAddWithConstant()
870 if (match(Op0, m_ZExt(m_Xor(m_Value(X), m_APInt(C2)))) && in foldAddWithConstant()
875 if (match(Op0, m_OneUse(m_ZExt(m_NUWAdd(m_Value(X), m_APInt(C2))))) && in foldAddWithConstant()
1506 if (match(Op1, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) { in visitSub()
H A DInstCombineSelect.cpp708 if (match(Count, m_ZExt(m_Value(V))) || in foldSelectCttzCtlz()
799 if (match(TrueVal, m_ZExt(m_Specific(CmpLHS))) && ZextRHS == FalseVal) { in adjustMinMax()
802 } else if (match(FalseVal, m_ZExt(m_Specific(CmpLHS))) && in adjustMinMax()
H A DInstCombineCasts.cpp541 if (match(L, m_ZExt(m_And(m_Value(X), m_SpecificInt(Mask)))) && in narrowRotate()
542 match(R, m_ZExt(m_And(m_Neg(m_Specific(X)), m_SpecificInt(Mask))))) in narrowRotate()
761 match(Src, m_LShr(m_ZExt(m_Value(A)), m_ConstantInt(Cst)))) { in visitTrunc()
H A DInstCombineCompares.cpp3617 if ((Op0->hasOneUse() && match(Op0, m_ZExt(m_Value(A))) && in foldICmpEquality()
3620 match(Op1, m_ZExt(m_Value(A))))) { in foldICmpEquality()
4995 if (match(Op0, m_Mul(m_ZExt(m_Value(A)), m_ZExt(m_Value(B))))) { in visitICmpInst()
4999 if (match(Op1, m_Mul(m_ZExt(m_Value(A)), m_ZExt(m_Value(B))))) { in visitICmpInst()
H A DInstCombineAndOrXor.cpp1318 if (match(Cast, m_OneUse(m_ZExt(m_Value(X))))) { in foldLogicCastConstant()
1504 if (!match(Op1, m_ZExt(m_Value(X))) || Op1->hasNUsesOrMore(3)) in narrowMaskedBinOp()
1632 if (match(Op0I, m_c_BinOp(m_ZExt(m_Value(X)), m_ConstantInt(C1)))) { in visitAnd()
H A DInstructionCombining.cpp1512 if (!IsSext && !match(Op0, m_ZExt(m_Value(X)))) in narrowMathIfNoOverflow()
H A DInstCombineCalls.cpp3744 ((match(Src1, m_One()) && match(Src0, m_ZExt(m_Value(ExtSrc)))) || in visitCallInst()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DPatternMatch.h1174 inline CastClass_match<OpTy, Instruction::ZExt> m_ZExt(const OpTy &Op) { in m_ZExt() function
1182 return m_CombineOr(m_ZExt(Op), m_SExt(Op)); in m_ZExtOrSExt()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp769 !match(T, m_Shl(m_ZExt(m_Value(Q)), m_ZExt(m_Specific(CIV))))) in matchLeftShift()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp6435 m_c_Or(m_OneUse(m_ZExt(m_Value(LValue))), in splitMergedValStore()
6436 m_OneUse(m_Shl(m_OneUse(m_ZExt(m_Value(HValue))), in splitMergedValStore()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DInstructionSimplify.cpp956 (match(Op1, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1))) in simplifyDivRem()
2880 if (!CmpInst::isUnsigned(Pred) && match(LHS, m_Neg(m_ZExt(m_Value())))) { in simplifyICmpWithBinOp()