My Project
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
mlir::detail::TypeAttributeStorage Struct Reference

An attribute representing a reference to a type. More...

#include <AttributeDetail.h>

Inheritance diagram for mlir::detail::TypeAttributeStorage:
Inheritance graph
[legend]
Collaboration diagram for mlir::detail::TypeAttributeStorage:
Collaboration graph
[legend]

Public Types

using KeyTy = Type
 

Public Member Functions

 TypeAttributeStorage (Type value)
 
bool operator== (const KeyTy &key) const
 Key equality function. More...
 
- Public Member Functions inherited from mlir::AttributeStorage
Type getType () const
 Get the type of this attribute. More...
 
DialectgetDialect () const
 Get the dialect of this attribute. More...
 
- Public Member Functions inherited from mlir::StorageUniquer::BaseStorage
unsigned getKind () const
 Get the kind classification of this storage. More...
 

Static Public Member Functions

static TypeAttributeStorageconstruct (AttributeStorageAllocator &allocator, KeyTy key)
 Construct a new storage instance. More...
 

Public Attributes

Type value
 

Additional Inherited Members

- Protected Member Functions inherited from mlir::AttributeStorage
 AttributeStorage (Type type)
 
 AttributeStorage ()
 
void setType (Type type)
 Set the type of this attribute. More...
 
void initializeDialect (Dialect &newDialect)
 
- Protected Member Functions inherited from mlir::StorageUniquer::BaseStorage
 BaseStorage ()
 

Detailed Description

An attribute representing a reference to a type.

Member Typedef Documentation

◆ KeyTy

Constructor & Destructor Documentation

◆ TypeAttributeStorage()

mlir::detail::TypeAttributeStorage::TypeAttributeStorage ( Type  value)
inline

Member Function Documentation

◆ construct()

static TypeAttributeStorage* mlir::detail::TypeAttributeStorage::construct ( AttributeStorageAllocator allocator,
KeyTy  key 
)
inlinestatic

Construct a new storage instance.

◆ operator==()

bool mlir::detail::TypeAttributeStorage::operator== ( const KeyTy key) const
inline

Key equality function.

Member Data Documentation

◆ value

Type mlir::detail::TypeAttributeStorage::value

The documentation for this struct was generated from the following file: