CIRCT  20.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
[legend]
Collaboration diagram for esi::BitVectorType:
Collaboration graph
[legend]

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 
)
inline

Definition at line 94 of file Types.h.

Member Function Documentation

◆ getBitWidth()

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

Reimplemented from esi::Type.

Definition at line 97 of file Types.h.

References getWidth().

◆ getWidth()

uint64_t esi::BitVectorType::getWidth ( ) const
inline

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
private

Definition at line 100 of file Types.h.

Referenced by getWidth().


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