MLIR
18.0.0git
|
Handling for various Attribute value types. More...
#include "mlir/IR/PatternMatch.h"
Static Public Member Functions | |
static StringRef | processAsArg (StringAttr value) |
static void | processAsResult (PatternRewriter &rewriter, PDLResultList &results, StringRef value) |
![]() | |
static LogicalResult | verifyAsArg (function_ref< LogicalResult(const Twine &)> errorFn, PDLValue pdlValue, size_t argIdx) |
static LogicalResult | verifyAsArg (function_ref< LogicalResult(const Twine &)> errorFn, StringAttr value, size_t argIdx) |
Explicitly add the expected parent API to ensure the parent class implements the necessary API (and doesn't implicitly inherit it from somewhere else). More... | |
static StringRef | processAsArg (PDLValue pdlValue) |
static StringRef | processAsArg (StringAttr baseValue) |
Handling for various Attribute value types.
Definition at line 1208 of file PatternMatch.h.
|
inlinestatic |
Definition at line 1210 of file PatternMatch.h.
|
inlinestatic |
Definition at line 1213 of file PatternMatch.h.
References mlir::Builder::getStringAttr(), and mlir::PDLResultList::push_back().