#include <SPIRVDialect.h>
|
| SPIRVDialect (MLIRContext *context) |
|
Type | parseType (DialectAsmParser &parser) const override |
| Parses a type registered to this dialect. More...
|
|
void | printType (Type type, DialectAsmPrinter &os) const override |
| Prints a type registered to this dialect. More...
|
|
Operation * | materializeConstant (OpBuilder &builder, Attribute value, Type type, Location loc) override |
| Provides a hook for materializing a constant to this dialect. More...
|
|
LogicalResult | verifyOperationAttribute (Operation *op, NamedAttribute attribute) override |
|
LogicalResult | verifyRegionArgAttribute (Operation *op, unsigned regionIndex, unsigned argIndex, NamedAttribute attribute) override |
|
LogicalResult | verifyRegionResultAttribute (Operation *op, unsigned regionIndex, unsigned resultIndex, NamedAttribute attribute) override |
|
virtual | ~Dialect () |
|
MLIRContext * | getContext () const |
|
StringRef | getNamespace () const |
|
bool | allowsUnknownOperations () const |
|
bool | allowsUnknownTypes () const |
|
virtual Attribute | parseAttribute (DialectAsmParser &parser, Type type) const |
| Parse an attribute registered to this dialect. More...
|
|
virtual void | printAttribute (Attribute, DialectAsmPrinter &) const |
|
const DialectInterface * | getRegisteredInterface (ClassID *interfaceID) |
|
template<typename InterfaceT > |
const InterfaceT * | getRegisteredInterface () |
|
◆ SPIRVDialect()
◆ getAttributeName()
std::string SPIRVDialect::getAttributeName |
( |
Decoration |
decoration | ) |
|
|
static |
Returns the attribute name to use when specifying decorations on results of operations.
◆ getDialectNamespace()
static StringRef mlir::spirv::SPIRVDialect::getDialectNamespace |
( |
| ) |
|
|
inlinestatic |
◆ isValidScalarType()
bool SPIRVDialect::isValidScalarType |
( |
Type |
type | ) |
|
|
static |
Checks if the given scalar type
is valid in SPIR-V dialect.
◆ isValidType()
bool SPIRVDialect::isValidType |
( |
Type |
type | ) |
|
|
static |
Checks if the given type
is valid in SPIR-V dialect.
◆ materializeConstant()
Provides a hook for materializing a constant to this dialect.
Reimplemented from mlir::Dialect.
◆ parseType()
Parses a type registered to this dialect.
Reimplemented from mlir::Dialect.
◆ printType()
Prints a type registered to this dialect.
Reimplemented from mlir::Dialect.
◆ verifyOperationAttribute()
Provides a hook for verifying SPIR-V dialect attributes attached to the given op.
Reimplemented from mlir::Dialect.
◆ verifyRegionArgAttribute()
Provides a hook for verifying SPIR-V dialect attributes attached to the given op's region argument.
Reimplemented from mlir::Dialect.
◆ verifyRegionResultAttribute()
Provides a hook for verifying SPIR-V dialect attributes attached to the given op's region result.
Reimplemented from mlir::Dialect.
The documentation for this class was generated from the following files: