Lines Matching refs:This

5 This document details the design and API of the pattern rewriting infrastructure
6 present in MLIR, a general DAG-to-DAG transformation framework. This framework
21 Patterns are defined by inheriting from the `RewritePattern` class. This class
27 This is the expected benefit of applying a given pattern. This benefit is static
30 specific information (like the target architecture). This limitation allows for
50 This is the chunk of code that matches a given root `Operation` and performs a
61 /// This overload constructs a pattern that only matches operations with the
65 /// This overload constructs a pattern that matches any operation type.
101 `PatternRewriter`. This class provides hooks for performing all of the
125 pattern. This will signal to the pattern driver that recursive application of
133 identifiers that uniquely identify groups of patterns. This information is used
152 // Debug labels may also be attached to patterns during insertion. This allows
162 recursive application. This pattern state can be initialized either in the
186 `RewritePattern::create<T>` utility method. This method ensures that the pattern
194 class. This is required because the underlying pattern driver may have state
202 This method erases an operation that either has no results, or whose results are
207 This method allows for providing a diagnostic message within a `matchAndRewrite`
213 This method replaces an operation's results with a set of provided values, and
218 This is a collection of methods that provide a transaction-like API for updating
229 of the same functionality present within an `OpBuilder`. This includes operation
240 `RewritePatternSet`. This class provides a simplified API for building a
255 `PatternApplicator` class. This class takes as input the
257 cost model. This cost model computes a final benefit for a given pattern, using
294 // Note: This is just for demonstration, if the default cost model is truly
316 This driver provides a framework in which to perform operation conversions
317 between, and within dialects using a concept of "legality". This framework
319 conversion target, via a set of pattern-based operation rewriting patterns. This
325 This driver walks the provided operations and greedily applies the patterns that
330 fixed point is reached, at which point the driver finishes. This driver may be
337 in a pre-order over the region tree. This is generally more efficient in
339 initial worklist with a postorder traversal of the region tree. This may
342 Note: This driver is the one used by the [canonicalization](Canonicalization.md)
348 `-debug-only=greedy-rewriter` may be used. This command line flag activates
351 application process. This output contains all of the actions performed by the
373 This output is describing the processing of a `cf.cond_br` operation. We first
429 This section documents common pass options that are useful for controlling the