/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 1193 if (match(Op0, m_BinOp(m_Specific(Op1), m_Constant(C)))) in foldSelectShuffleWith1Binop() 1195 else if (match(Op1, m_BinOp(m_Specific(Op0), m_Constant(C)))) in foldSelectShuffleWith1Binop() 1248 if (!match(Shuf.getOperand(0), m_BinOp(B0)) || in foldSelectShuffle() 1249 !match(Shuf.getOperand(1), m_BinOp(B1))) in foldSelectShuffle() 1255 if (match(B0, m_BinOp(m_Value(X), m_Constant(C0))) && in foldSelectShuffle() 1256 match(B1, m_BinOp(m_Value(Y), m_Constant(C1)))) in foldSelectShuffle() 1258 else if (match(B0, m_BinOp(m_Constant(C0), m_Value(X))) && in foldSelectShuffle() 1259 match(B1, m_BinOp(m_Constant(C1), m_Value(Y)))) in foldSelectShuffle()
|
D | InstCombineShifts.cpp | 550 if (match(Op0, m_Select(m_Value(Cond), m_OneUse(m_BinOp(TBO)), in FoldShiftByConstant() 570 m_OneUse(m_BinOp(FBO))))) { in FoldShiftByConstant()
|
D | InstCombineSelect.cpp | 1899 if (match(TrueVal, m_OneUse(m_BinOp(TrueBO))) && in visitSelectInst() 1919 if (match(FalseVal, m_OneUse(m_BinOp(FalseBO))) && in visitSelectInst()
|
D | InstCombineAndOrXor.cpp | 1291 if (match(&I, m_BinOp(m_Or(m_Value(A), m_Value(B)), in foldAndToXor() 1300 if (match(&I, m_BinOp(m_c_Or(m_Value(A), m_Not(m_Value(B))), in foldAndToXor() 2512 if (match(&I, m_Not(m_BinOp(NotVal)))) { in visitXor()
|
D | InstCombineCasts.cpp | 572 if (!match(Trunc.getOperand(0), m_OneUse(m_BinOp(BinOp)))) in narrowBinOp() 2024 !match(BitCast.getOperand(0), m_OneUse(m_BinOp(BO))) || in foldBitCastBitwiseLogic()
|
D | InstructionCombining.cpp | 413 match(Op0, m_OneUse(m_BinOp(m_Value(A), m_Constant(C1)))) && in SimplifyAssociativeOrCommutative() 414 match(Op1, m_OneUse(m_BinOp(m_Value(B), m_Constant(C2))))) { in SimplifyAssociativeOrCommutative()
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 67 inline class_match<BinaryOperator> m_BinOp() { in m_BinOp() function 302 inline bind_ty<BinaryOperator> m_BinOp(BinaryOperator *&I) { return I; } in m_BinOp() function 406 inline AnyBinaryOp_match<LHS, RHS> m_BinOp(const LHS &L, const RHS &R) { in m_BinOp() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 75 inline class_match<BinaryOperator> m_BinOp() { in m_BinOp() function 478 inline bind_ty<BinaryOperator> m_BinOp(BinaryOperator *&I) { return I; } in m_BinOp() function 604 inline AnyBinaryOp_match<LHS, RHS> m_BinOp(const LHS &L, const RHS &R) { in m_BinOp() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | TargetTransformInfo.cpp | 723 if (m_BinOp(m_Value(L), m_Value(R)).match(I)) in getReductionData()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 5491 if (!match(BB.getTerminator(), m_Br(m_OneUse(m_BinOp(LogicOp)), TBB, FBB))) in splitBranchCondition() 5509 if (!match(Cond1, m_CombineOr(m_Cmp(), m_BinOp())) || in splitBranchCondition() 5510 !match(Cond2, m_CombineOr(m_Cmp(), m_BinOp())) ) in splitBranchCondition()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 6775 if (!match(BB.getTerminator(), m_Br(m_OneUse(m_BinOp(LogicOp)), TBB, FBB))) in splitBranchCondition() 6793 if (!match(Cond1, m_CombineOr(m_Cmp(), m_BinOp())) || in splitBranchCondition() 6794 !match(Cond2, m_CombineOr(m_Cmp(), m_BinOp())) ) in splitBranchCondition()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 5491 if (m_BinOp(m_Value(LHS), m_Value(RHS)).match(V)) { in getOperationData()
|