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
Collaboration diagram for circt::firrtl::detail::OpenVectorTypeStorage:
Collaboration graph

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 1926 of file FIRRTLTypes.cpp.

Member Typedef Documentation

◆ KeyTy

Definition at line 1927 of file FIRRTLTypes.cpp.

Constructor & Destructor Documentation

◆ OpenVectorTypeStorage()

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

Member Function Documentation

◆ construct()

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

Definition at line 1941 of file FIRRTLTypes.cpp.

References OpenVectorTypeStorage().

◆ getAsKey()

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

Definition at line 1939 of file FIRRTLTypes.cpp.

References elementType, isConst, and numElements.

Referenced by operator==().

◆ operator==()

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

Definition at line 1937 of file FIRRTLTypes.cpp.

References getAsKey().

Member Data Documentation

◆ elementType

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

Definition at line 1948 of file FIRRTLTypes.cpp.

Referenced by getAsKey(), and OpenVectorTypeStorage().

◆ isConst

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

Definition at line 1952 of file FIRRTLTypes.cpp.

Referenced by getAsKey(), and OpenVectorTypeStorage().

◆ numElements

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

Definition at line 1949 of file FIRRTLTypes.cpp.

Referenced by getAsKey().

◆ props

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

Definition at line 1951 of file FIRRTLTypes.cpp.

Referenced by OpenVectorTypeStorage().

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