CIRCT
18.0.0git
|
A real type. More...
#include <MooreTypes.h>
Public Types | |
enum | Kind { ShortReal , Real , RealTime } |
Public Member Functions | |
Kind | getKind () const |
Get the concrete integer vector or atom type. More... | |
StringRef | getKeyword () const |
Get the keyword (like bit ) for this type. More... | |
unsigned | getBitSize () const |
Get the size of this type. More... | |
Static Public Member Functions | |
static std::optional< Kind > | getKindFromKeyword (StringRef keyword) |
Get the integer type that corresponds to a keyword (like bit ). More... | |
static StringRef | getKeyword (Kind kind) |
Get the keyword (like bit ) for one of the integer types. More... | |
static unsigned | getBitSize (Kind kind) |
Get the size of one of the integer types. More... | |
static RealType | get (MLIRContext *context, Kind kind) |
A real type.
Definition at line 586 of file MooreTypes.h.
Enumerator | |
---|---|
ShortReal | A |
Real | A |
RealTime | A |
Definition at line 589 of file MooreTypes.h.
Definition at line 556 of file MooreTypes.cpp.
References circt::calyx::direction::get().
Referenced by customTypeParser(), and mooreRealTypeGet().
|
inline |
Get the size of this type.
Definition at line 613 of file MooreTypes.h.
References getBitSize(), and getKind().
Referenced by getBitSize().
|
static |
Get the size of one of the integer types.
Definition at line 544 of file MooreTypes.cpp.
|
inline |
Get the keyword (like bit
) for this type.
Definition at line 611 of file MooreTypes.h.
References getKeyword(), and getKind().
Referenced by getKeyword().
|
static |
Get the keyword (like bit
) for one of the integer types.
Definition at line 532 of file MooreTypes.cpp.
RealType::Kind RealType::getKind | ( | ) | const |
Get the concrete integer vector or atom type.
Definition at line 560 of file MooreTypes.cpp.
Referenced by getBitSize(), and getKeyword().
|
static |
Get the integer type that corresponds to a keyword (like bit
).
Definition at line 524 of file MooreTypes.cpp.
References Real, RealTime, and ShortReal.
Referenced by customTypeParser().