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

Opaque Attribute Storage and Uniquing. More...

#include <AttributeDetail.h>

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

Public Types

using KeyTy = std::tuple< Identifier, StringRef, Type >
 The hash key used for uniquing. More...
 

Public Member Functions

 OpaqueAttributeStorage (Identifier dialectNamespace, StringRef attrData, Type type)
 
bool operator== (const KeyTy &key) const
 
- 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 OpaqueAttributeStorageconstruct (AttributeStorageAllocator &allocator, const KeyTy &key)
 

Public Attributes

Identifier dialectNamespace
 
StringRef attrData
 

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

Opaque Attribute Storage and Uniquing.

Member Typedef Documentation

◆ KeyTy

The hash key used for uniquing.

Constructor & Destructor Documentation

◆ OpaqueAttributeStorage()

mlir::detail::OpaqueAttributeStorage::OpaqueAttributeStorage ( Identifier  dialectNamespace,
StringRef  attrData,
Type  type 
)
inline

Member Function Documentation

◆ construct()

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

◆ operator==()

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

Member Data Documentation

◆ attrData

StringRef mlir::detail::OpaqueAttributeStorage::attrData

◆ dialectNamespace

Identifier mlir::detail::OpaqueAttributeStorage::dialectNamespace

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