Searched refs:m_Op (Results 1 – 5 of 5) sorted by relevance
| /llvm-project-15.0.7/mlir/test/lib/IR/ |
| H A D | TestMatchers.cpp | 59 auto p2 = m_Op<arith::AddFOp>(m_Op<arith::AddFOp>(), m_Any()); in test1() 63 auto p3 = m_Op<arith::AddFOp>(m_Any(), m_Op<arith::AddFOp>()); in test1() 67 auto p4 = m_Op<arith::MulFOp>(m_Op<arith::AddFOp>(), m_Any()); in test1() 71 auto p5 = m_Op<arith::MulFOp>(m_Any(), m_Op<arith::AddFOp>()); in test1() 75 auto p6 = m_Op<arith::MulFOp>(m_Op<arith::MulFOp>(), m_Any()); in test1() 79 auto p7 = m_Op<arith::MulFOp>(m_Op<arith::MulFOp>(), m_Op<arith::MulFOp>()); in test1() 84 m_Op<arith::MulFOp>(m_Op<arith::MulFOp>(), m_Op<arith::MulFOp>()); in test1() 91 auto mulOfMuladd = m_Op<arith::MulFOp>(m_Op<arith::MulFOp>(), m_Op<arith::AddFOp>()); in test1() 93 auto p9 = m_Op<arith::MulFOp>(m_Op<arith::MulFOp>( in test1() 117 auto p14 = m_Op<arith::MulFOp>(a, m_Op<arith::AddFOp>(c, b)); in test1() [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | Matchers.h | 327 inline detail::op_matcher<OpClass> m_Op() { in m_Op() function 361 auto m_Op(Matchers... matchers) { in m_Op() function
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/IR/ |
| H A D | ArithmeticOps.cpp | 952 if (matchPattern(getOperand(), m_Op<arith::ExtUIOp>()) || in fold() 953 matchPattern(getOperand(), m_Op<arith::ExtSIOp>())) in fold() 957 if (matchPattern(getOperand(), m_Op<arith::TruncIOp>())) { in fold()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Utils/ |
| H A D | Utils.cpp | 118 auto addPattern = m_Op<linalg::YieldOp>(m_Op<arith::AddIOp>(a, b)); in matchAsScalarBinaryOp()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Dialect/ |
| H A D | FIROps.cpp | 871 if (matchPattern(getValue(), mlir::m_Op<fir::ConvertOp>())) { in fold()
|