HomeSort by: relevance | last modified time | path
    Searched refs:m_BinOp (Results 1 - 17 of 17) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineVectorOps.cpp 77 if (match(V, m_OneUse(m_BinOp(m_Value(V0), m_Value(V1)))))
406 if (match(SrcVec, m_BinOp(BO)) && cheapToScalarize(SrcVec, IndexC)) {
1799 if (match(Op0, m_BinOp(m_Specific(Op1), m_Constant(C))))
1801 else if (match(Op1, m_BinOp(m_Specific(Op0), m_Constant(C))))
1901 if (!match(Shuf.getOperand(0), m_BinOp(B0)) ||
1902 !match(Shuf.getOperand(1), m_BinOp(B1)))
1908 if (match(B0, m_BinOp(m_Value(X), m_Constant(C0))) &&
1909 match(B1, m_BinOp(m_Value(Y), m_Constant(C1))))
1911 else if (match(B0, m_BinOp(m_Constant(C0), m_Value(X))) &&
1912 match(B1, m_BinOp(m_Constant(C1), m_Value(Y)))
    [all...]
InstCombineSelect.cpp 82 if (!match(Sel.getOperand(IsEq ? 1 : 2), m_BinOp(BO)))
98 if (!BO->isCommutative() && !match(BO, m_BinOp(m_Value(Y), m_Specific(X))))
2195 if (!match(MinMax2, m_SMax(m_BinOp(AddSub), m_APInt(MinValue))))
2199 if (!match(MinMax2, m_SMin(m_BinOp(AddSub), m_APInt(MaxValue))))
2224 if(!match(AddSub, m_BinOp(m_SExt(m_Value(A)), m_SExt(m_Value(B)))))
2322 if (!match(Sel.getFalseValue(), m_OneUse(m_Or(m_BinOp(Or0), m_BinOp(Or1)))))
3090 if (match(TrueVal, m_OneUse(m_BinOp(TrueBO))) &&
3110 if (match(FalseVal, m_OneUse(m_BinOp(FalseBO))) &&
InstCombineShifts.cpp 351 return match(V, m_BinOp(BO)) && BO->getOpcode() == ShiftOpcode &&
851 if (match(Op0, m_Select(m_Value(Cond), m_OneUse(m_BinOp(TBO)),
871 m_OneUse(m_BinOp(FBO))))) {
InstCombineAndOrXor.cpp 1503 !match(Op1, m_BinOp(BO1)) || BO1->getOpcode() != Opcode)
1683 if (match(&I, m_BinOp(m_Or(m_Value(A), m_Value(B)),
1692 if (match(&I, m_BinOp(m_c_Or(m_Value(A), m_Not(m_Value(B))),
2120 if (!match(Or.getOperand(0), m_BinOp(Or0)) ||
2121 !match(Or.getOperand(1), m_BinOp(Or1)))
3342 if (match(&I, m_Not(m_BinOp(NotVal)))) {
InstCombineCasts.cpp 536 if (!match(Trunc.getOperand(0), m_OneUse(m_Or(m_BinOp(Or0), m_BinOp(Or1)))))
629 if (!match(Trunc.getOperand(0), m_OneUse(m_BinOp(BinOp))))
2284 !match(BitCast.getOperand(0), m_OneUse(m_BinOp(BO))) ||
InstructionCombining.cpp 492 match(Op0, m_OneUse(m_BinOp(m_Value(A), m_Constant(C1)))) &&
493 match(Op1, m_OneUse(m_BinOp(m_Value(B), m_Constant(C2))))) {
1720 X->getType() != Inst.getType() || !match(RHS, m_OneUse(m_BinOp(BO))) ||
InstCombineSimplifyDemanded.cpp 1554 if (match(I, m_BinOp(BO)) && !BO->isIntDivRem() && !BO->isShift()) {
InstCombineAddSub.cpp 1347 match(&I, m_BinOp(m_c_Add(m_Not(m_Value(B)), m_Value(A)), m_One())))
InstCombineCompares.cpp 3560 match(XShift, m_BinOp(m_Value(X), m_ZExtOrSelf(m_Value(XShAmt))));
3561 match(YShift, m_BinOp(m_Value(Y), m_ZExtOrSelf(m_Value(YShAmt))));
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
VectorCombine.cpp 457 !match(&I, m_BinOp(m_Instruction(I0), m_Instruction(I1))))
564 if (!match(&I, m_BinOp(m_Value(Ins0), m_Value(Ins1))) &&
SLPVectorizer.cpp 7826 if (match(I, m_BinOp(m_Value(V0), m_Value(V1))))
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
MIPatternMatch.h 284 inline BinaryOpc_match<LHS, RHS, false> m_BinOp(unsigned Opcode, const LHS &L,
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
VectorUtils.cpp 398 if (match(V, m_BinOp(m_Value(X), m_Value(Y))))
TargetTransformInfo.cpp 1078 if (m_BinOp(m_Value(L), m_Value(R)).match(I))
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
PatternMatch.h 84 inline class_match<BinaryOperator> m_BinOp() {
752 inline bind_ty<BinaryOperator> m_BinOp(BinaryOperator *&I) { return I; }
953 inline AnyBinaryOp_match<LHS, RHS> m_BinOp(const LHS &L, const RHS &R) {
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
CodeGenPrepare.cpp 1476 if (!match(Cmp, m_UAddWithOverflow(m_Value(A), m_Value(B), m_BinOp(Add)))) {
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
SimplifyCFG.cpp 2776 V, m_CombineOr(m_BinOp(), m_CombineOr(m_LogicalAnd(), m_LogicalOr())));

Completed in 147 milliseconds