|
CIRCT 22.0.0git
|
Bit vectors include signed, unsigned, and signless integers. More...
#include <Types.h>


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 |
| virtual MutableBitVector | serialize (const std::any &obj) const |
| Serialize an object to a MutableBitVector (LSB-first stream). | |
| virtual std::any | deserialize (BitVector &data) const |
| Deserialize from a BitVector stream (LSB-first). | |
| std::any | deserialize (const MessageData &data) const |
| virtual void | ensureValid (const std::any &obj) const |
| Ensure that a std::any object is valid for this type. | |
| std::optional< std::string > | isValid (const std::any &obj) 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 |
Bit vectors include signed, unsigned, and signless integers.
|
inline |
|
inlineoverridevirtual |
|
inline |
Definition at line 155 of file Types.h.
References width.
Referenced by esi::BitsType::deserialize(), esi::SIntType::deserialize(), esi::UIntType::deserialize(), esi::BitsType::ensureValid(), esi::SIntType::ensureValid(), esi::UIntType::ensureValid(), getBitWidth(), PYBIND11_MODULE(), esi::BitsType::serialize(), esi::SIntType::serialize(), and esi::UIntType::serialize().
|
private |
Definition at line 159 of file Types.h.
Referenced by getWidth().