My Project
|
#include <SPIRVTypes.h>
Public Types | |
using | LayoutInfo = uint64_t |
using | MemberDecorationInfo = std::pair< uint32_t, spirv::Decoration > |
![]() | |
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 (unsigned) const |
bool | hasLayout () const |
uint64_t | getOffset (unsigned) const |
void | getMemberDecorations (SmallVectorImpl< StructType::MemberDecorationInfo > &allMemberDecorations) const |
void | getMemberDecorations (unsigned i, SmallVectorImpl< spirv::Decoration > &memberDecorations) const |
Static Public Member Functions | |
static bool | kindof (unsigned kind) |
static StructType | get (ArrayRef< Type > memberTypes, ArrayRef< LayoutInfo > layoutInfo={}, ArrayRef< MemberDecorationInfo > memberDecorations={}) |
Construct a StructType with at least one member. More... | |
static StructType | getEmpty (MLIRContext *context) |
Construct a struct with no members. More... | |
![]() | |
static ClassID * | getClassID () |
Return a unique identifier for the concrete type. More... | |
template<typename T > | |
static bool | classof (T val) |
Additional Inherited Members | |
![]() | |
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... | |
using mlir::spirv::StructType::LayoutInfo = uint64_t |
using mlir::spirv::StructType::MemberDecorationInfo = std::pair<uint32_t, spirv::Decoration> |
|
static |
Construct a StructType with at least one member.
Type StructType::getElementType | ( | unsigned | index | ) | const |
|
static |
Construct a struct with no members.
void StructType::getMemberDecorations | ( | SmallVectorImpl< StructType::MemberDecorationInfo > & | allMemberDecorations | ) | const |
void StructType::getMemberDecorations | ( | unsigned | i, |
SmallVectorImpl< spirv::Decoration > & | memberDecorations | ||
) | const |
unsigned StructType::getNumElements | ( | ) | const |
uint64_t StructType::getOffset | ( | unsigned | index | ) | const |
bool StructType::hasLayout | ( | ) | const |
|
inlinestatic |