[Mlir-commits] [mlir] [mlir] MLIR-QUERY slice-matchers implementation (PR #115670)
Jacques Pienaar
llvmlistbot at llvm.org
Wed Feb 26 21:30:57 PST 2025
================
@@ -17,7 +17,31 @@
namespace mlir::query {
-enum class QueryKind { Invalid, NoOp, Help, Match, Quit };
+///
+/// Options for configuring which parts of the IR are to be
+/// traversed by the matcher
+///
+struct QueryOptions {
+ /// When omitBlockArguments is true, the matcher omits traversing
+ /// any block arguments
+ bool omitBlockArguments = false;
+ /// When omitUsesFromAbove is true, the matcher omits
----------------
jpienaar wrote:
Reflow paragraph to avoid extra whitespace
https://github.com/llvm/llvm-project/pull/115670
More information about the Mlir-commits
mailing list