My Project
Public Member Functions | Static Public Member Functions | List of all members
mlir::spirv::CompositeType Class Reference

#include <SPIRVTypes.h>

Inheritance diagram for mlir::spirv::CompositeType:
Inheritance graph
[legend]
Collaboration diagram for mlir::spirv::CompositeType:
Collaboration graph
[legend]

Public Member Functions

unsigned getNumElements () const
 
Type getElementType (unsigned) const
 
- Public Member Functions inherited from mlir::Type
 Type ()
 
 Type (const ImplType *impl)
 
 Type (const Type &other)=default
 
Typeoperator= (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 >
dyn_cast () const
 
template<typename U >
dyn_cast_or_null () const
 
template<typename U >
cast () const
 
unsigned getKind () const
 Return the classification for this type. More...
 
MLIRContextgetContext () const
 Return the LLVMContext in which this type was uniqued. More...
 
DialectgetDialect () 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 Public Member Functions inherited from mlir::Type
static bool classof (Type)
 
static Type getFromOpaquePointer (const void *pointer)
 

Additional Inherited Members

- Public Types inherited from mlir::Type
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
 
- Protected Attributes inherited from mlir::Type
ImplTypeimpl
 

Member Function Documentation

◆ classof()

bool CompositeType::classof ( Type  type)
static

◆ getElementType()

Type CompositeType::getElementType ( unsigned  index) const

◆ getNumElements()

unsigned CompositeType::getNumElements ( ) const

The documentation for this class was generated from the following files: