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

An attribute representing a symbol reference. More...

#include <AttributeDetail.h>

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

Public Types

using KeyTy = std::pair< StringRef, ArrayRef< FlatSymbolRefAttr > >
 

Public Member Functions

 SymbolRefAttributeStorage (StringRef value, size_t numNestedRefs)
 
bool operator== (const KeyTy &key) const
 Key equality function. More...
 
ArrayRef< FlatSymbolRefAttrgetNestedRefs () const
 Returns the set of nested references. 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 SymbolRefAttributeStorageconstruct (AttributeStorageAllocator &allocator, const KeyTy &key)
 Construct a new storage instance. More...
 

Public Attributes

StringRef value
 
size_t numNestedRefs
 

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 symbol reference.

Member Typedef Documentation

◆ KeyTy

Constructor & Destructor Documentation

◆ SymbolRefAttributeStorage()

mlir::detail::SymbolRefAttributeStorage::SymbolRefAttributeStorage ( StringRef  value,
size_t  numNestedRefs 
)
inline

Member Function Documentation

◆ construct()

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

Construct a new storage instance.

◆ getNestedRefs()

ArrayRef<FlatSymbolRefAttr> mlir::detail::SymbolRefAttributeStorage::getNestedRefs ( ) const
inline

Returns the set of nested references.

◆ operator==()

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

Key equality function.

Member Data Documentation

◆ numNestedRefs

size_t mlir::detail::SymbolRefAttributeStorage::numNestedRefs

◆ value

StringRef mlir::detail::SymbolRefAttributeStorage::value

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