reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
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))) || 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)))); 1175 return Op1.match(I->getOperand(0)); 1281 return O->getOpcode() == Opcode && Op.match(O->getOperand(0));unittests/IR/PatternMatch.cpp
485 EXPECT_FALSE(m_ZExt(m_One()).match(One32)); 486 EXPECT_TRUE(m_ZExt(m_One()).match(One64Z)); 487 EXPECT_FALSE(m_ZExt(m_One()).match(One64S)); 489 EXPECT_FALSE(m_SExt(m_One()).match(One32)); 490 EXPECT_FALSE(m_SExt(m_One()).match(One64Z)); 491 EXPECT_TRUE(m_SExt(m_One()).match(One64S));