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

#include <SPIRVTypes.h>

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

Public Types

using LayoutInfo = uint64_t
 
- Public Types inherited from mlir::detail::StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT >
using Base = StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT >
 Utility declarations for the concrete attribute class. More...
 
using ImplType = StorageT
 

Public Member Functions

unsigned getNumElements () const
 
Type getElementType () const
 
bool hasLayout () const
 
uint64_t getArrayStride () const
 

Static Public Member Functions

static bool kindof (unsigned kind)
 
static ArrayType get (Type elementType, unsigned elementCount)
 
static ArrayType get (Type elementType, unsigned elementCount, LayoutInfo layoutInfo)
 
- Static Public Member Functions inherited from mlir::detail::StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT >
static ClassIDgetClassID ()
 Return a unique identifier for the concrete type. More...
 
template<typename T >
static bool classof (T val)
 

Additional Inherited Members

- Protected Member Functions inherited from mlir::detail::StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT >
ImplTypegetImpl () const
 Utility for easy access to the storage instance. More...
 
- Static Protected Member Functions inherited from mlir::detail::StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT >
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...
 

Member Typedef Documentation

◆ LayoutInfo

Member Function Documentation

◆ get() [1/2]

ArrayType ArrayType::get ( Type  elementType,
unsigned  elementCount 
)
static

◆ get() [2/2]

ArrayType ArrayType::get ( Type  elementType,
unsigned  elementCount,
ArrayType::LayoutInfo  layoutInfo 
)
static

◆ getArrayStride()

uint64_t ArrayType::getArrayStride ( ) const

◆ getElementType()

Type ArrayType::getElementType ( ) const

◆ getNumElements()

unsigned ArrayType::getNumElements ( ) const

◆ hasLayout()

bool ArrayType::hasLayout ( ) const

◆ kindof()

static bool mlir::spirv::ArrayType::kindof ( unsigned  kind)
inlinestatic

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