CIRCT  18.0.0git
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
circt::systemc::detail::IntegerWidthStorage Struct Reference

Integer Type Storage and Uniquing. More...

Inheritance diagram for circt::systemc::detail::IntegerWidthStorage:
Inheritance graph
[legend]
Collaboration diagram for circt::systemc::detail::IntegerWidthStorage:
Collaboration graph
[legend]

Public Types

using KeyTy = unsigned
 The hash key used for uniquing. More...
 

Public Member Functions

 IntegerWidthStorage (unsigned width)
 
bool operator== (const KeyTy &key) const
 

Static Public Member Functions

static llvm::hash_code hashKey (const KeyTy &key)
 
static IntegerWidthStorageconstruct (mlir::TypeStorageAllocator &allocator, KeyTy key)
 

Public Attributes

unsigned width: 32
 

Detailed Description

Integer Type Storage and Uniquing.

Definition at line 110 of file SystemCTypes.cpp.

Member Typedef Documentation

◆ KeyTy

The hash key used for uniquing.

Definition at line 114 of file SystemCTypes.cpp.

Constructor & Destructor Documentation

◆ IntegerWidthStorage()

circt::systemc::detail::IntegerWidthStorage::IntegerWidthStorage ( unsigned  width)
inline

Definition at line 111 of file SystemCTypes.cpp.

Member Function Documentation

◆ construct()

static IntegerWidthStorage* circt::systemc::detail::IntegerWidthStorage::construct ( mlir::TypeStorageAllocator &  allocator,
KeyTy  key 
)
inlinestatic

Definition at line 122 of file SystemCTypes.cpp.

◆ hashKey()

static llvm::hash_code circt::systemc::detail::IntegerWidthStorage::hashKey ( const KeyTy key)
inlinestatic

Definition at line 116 of file SystemCTypes.cpp.

References circt::systemc::detail::hash_value().

◆ operator==()

bool circt::systemc::detail::IntegerWidthStorage::operator== ( const KeyTy key) const
inline

Definition at line 120 of file SystemCTypes.cpp.

References width.

Member Data Documentation

◆ width

unsigned circt::systemc::detail::IntegerWidthStorage::width

Definition at line 128 of file SystemCTypes.cpp.


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