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);
  716       return (L.match(I->getOperand(0)) && R.match(I->getOperand(1))) ||
  717              (Commutable && L.match(I->getOperand(1)) &&
  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));
 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)))) {
 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()))
 1676       return Val.match(CI->getArgOperand(OpI));
lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
   85     if (RotL.match(V) && L0 == R0 && L1 == R1) {
   94     if (RotR.match(V) && L0 == R0 && L1 == R1) {
unittests/IR/PatternMatch.cpp
   61   EXPECT_TRUE(m_OneUse(m_Value(V)).match(One));
   64   EXPECT_FALSE(m_OneUse(m_Value()).match(Two));
   65   EXPECT_FALSE(m_OneUse(m_Value()).match(Leaf));