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

Public Types

using KeyTy = std::tuple< StringAttr, FIRRTLBaseType >
 
- Public Types inherited from circt::firrtl::detail::FIRRTLBaseTypeStorage
using KeyTy = char
 

Public Member Functions

 BaseTypeAliasStorage (StringAttr name, FIRRTLBaseType innerType)
 
bool operator== (const KeyTy &key) const
 
KeyTy getAsKey () const
 
- Public Member Functions inherited from circt::firrtl::detail::FIRRTLBaseTypeStorage
 FIRRTLBaseTypeStorage (bool isConst)
 
bool operator== (const KeyTy &key) const
 
KeyTy getAsKey () const
 

Static Public Member Functions

static llvm::hash_code hashKey (const KeyTy &key)
 
static BaseTypeAliasStorageconstruct (TypeStorageAllocator &allocator, KeyTy key)
 
- Static Public Member Functions inherited from circt::firrtl::detail::FIRRTLBaseTypeStorage
static FIRRTLBaseTypeStorageconstruct (TypeStorageAllocator &allocator, KeyTy key)
 

Public Attributes

StringAttr name
 
FIRRTLBaseType innerType
 
FIRRTLBaseType anonymousType
 
- Public Attributes inherited from circt::firrtl::detail::FIRRTLBaseTypeStorage
char isConst
 

Detailed Description

Definition at line 2291 of file FIRRTLTypes.cpp.

Member Typedef Documentation

◆ KeyTy

Definition at line 2293 of file FIRRTLTypes.cpp.

Constructor & Destructor Documentation

◆ BaseTypeAliasStorage()

circt::firrtl::detail::BaseTypeAliasStorage::BaseTypeAliasStorage ( StringAttr  name,
FIRRTLBaseType  innerType 
)
inline

Definition at line 2295 of file FIRRTLTypes.cpp.

Referenced by construct().

Member Function Documentation

◆ construct()

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

Definition at line 2307 of file FIRRTLTypes.cpp.

References BaseTypeAliasStorage().

◆ getAsKey()

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

Definition at line 2301 of file FIRRTLTypes.cpp.

References innerType, and name.

Referenced by operator==().

◆ hashKey()

static llvm::hash_code circt::firrtl::detail::BaseTypeAliasStorage::hashKey ( const KeyTy key)
inlinestatic

Definition at line 2303 of file FIRRTLTypes.cpp.

References esi::utils::hash_combine().

◆ operator==()

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

Definition at line 2299 of file FIRRTLTypes.cpp.

References getAsKey().

Member Data Documentation

◆ anonymousType

FIRRTLBaseType circt::firrtl::detail::BaseTypeAliasStorage::anonymousType

Definition at line 2314 of file FIRRTLTypes.cpp.

◆ innerType

FIRRTLBaseType circt::firrtl::detail::BaseTypeAliasStorage::innerType

Definition at line 2313 of file FIRRTLTypes.cpp.

Referenced by getAsKey().

◆ name

StringAttr circt::firrtl::detail::BaseTypeAliasStorage::name

Definition at line 2312 of file FIRRTLTypes.cpp.

Referenced by getAsKey().


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