Searched refs:m_Op (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/mlir/test/lib/IR/ |
D | TestMatchers.cpp | 43 auto p0 = m_Op<AddFOp>(); // using 0-arity matcher in test1() 47 auto p1 = m_Op<MulFOp>(); // using 0-arity matcher in test1() 51 auto p2 = m_Op<AddFOp>(m_Op<AddFOp>(), m_Any()); in test1() 55 auto p3 = m_Op<AddFOp>(m_Any(), m_Op<AddFOp>()); in test1() 59 auto p4 = m_Op<MulFOp>(m_Op<AddFOp>(), m_Any()); in test1() 63 auto p5 = m_Op<MulFOp>(m_Any(), m_Op<AddFOp>()); in test1() 67 auto p6 = m_Op<MulFOp>(m_Op<MulFOp>(), m_Any()); in test1() 71 auto p7 = m_Op<MulFOp>(m_Op<MulFOp>(), m_Op<MulFOp>()); in test1() 75 auto mul_of_mulmul = m_Op<MulFOp>(m_Op<MulFOp>(), m_Op<MulFOp>()); in test1() 76 auto p8 = m_Op<MulFOp>(mul_of_mulmul, mul_of_mulmul); in test1() [all …]
|
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/ |
D | Vectorization.cpp | 51 auto pattern1 = m_Op<linalg::YieldOp>(m_Op<AddFOp>(m_Op<MulFOp>(a, b), c)); in hasMultiplyAddBody() 52 auto pattern2 = m_Op<linalg::YieldOp>(m_Op<AddFOp>(c, m_Op<MulFOp>(a, b))); in hasMultiplyAddBody() 53 auto pattern3 = m_Op<linalg::YieldOp>(m_Op<AddFOp>(m_Op<MulFOp>(b, a), c)); in hasMultiplyAddBody() 54 auto pattern4 = m_Op<linalg::YieldOp>(m_Op<AddFOp>(c, m_Op<MulFOp>(b, a))); in hasMultiplyAddBody() 55 auto pattern5 = m_Op<linalg::YieldOp>(m_Op<AddIOp>(m_Op<MulIOp>(a, b), c)); in hasMultiplyAddBody() 56 auto pattern6 = m_Op<linalg::YieldOp>(m_Op<AddIOp>(c, m_Op<MulIOp>(a, b))); in hasMultiplyAddBody() 57 auto pattern7 = m_Op<linalg::YieldOp>(m_Op<AddIOp>(m_Op<MulIOp>(b, a), c)); in hasMultiplyAddBody() 58 auto pattern8 = m_Op<linalg::YieldOp>(m_Op<AddIOp>(c, m_Op<MulIOp>(b, a))); in hasMultiplyAddBody()
|
/external/llvm-project/mlir/include/mlir/IR/ |
D | Matchers.h | 227 template <typename OpClass> inline detail::op_matcher<OpClass> m_Op() { in m_Op() function 265 auto m_Op(Matchers... matchers) { in m_Op() function
|
/external/llvm-project/flang/lib/Optimizer/Dialect/ |
D | FIROps.cpp | 320 if (matchPattern(value(), m_Op<fir::ConvertOp>())) { in fold()
|