/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 309 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()
|
D | InstCombineShifts.cpp | 612 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()
|
D | InstCombineAddSub.cpp | 937 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()
|
D | InstCombineSelect.cpp | 669 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()
|
D | InstCombineCompares.cpp | 3540 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()
|
D | InstCombineAndOrXor.cpp | 1191 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()
|
D | InstCombineCasts.cpp | 723 match(Src, m_LShr(m_ZExt(m_Value(A)), m_ConstantInt(Cst)))) { in visitTrunc()
|
D | InstCombineCalls.cpp | 3575 ((match(Src1, m_One()) && match(Src0, m_ZExt(m_Value(ExtSrc)))) || in visitCallInst()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 387 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()
|
D | InstCombineCompares.cpp | 4122 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()
|
D | InstCombineAndOrXor.cpp | 1179 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()
|
D | InstCombineMulDivRem.cpp | 1036 match(Op1, m_ZExt(m_Shl(m_Power2(), m_Value())))) { in visitUDivOperand()
|
D | InstCombineAddSub.cpp | 1530 if (C->isNullValue() && match(Op1, m_ZExt(m_Value(X)))) in visitSub()
|
D | InstCombineCasts.cpp | 525 match(Src, m_LShr(m_ZExt(m_Value(A)), m_ConstantInt(Cst)))) { in visitTrunc()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 413 if (match(TrueVal, m_ZExt(m_Specific(CmpLHS))) && in visitSelectInstWithICmp() 417 } else if (match(FalseVal, m_ZExt(m_Specific(CmpLHS))) && in visitSelectInstWithICmp()
|
D | InstCombineCasts.cpp | 468 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/ |
D | PatternMatch.h | 1148 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/ |
D | PatternMatch.h | 571 m_ZExt(const OpTy &Op) { in m_ZExt() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonLoopIdiomRecognition.cpp | 769 !match(T, m_Shl(m_ZExt(m_Value(Q)), m_ZExt(m_Specific(CIV))))) in matchLeftShift()
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 813 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/ |
D | InstructionSimplify.cpp | 954 (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/ |
D | CodeGenPrepare.cpp | 6285 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/ |
D | InstructionSimplify.cpp | 2741 if (!CmpInst::isUnsigned(Pred) && match(LHS, m_Neg(m_ZExt(m_Value())))) { in SimplifyICmpInst()
|