Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp359 if (match(Op0, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) in visitMul()
361 if (match(Op1, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) in visitMul()
862 if (!match(Op1, m_ZExt(m_Value(ShiftLeft)))) in foldUDivShl()
897 match(Op1, m_ZExt(m_Shl(m_Power2(), m_Value())))) { in visitUDivOperand()
926 if (match(N, m_ZExt(m_Value(X))) && match(D, m_ZExt(m_Value(Y))) && in narrowUDivURem()
935 if ((match(N, m_OneUse(m_ZExt(m_Value(X)))) && match(D, m_Constant(C))) || in narrowUDivURem()
936 (match(D, m_OneUse(m_ZExt(m_Value(X)))) && match(N, m_Constant(C)))) { in narrowUDivURem()
DInstCombineShifts.cpp952 if (match(Op0, m_OneUse(m_ZExt(m_Value(X))))) { in visitShl()
1032 if (match(Op0, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) { in visitShl()
1115 if (match(Op0, m_OneUse(m_ZExt(m_Value(X)))) && in visitLShr()
1267 if (match(Op0, m_Shl(m_ZExt(m_Value(X)), m_Specific(Op1))) && in visitAShr()
DInstCombineAddSub.cpp839 match(Op0, m_OneUse(m_ZExt(m_NUWAdd(m_Value(X), m_APInt(C2))))) && in foldNoWrapAdd()
856 if (match(Op0, m_OneUse(m_ZExt(m_NUWAdd(m_Value(X), m_Constant(NarrowC)))))) { in foldNoWrapAdd()
890 if (match(Op0, m_ZExt(m_Value(X))) && in foldAddWithConstant()
925 if (match(Op0, m_ZExt(m_Xor(m_Value(X), m_APInt(C2)))) && in foldAddWithConstant()
1739 if (match(Op1, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) { in visitSub()
2003 if (match(Op1, m_ZExt(m_Value(Y))) && Y->getType()->isIntOrIntVectorTy(1)) { in visitSub()
DInstCombineAndOrXor.cpp1511 if (match(Cast, m_OneUse(m_ZExt(m_Value(X))))) { in foldLogicCastConstant()
1697 if (!match(Op1, m_ZExt(m_Value(X))) || Op1->hasNUsesOrMore(3)) in narrowMaskedBinOp()
1828 if (match(Op0I, m_OneUse(m_c_BinOp(m_OneUse(m_ZExt(m_Value(X))), in visitAnd()
2065 if (match(L, m_ZExt(m_And(m_Value(X), m_SpecificInt(Mask)))) && in matchRotate()
2066 match(R, m_And(m_Neg(m_ZExt(m_And(m_Specific(X), m_SpecificInt(Mask)))), in matchRotate()
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()
DInstCombineSelect.cpp867 if (match(Count, m_ZExt(m_Value(V))) || in foldSelectCttzCtlz()
958 if (match(TrueVal, m_ZExt(m_Specific(CmpLHS))) && ZextRHS == FalseVal) { in adjustMinMax()
961 } else if (match(FalseVal, m_ZExt(m_Specific(CmpLHS))) && in adjustMinMax()
DInstCombineCompares.cpp4232 if ((Op0->hasOneUse() && match(Op0, m_ZExt(m_Value(A))) && in foldICmpEquality()
4235 match(Op1, m_ZExt(m_Value(A))))) { in foldICmpEquality()
5629 if (match(Op0, m_Mul(m_ZExt(m_Value(A)), m_ZExt(m_Value(B))))) { in visitICmpInst()
5633 if (match(Op1, m_Mul(m_ZExt(m_Value(A)), m_ZExt(m_Value(B))))) { in visitICmpInst()
DInstructionCombining.cpp1610 if (!IsSext && !match(Op0, m_ZExt(m_Value(X)))) in narrowMathIfNoOverflow()
DInstCombineCalls.cpp3855 ((match(Src1, m_One()) && match(Src0, m_ZExt(m_Value(ExtSrc)))) || in visitCallInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DPatternMatch.h1349 inline CastClass_match<OpTy, Instruction::ZExt> m_ZExt(const OpTy &Op) { in m_ZExt() function
1356 return m_CombineOr(m_ZExt(Op), Op); in m_ZExtOrSelf()
1369 return m_CombineOr(m_ZExt(Op), m_SExt(Op)); in m_ZExtOrSExt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonLoopIdiomRecognition.cpp770 !match(T, m_Shl(m_ZExt(m_Value(Q)), m_ZExt(m_Specific(CIV))))) in matchLeftShift()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp6820 m_c_Or(m_OneUse(m_ZExt(m_Value(LValue))), in splitMergedValStore()
6821 m_OneUse(m_Shl(m_OneUse(m_ZExt(m_Value(HValue))), in splitMergedValStore()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInstructionSimplify.cpp980 (match(Op1, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1))) in simplifyDivRem()
2832 if (!CmpInst::isUnsigned(Pred) && match(LHS, m_Neg(m_ZExt(m_Value())))) { in simplifyICmpWithBinOp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp3631 if (!match(ZextLoad, m_ZExt(m_Load(m_Value(LoadPtr))))) in isLoadCombineReductionCandidate()