Home
last modified time | relevance | path

Searched refs:countMatches (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/mlir/test/lib/IR/
DTestMatchers.cpp25 static unsigned countMatches(FuncOp f, Matcher &matcher) { in countMatches() function
44 llvm::outs() << "Pattern add(*) matched " << countMatches(f, p0) in test1()
48 llvm::outs() << "Pattern mul(*) matched " << countMatches(f, p1) in test1()
52 llvm::outs() << "Pattern add(add(*), *) matched " << countMatches(f, p2) in test1()
56 llvm::outs() << "Pattern add(*, add(*)) matched " << countMatches(f, p3) in test1()
60 llvm::outs() << "Pattern mul(add(*), *) matched " << countMatches(f, p4) in test1()
64 llvm::outs() << "Pattern mul(*, add(*)) matched " << countMatches(f, p5) in test1()
68 llvm::outs() << "Pattern mul(mul(*), *) matched " << countMatches(f, p6) in test1()
72 llvm::outs() << "Pattern mul(mul(*), mul(*)) matched " << countMatches(f, p7) in test1()
79 << countMatches(f, p8) << " times\n"; in test1()
[all …]