Each successful match returns a MatchResult, which contains information necessary to execute the rewriter and indicates the originating pattern.
More...
#include "Rewrite/ByteCode.h"
Each successful match returns a MatchResult, which contains information necessary to execute the rewriter and indicates the originating pattern.
Definition at line 132 of file ByteCode.h.
◆ MatchResult() [1/3]
◆ MatchResult() [2/3]
mlir::detail::PDLByteCode::MatchResult::MatchResult |
( |
const MatchResult & |
| ) |
|
|
delete |
◆ MatchResult() [3/3]
mlir::detail::PDLByteCode::MatchResult::MatchResult |
( |
MatchResult && |
other | ) |
|
|
default |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ benefit
The current benefit of the pattern that was matched.
Definition at line 153 of file ByteCode.h.
◆ location
Location mlir::detail::PDLByteCode::MatchResult::location |
The location of operations to be replaced.
Definition at line 142 of file ByteCode.h.
◆ pattern
The originating pattern that was matched.
This is always non-null, but represented with a pointer to allow for assignment.
Definition at line 151 of file ByteCode.h.
◆ typeRangeValues
Memory used for the range input values.
Definition at line 146 of file ByteCode.h.
◆ valueRangeValues
◆ values
SmallVector<const void *> mlir::detail::PDLByteCode::MatchResult::values |
Memory values defined in the matcher that are passed to the rewriter.
Definition at line 144 of file ByteCode.h.
The documentation for this struct was generated from the following file: