My Project
|
#include <StorageUniquerSupport.h>
Public Types | |
using | Base = StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT > |
Utility declarations for the concrete attribute class. More... | |
using | ImplType = StorageT |
Static Public Member Functions | |
static ClassID * | getClassID () |
Return a unique identifier for the concrete type. More... | |
template<typename T > | |
static bool | classof (T val) |
Protected Member Functions | |
ImplType * | getImpl () const |
Utility for easy access to the storage instance. More... | |
Static Protected Member Functions | |
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... | |
Utility class for implementing users of storage classes uniqued by a StorageUniquer. Clients are not expected to interact with this class directly.
using mlir::detail::StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT >::Base = StorageUserBase<ConcreteT, BaseT, StorageT, UniquerT> |
Utility declarations for the concrete attribute class.
using mlir::detail::StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT >::ImplType = StorageT |
|
inlinestatic |
Provide a default implementation of 'classof' that invokes a 'kindof' method on the concrete type.
|
inlinestaticprotected |
Get or create a new ConcreteT instance within the ctx. This function is guaranteed to return a non null object and will assert if the arguments provided are invalid.
|
inlinestaticprotected |
Get or create a new ConcreteT instance within the ctx, defined at the given, potentially unknown, location. If the arguments provided are invalid then emit errors and return a null object.
|
inlinestatic |
Return a unique identifier for the concrete type.
|
inlineprotected |
Utility for easy access to the storage instance.
|
inlinestaticprotected |
Default implementation that just returns success.