|
MLIR 22.0.0git
|
Wrapper class that represents a Tablegen AttrOrTypeBuilder. More...
#include "mlir/TableGen/AttrOrTypeDef.h"
Public Member Functions | |
| std::optional< StringRef > | getReturnType () const |
| Returns an optional builder return type. | |
| bool | hasInferredContextParameter () const |
| Returns true if this builder is able to infer the MLIRContext parameter. | |
| Builder (const llvm::Record *record, ArrayRef< SMLoc > loc) | |
| Construct a builder from the given Record instance. | |
| Public Member Functions inherited from mlir::tblgen::Builder | |
| Builder (const llvm::Record *record, ArrayRef< SMLoc > loc) | |
| Construct a builder from the given Record instance. | |
| ArrayRef< Parameter > | getParameters () const |
| Return a list of parameters used in this build method. | |
| std::optional< StringRef > | getBody () const |
| Return an optional string containing the body of the builder. | |
| std::optional< StringRef > | getDeprecatedMessage () const |
| Return the deprecation message of the builder. | |
Additional Inherited Members | |
| Protected Attributes inherited from mlir::tblgen::Builder | |
| const llvm::Record * | def |
| The TableGen definition of this builder. | |
Wrapper class that represents a Tablegen AttrOrTypeBuilder.
Definition at line 37 of file AttrOrTypeDef.h.
| mlir::tblgen::Builder::Builder | ( | const llvm::Record * | record, |
| ArrayRef< SMLoc > | loc ) |
Construct a builder from the given Record instance.
| std::optional< StringRef > AttrOrTypeBuilder::getReturnType | ( | ) | const |
Returns an optional builder return type.
Definition at line 31 of file AttrOrTypeDef.cpp.
References mlir::tblgen::Builder::def.
| bool AttrOrTypeBuilder::hasInferredContextParameter | ( | ) | const |
Returns true if this builder is able to infer the MLIRContext parameter.
Definition at line 36 of file AttrOrTypeDef.cpp.
References mlir::tblgen::Builder::def.