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);
  118     if (L.match(V))
  120     if (R.match(V))
  133     if (L.match(V))
  716       return (L.match(I->getOperand(0)) && R.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));
 1107       return PEO->isExact() && SubPattern.match(V);
 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));
 1676       return Val.match(CI->getArgOperand(OpI));