CIRCT  19.0.0git
Public Member Functions | Private Attributes | List of all members
esi::BitVectorType Class Reference

Bit vectors include signed, unsigned, and signless integers. More...

#include <Types.h>

Inheritance diagram for esi::BitVectorType:
Inheritance graph
Collaboration diagram for esi::BitVectorType:
Collaboration graph

Public Member Functions

 BitVectorType (const ID &id, uint64_t width)
uint64_t getWidth () const
std::ptrdiff_t getBitWidth () const override
- Public Member Functions inherited from esi::Type
 Type (const ID &id)
virtual ~Type ()=default
ID getID () const

Private Attributes

uint64_t width

Additional Inherited Members

- Public Types inherited from esi::Type
using ID = std::string
- Protected Attributes inherited from esi::Type
ID id

Detailed Description

Bit vectors include signed, unsigned, and signless integers.

Definition at line 92 of file Types.h.

Constructor & Destructor Documentation

◆ BitVectorType()

esi::BitVectorType::BitVectorType ( const ID id,
uint64_t  width 

Definition at line 94 of file Types.h.

Member Function Documentation

◆ getBitWidth()

std::ptrdiff_t esi::BitVectorType::getBitWidth ( ) const

Reimplemented from esi::Type.

Definition at line 97 of file Types.h.

References getWidth().

◆ getWidth()

uint64_t esi::BitVectorType::getWidth ( ) const

Definition at line 96 of file Types.h.

References width.

Referenced by getBitWidth(), and PYBIND11_MODULE().

Member Data Documentation

◆ width

uint64_t esi::BitVectorType::width

Definition at line 100 of file Types.h.

Referenced by getWidth().

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