My Project
|
#include <Types.h>
Public Member Functions | |
Identifier | getDialectNamespace () const |
Returns the dialect namespace of the opaque type. More... | |
StringRef | getTypeData () const |
Returns the raw type data of the opaque type. More... | |
Static Public Member Functions | |
static OpaqueType | get (Identifier dialect, StringRef typeData, MLIRContext *context) |
Get or create a new OpaqueType with the provided dialect and string data. More... | |
static OpaqueType | getChecked (Identifier dialect, StringRef typeData, MLIRContext *context, Location location) |
static LogicalResult | verifyConstructionInvariants (Optional< Location > loc, MLIRContext *context, Identifier dialect, StringRef typeData) |
Verify the construction of an opaque type. More... | |
static bool | kindof (unsigned kind) |
![]() | |
static ClassID * | getClassID () |
Return a unique identifier for the concrete type. More... | |
template<typename T > | |
static bool | classof (T val) |
Additional Inherited Members | |
![]() | |
using | Base = StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT > |
Utility declarations for the concrete attribute class. More... | |
using | ImplType = StorageT |
![]() | |
ImplType * | getImpl () const |
Utility for easy access to the storage instance. More... | |
![]() | |
template<typename... Args> | |
static ConcreteT | get (MLIRContext *ctx, unsigned kind, Args... args) |
template<typename... Args> | |
static ConcreteT | getChecked (const Location &loc, MLIRContext *ctx, unsigned kind, Args... args) |
template<typename... Args> | |
static LogicalResult | verifyConstructionInvariants (Args... args) |
Default implementation that just returns success. More... | |
Opaque types represent types of non-registered dialects. These are types represented in their raw string form, and can only usefully be tested for type equality.
|
static |
Get or create a new OpaqueType with the provided dialect and string data.
|
static |
Get or create a new OpaqueType with the provided dialect and string data. If the given identifier is not a valid namespace for a dialect, then a null type is returned.
Identifier OpaqueType::getDialectNamespace | ( | ) | const |
Returns the dialect namespace of the opaque type.
StringRef OpaqueType::getTypeData | ( | ) | const |
Returns the raw type data of the opaque type.
|
inlinestatic |
|
static |
Verify the construction of an opaque type.