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

#include <LocationDetail.h>

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

Public Types

using KeyTy = std::pair< ArrayRef< Location >, Attribute >
 The hash key used for uniquing. More...
 

Public Member Functions

 FusedLocationStorage (unsigned numLocs, Attribute metadata)
 
ArrayRef< LocationgetLocations () const
 
bool operator== (const KeyTy &key) const
 
size_t numTrailingObjects (OverloadToken< Location >) 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 FusedLocationStorageconstruct (AttributeStorageAllocator &allocator, const KeyTy &key)
 Construct a new storage instance. More...
 

Public Attributes

unsigned numLocs
 Number of trailing location objects. More...
 
Attribute metadata
 Metadata used to reason about the generation of this fused location. More...
 

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 ()
 

Member Typedef Documentation

◆ KeyTy

The hash key used for uniquing.

Constructor & Destructor Documentation

◆ FusedLocationStorage()

mlir::detail::FusedLocationStorage::FusedLocationStorage ( unsigned  numLocs,
Attribute  metadata 
)
inline

Member Function Documentation

◆ construct()

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

Construct a new storage instance.

◆ getLocations()

ArrayRef<Location> mlir::detail::FusedLocationStorage::getLocations ( ) const
inline

◆ numTrailingObjects()

size_t mlir::detail::FusedLocationStorage::numTrailingObjects ( OverloadToken< Location ) const
inline

◆ operator==()

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

Member Data Documentation

◆ metadata

Attribute mlir::detail::FusedLocationStorage::metadata

Metadata used to reason about the generation of this fused location.

◆ numLocs

unsigned mlir::detail::FusedLocationStorage::numLocs

Number of trailing location objects.


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