My Project
|
#include <StandardTypes.h>
Public Member Functions | |
Type | getElementType () |
Static Public Member Functions | |
static ComplexType | get (Type elementType) |
Get or create a ComplexType with the provided element type. More... | |
static ComplexType | getChecked (Type elementType, Location location) |
static LogicalResult | verifyConstructionInvariants (Optional< Location > loc, MLIRContext *context, Type elementType) |
Verify the construction of an integer 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... | |
The 'complex' type represents a complex number with a parameterized element type, which is composed of a real and imaginary value of that element type.
The element must be a floating point or integer scalar type.
|
static |
Get or create a ComplexType with the provided element type.
|
static |
Get or create a ComplexType with the provided element type. This emits and error at the specified location and returns null if the element type isn't supported.
Type ComplexType::getElementType | ( | ) |
|
inlinestatic |
|
static |
Verify the construction of an integer type.