reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/IR/PatternMatch.h
   48   return const_cast<Pattern &>(P).match(V);
   57     return V->hasOneUse() && SubPattern.match(V);
  120     if (R.match(V))
  134       if (R.match(V))
  716       return (L.match(I->getOperand(0)) && R.match(I->getOperand(1))) ||
  716       return (L.match(I->getOperand(0)) && R.match(I->getOperand(1))) ||
  717              (Commutable && L.match(I->getOperand(1)) &&
  718               R.match(I->getOperand(0)));
  745       return (L.match(I->getOperand(0)) && R.match(I->getOperand(1))) ||
  745       return (L.match(I->getOperand(0)) && R.match(I->getOperand(1))) ||
  746              (Commutable && L.match(I->getOperand(1)) &&
  747               R.match(I->getOperand(0)));
  751              ((L.match(CE->getOperand(0)) && R.match(CE->getOperand(1))) ||
  751              ((L.match(CE->getOperand(0)) && R.match(CE->getOperand(1))) ||
  752               (Commutable && L.match(CE->getOperand(1)) &&
  753                R.match(CE->getOperand(0))));
  791       return X.match(FPMO->getOperand(0));
  804       return X.match(FPMO->getOperand(1));
  928       return L.match(Op->getOperand(0)) && R.match(Op->getOperand(1));
  928       return L.match(Op->getOperand(0)) && R.match(Op->getOperand(1));
 1012       return this->isOpType(I->getOpcode()) && L.match(I->getOperand(0)) &&
 1013              R.match(I->getOperand(1));
 1015       return this->isOpType(CE->getOpcode()) && L.match(CE->getOperand(0)) &&
 1016              R.match(CE->getOperand(1));
 1134       if ((L.match(I->getOperand(0)) && R.match(I->getOperand(1))) ||
 1134       if ((L.match(I->getOperand(0)) && R.match(I->getOperand(1))) ||
 1135           (Commutable && L.match(I->getOperand(1)) &&
 1136            R.match(I->getOperand(0)))) {
 1175       return Op1.match(I->getOperand(0));
 1191       return Op1.match(I->getOperand(0)) && Op2.match(I->getOperand(1));
 1191       return Op1.match(I->getOperand(0)) && Op2.match(I->getOperand(1));
 1210       return Op1.match(I->getOperand(0)) && Op2.match(I->getOperand(1)) &&
 1210       return Op1.match(I->getOperand(0)) && Op2.match(I->getOperand(1)) &&
 1211              Op3.match(I->getOperand(2));
 1281       return O->getOpcode() == Opcode && Op.match(O->getOperand(0));
 1406       if (BI->isConditional() && Cond.match(BI->getCondition()))
 1407         return T.match(BI->getSuccessor(0)) && F.match(BI->getSuccessor(1));
 1407         return T.match(BI->getSuccessor(0)) && F.match(BI->getSuccessor(1));
 1462     return (L.match(LHS) && R.match(RHS)) ||
 1462     return (L.match(LHS) && R.match(RHS)) ||
 1463            (Commutable && L.match(RHS) && R.match(LHS));
 1463            (Commutable && L.match(RHS) && R.match(LHS));
 1632         return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpLHS);
 1632         return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpLHS);
 1632         return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpLHS);
 1637         return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpRHS);
 1637         return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpRHS);
 1637         return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpRHS);
 1645         return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpLHS);
 1645         return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpLHS);
 1645         return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpLHS);
 1650         return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpRHS);
 1650         return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpRHS);
 1650         return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpRHS);
 1676       return Val.match(CI->getArgOperand(OpI));
 1926     return Signum.match(V) && OpL == OpR && Val.match(OpL);