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

Public Types

using KeyTy = std::tuple< FIRRTLType, size_t, char >
 

Public Member Functions

 OpenVectorTypeStorage (FIRRTLType elementType, size_t numElements, bool isConst)
 
bool operator== (const KeyTy &key) const
 
KeyTy getAsKey () const
 

Static Public Member Functions

static OpenVectorTypeStorageconstruct (TypeStorageAllocator &allocator, KeyTy key)
 

Public Attributes

FIRRTLType elementType
 
size_t numElements
 
RecursiveTypeProperties props
 
char isConst
 

Detailed Description

Definition at line 1992 of file FIRRTLTypes.cpp.

Member Typedef Documentation

◆ KeyTy

Definition at line 1993 of file FIRRTLTypes.cpp.

Constructor & Destructor Documentation

◆ OpenVectorTypeStorage()

circt::firrtl::detail::OpenVectorTypeStorage::OpenVectorTypeStorage ( FIRRTLType  elementType,
size_t  numElements,
bool  isConst 
)
inline

Member Function Documentation

◆ construct()

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

Definition at line 2007 of file FIRRTLTypes.cpp.

References OpenVectorTypeStorage().

◆ getAsKey()

KeyTy circt::firrtl::detail::OpenVectorTypeStorage::getAsKey ( ) const
inline

Definition at line 2005 of file FIRRTLTypes.cpp.

References elementType, isConst, and numElements.

Referenced by operator==().

◆ operator==()

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

Definition at line 2003 of file FIRRTLTypes.cpp.

References getAsKey().

Member Data Documentation

◆ elementType

FIRRTLType circt::firrtl::detail::OpenVectorTypeStorage::elementType

Definition at line 2014 of file FIRRTLTypes.cpp.

Referenced by getAsKey(), and OpenVectorTypeStorage().

◆ isConst

char circt::firrtl::detail::OpenVectorTypeStorage::isConst

Definition at line 2018 of file FIRRTLTypes.cpp.

Referenced by getAsKey(), and OpenVectorTypeStorage().

◆ numElements

size_t circt::firrtl::detail::OpenVectorTypeStorage::numElements

Definition at line 2015 of file FIRRTLTypes.cpp.

Referenced by getAsKey().

◆ props

RecursiveTypeProperties circt::firrtl::detail::OpenVectorTypeStorage::props

Definition at line 2017 of file FIRRTLTypes.cpp.

Referenced by OpenVectorTypeStorage().


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