CIRCT  18.0.0git
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
circt::moore::detail::IntTypeStorage Struct Reference
Inheritance diagram for circt::moore::detail::IntTypeStorage:
Inheritance graph
Collaboration diagram for circt::moore::detail::IntTypeStorage:
Collaboration graph

Public Types

using KeyTy = unsigned
using Kind = IntType::Kind

Public Member Functions

 IntTypeStorage (KeyTy key)
bool operator== (const KeyTy &key) const

Static Public Member Functions

static KeyTy pack (Kind kind, Sign sign, bool explicitSign)
static IntTypeStorageconstruct (TypeStorageAllocator &allocator, const KeyTy &key)

Public Attributes

Kind kind
Sign sign
bool explicitSign

Detailed Description

Definition at line 326 of file MooreTypes.cpp.

Member Typedef Documentation

◆ KeyTy

Definition at line 327 of file MooreTypes.cpp.

◆ Kind

Definition at line 328 of file MooreTypes.cpp.

Constructor & Destructor Documentation

◆ IntTypeStorage()

circt::moore::detail::IntTypeStorage::IntTypeStorage ( KeyTy  key)

Definition at line 330 of file MooreTypes.cpp.

Member Function Documentation

◆ construct()

static IntTypeStorage* circt::moore::detail::IntTypeStorage::construct ( TypeStorageAllocator &  allocator,
const KeyTy key 

Definition at line 340 of file MooreTypes.cpp.

◆ operator==()

bool circt::moore::detail::IntTypeStorage::operator== ( const KeyTy key) const

Definition at line 337 of file MooreTypes.cpp.

◆ pack()

static KeyTy circt::moore::detail::IntTypeStorage::pack ( Kind  kind,
Sign  sign,
bool  explicitSign 

Definition at line 333 of file MooreTypes.cpp.

Referenced by circt::moore::IntType::get().

Member Data Documentation

◆ explicitSign

bool circt::moore::detail::IntTypeStorage::explicitSign

Definition at line 347 of file MooreTypes.cpp.

◆ kind

Kind circt::moore::detail::IntTypeStorage::kind

Definition at line 345 of file MooreTypes.cpp.

◆ sign

Sign circt::moore::detail::IntTypeStorage::sign

Definition at line 346 of file MooreTypes.cpp.

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