Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp309 if (match(Op0, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) in visitMul()
311 if (match(Op1, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) in visitMul()
839 if (!match(Op1, m_ZExt(m_Value(ShiftLeft)))) in foldUDivShl()
874 match(Op1, m_ZExt(m_Shl(m_Power2(), m_Value())))) { in visitUDivOperand()
903 if (match(N, m_ZExt(m_Value(X))) && match(D, m_ZExt(m_Value(Y))) && in narrowUDivURem()
912 if ((match(N, m_OneUse(m_ZExt(m_Value(X)))) && match(D, m_Constant(C))) || in narrowUDivURem()
913 (match(D, m_OneUse(m_ZExt(m_Value(X)))) && match(N, m_Constant(C)))) { in narrowUDivURem()
DInstCombineShifts.cpp612 if (match(Op0, m_ZExt(m_Value(X)))) { in visitShl()
762 if (match(Op0, m_OneUse(m_ZExt(m_Value(X)))) && in visitLShr()
845 if (match(Op0, m_Shl(m_ZExt(m_Value(X)), m_Specific(Op1))) && in visitAShr()
DInstCombineAddSub.cpp937 if (match(Op0, m_ZExt(m_Value(X))) && in foldAddWithConstant()
964 if (match(Op0, m_ZExt(m_Xor(m_Value(X), m_APInt(C2)))) && in foldAddWithConstant()
969 if (match(Op0, m_OneUse(m_ZExt(m_NUWAdd(m_Value(X), m_APInt(C2))))) && in foldAddWithConstant()
1628 if (match(Op1, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) { in visitSub()
DInstCombineSelect.cpp669 if (match(Count, m_ZExt(m_Value(V))) || in foldSelectCttzCtlz()
753 if (match(TrueVal, m_ZExt(m_Specific(CmpLHS))) && ZextRHS == FalseVal) { in adjustMinMax()
756 } else if (match(FalseVal, m_ZExt(m_Specific(CmpLHS))) && in adjustMinMax()
DInstCombineCompares.cpp3540 if ((Op0->hasOneUse() && match(Op0, m_ZExt(m_Value(A))) && in foldICmpEquality()
3543 match(Op1, m_ZExt(m_Value(A))))) { in foldICmpEquality()
4838 if (match(Op0, m_Mul(m_ZExt(m_Value(A)), m_ZExt(m_Value(B))))) { in visitICmpInst()
4842 if (match(Op1, m_Mul(m_ZExt(m_Value(A)), m_ZExt(m_Value(B))))) { in visitICmpInst()
DInstCombineAndOrXor.cpp1191 if (match(Cast, m_OneUse(m_ZExt(m_Value(X))))) { in foldLogicCastConstant()
1377 if (!match(Op1, m_ZExt(m_Value(X))) || Op1->hasNUsesOrMore(3)) in narrowMaskedBinOp()
1505 if (match(Op0I, m_c_BinOp(m_ZExt(m_Value(X)), m_ConstantInt(C1)))) { in visitAnd()
DInstCombineCasts.cpp723 match(Src, m_LShr(m_ZExt(m_Value(A)), m_ConstantInt(Cst)))) { in visitTrunc()
DInstCombineCalls.cpp3575 ((match(Src1, m_One()) && match(Src0, m_ZExt(m_Value(ExtSrc)))) || in visitCallInst()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp387 if (match(Count, m_ZExt(m_Value(V))) || in foldSelectCttzCtlz()
477 if (match(TrueVal, m_ZExt(m_Specific(CmpLHS))) && in visitSelectInstWithICmp()
481 } else if (match(FalseVal, m_ZExt(m_Specific(CmpLHS))) && in visitSelectInstWithICmp()
DInstCombineCompares.cpp4122 if (match(Op0, m_Mul(m_ZExt(m_Value(A)), m_ZExt(m_Value(B))))) { in visitICmpInst()
4126 if (match(Op1, m_Mul(m_ZExt(m_Value(A)), m_ZExt(m_Value(B))))) { in visitICmpInst()
4196 match(Op0, m_ZExt(m_Value(A))) && in visitICmpInst()
4200 match(Op1, m_ZExt(m_Value(A))))) { in visitICmpInst()
DInstCombineAndOrXor.cpp1179 if (match(Op0, m_OneUse(m_Xor(m_ZExt(m_Value(A)), m_ConstantInt(C1)))) && in matchDeMorgansLaws()
1180 match(Op1, m_OneUse(m_Xor(m_ZExt(m_Value(B)), m_Specific(C1))))) { in matchDeMorgansLaws()
DInstCombineMulDivRem.cpp1036 match(Op1, m_ZExt(m_Shl(m_Power2(), m_Value())))) { in visitUDivOperand()
DInstCombineAddSub.cpp1530 if (C->isNullValue() && match(Op1, m_ZExt(m_Value(X)))) in visitSub()
DInstCombineCasts.cpp525 match(Src, m_LShr(m_ZExt(m_Value(A)), m_ConstantInt(Cst)))) { in visitTrunc()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineSelect.cpp413 if (match(TrueVal, m_ZExt(m_Specific(CmpLHS))) && in visitSelectInstWithICmp()
417 } else if (match(FalseVal, m_ZExt(m_Specific(CmpLHS))) && in visitSelectInstWithICmp()
DInstCombineCasts.cpp468 match(Src, m_LShr(m_ZExt(m_Value(A)), m_ConstantInt(Cst)))) { in visitTrunc()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DPatternMatch.h1148 inline CastClass_match<OpTy, Instruction::ZExt> m_ZExt(const OpTy &Op) { in m_ZExt() function
1156 return m_CombineOr(m_ZExt(Op), m_SExt(Op)); in m_ZExtOrSExt()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DPatternMatch.h571 m_ZExt(const OpTy &Op) { in m_ZExt() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonLoopIdiomRecognition.cpp769 !match(T, m_Shl(m_ZExt(m_Value(Q)), m_ZExt(m_Specific(CIV))))) in matchLeftShift()
/external/llvm/include/llvm/IR/
DPatternMatch.h813 inline CastClass_match<OpTy, Instruction::ZExt> m_ZExt(const OpTy &Op) { in m_ZExt() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInstructionSimplify.cpp954 (match(Op1, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1))) in simplifyDivRem()
2797 if (!CmpInst::isUnsigned(Pred) && match(LHS, m_Neg(m_ZExt(m_Value())))) { in simplifyICmpWithBinOp()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp6285 m_c_Or(m_OneUse(m_ZExt(m_Value(LValue))), in splitMergedValStore()
6286 m_OneUse(m_Shl(m_OneUse(m_ZExt(m_Value(HValue))), in splitMergedValStore()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp2741 if (!CmpInst::isUnsigned(Pred) && match(LHS, m_Neg(m_ZExt(m_Value())))) { in SimplifyICmpInst()