CIRCT  19.0.0git
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
circt::firrtl::detail::ClassTypeStorage Struct Reference
Inheritance diagram for circt::firrtl::detail::ClassTypeStorage:
Inheritance graph
[legend]
Collaboration diagram for circt::firrtl::detail::ClassTypeStorage:
Collaboration graph
[legend]

Public Types

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

Public Member Functions

 ClassTypeStorage (FlatSymbolRefAttr name, ArrayRef< ClassElement > elements, ArrayRef< uint64_t > fieldIDs, uint64_t maxFieldID)
 
bool operator== (const KeyTy &key) const
 

Static Public Member Functions

static ClassTypeStorageconstruct (TypeStorageAllocator &allocator, KeyTy key)
 

Public Attributes

FlatSymbolRefAttr name
 
ArrayRef< ClassElementelements
 
ArrayRef< uint64_t > fieldIDs
 
uint64_t maxFieldID
 

Detailed Description

Definition at line 2527 of file FIRRTLTypes.cpp.

Member Typedef Documentation

◆ KeyTy

using circt::firrtl::detail::ClassTypeStorage::KeyTy = std::pair<FlatSymbolRefAttr, ArrayRef<ClassElement> >

Definition at line 2528 of file FIRRTLTypes.cpp.

Constructor & Destructor Documentation

◆ ClassTypeStorage()

circt::firrtl::detail::ClassTypeStorage::ClassTypeStorage ( FlatSymbolRefAttr  name,
ArrayRef< ClassElement elements,
ArrayRef< uint64_t >  fieldIDs,
uint64_t  maxFieldID 
)
inline

Definition at line 2552 of file FIRRTLTypes.cpp.

Referenced by construct().

Member Function Documentation

◆ construct()

static ClassTypeStorage* circt::firrtl::detail::ClassTypeStorage::construct ( TypeStorageAllocator &  allocator,
KeyTy  key 
)
inlinestatic

◆ operator==()

bool circt::firrtl::detail::ClassTypeStorage::operator== ( const KeyTy key) const
inline

Definition at line 2557 of file FIRRTLTypes.cpp.

References elements, and name.

Member Data Documentation

◆ elements

ArrayRef<ClassElement> circt::firrtl::detail::ClassTypeStorage::elements

Definition at line 2562 of file FIRRTLTypes.cpp.

Referenced by construct(), and operator==().

◆ fieldIDs

ArrayRef<uint64_t> circt::firrtl::detail::ClassTypeStorage::fieldIDs

Definition at line 2563 of file FIRRTLTypes.cpp.

Referenced by construct().

◆ maxFieldID

uint64_t circt::firrtl::detail::ClassTypeStorage::maxFieldID

Definition at line 2564 of file FIRRTLTypes.cpp.

Referenced by construct().

◆ name

FlatSymbolRefAttr circt::firrtl::detail::ClassTypeStorage::name

Definition at line 2561 of file FIRRTLTypes.cpp.

Referenced by construct(), and operator==().


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