My Project
|
#include <SPIRVTypes.h>
Public Member Functions | |
unsigned | getNumElements () const |
Type | getElementType (unsigned) const |
![]() | |
Type () | |
Type (const ImplType *impl) | |
Type (const Type &other)=default | |
Type & | operator= (const Type &other)=default |
bool | operator== (Type other) const |
bool | operator!= (Type other) const |
operator bool () const | |
bool | operator! () const |
template<typename U > | |
bool | isa () const |
template<typename U > | |
U | dyn_cast () const |
template<typename U > | |
U | dyn_cast_or_null () const |
template<typename U > | |
U | cast () const |
unsigned | getKind () const |
Return the classification for this type. More... | |
MLIRContext * | getContext () const |
Return the LLVMContext in which this type was uniqued. More... | |
Dialect & | getDialect () const |
Get the dialect this type is registered to. More... | |
bool | isIndex () |
bool | isBF16 () |
bool | isF16 () |
bool | isF32 () |
bool | isF64 () |
bool | isInteger (unsigned width) |
Return true if this is an integer type with the specified width. More... | |
unsigned | getIntOrFloatBitWidth () |
bool | isIntOrIndex () |
Return true if this is an integer or index type. More... | |
bool | isIntOrIndexOrFloat () |
Return true if this is an integer, index, or float type. More... | |
bool | isIntOrFloat () |
Return true of this is an integer or a float type. More... | |
void | print (raw_ostream &os) |
Print the current type. More... | |
void | dump () |
unsigned | getSubclassData () const |
void | setSubclassData (unsigned val) |
const void * | getAsOpaquePointer () const |
Methods for supporting PointerLikeTypeTraits. More... | |
Static Public Member Functions | |
static bool | classof (Type type) |
![]() | |
static bool | classof (Type) |
static Type | getFromOpaquePointer (const void *pointer) |
Additional Inherited Members | |
![]() | |
enum | Kind { Function, Opaque, LAST_BUILTIN_TYPE = Opaque, DEFINE_SYM_KIND_RANGE, DEFINE_SYM_KIND_RANGE } |
template<typename ConcreteType , typename BaseType , typename StorageType = DefaultTypeStorage> | |
using | TypeBase = detail::StorageUserBase< ConcreteType, BaseType, StorageType, detail::TypeUniquer > |
Utility class for implementing types. More... | |
using | ImplType = TypeStorage |
![]() | |
ImplType * | impl |
|
static |
Type CompositeType::getElementType | ( | unsigned | index | ) | const |
unsigned CompositeType::getNumElements | ( | ) | const |