CIRCT
20.0.0git
|
Arrays have a compile time specified (static) size and an element type. More...
#include <Types.h>
Public Member Functions | |
ArrayType (const ID &id, const Type *elementType, uint64_t size) | |
const Type * | getElementType () const |
uint64_t | getSize () 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 | |
const Type * | elementType |
uint64_t | size |
Additional Inherited Members | |
Public Types inherited from esi::Type | |
using | ID = std::string |
Protected Attributes inherited from esi::Type | |
ID | id |
Arrays have a compile time specified (static) size and an element type.
|
inlineoverridevirtual |
Reimplemented from esi::Type.
Definition at line 161 of file Types.h.
References elementType, esi::Type::getBitWidth(), and size.
|
inline |
|
inline |
|
private |
Definition at line 169 of file Types.h.
Referenced by getBitWidth(), and getElementType().
|
private |
Definition at line 170 of file Types.h.
Referenced by esiaccel.types.ArrayType::bit_width(), esiaccel.types.ArrayType::deserialize(), getBitWidth(), getSize(), and esiaccel.types.ArrayType::is_valid().