CIRCT
20.0.0git
|
#include <FIRRTLTypes.h>
Public Member Functions | |
RecursiveTypeProperties | getRecursiveTypeProperties () const |
Return the recursive properties of the type, containing the isPassive , containsAnalog , and hasUninferredWidth bits, among others. More... | |
bool | containsConst () |
Returns true if this is or contains a 'const' type. More... | |
bool | containsAnalog () |
Return true if this is or contains an Analog type. More... | |
bool | containsReference () |
Return true if this is or contains a Reference type. More... | |
bool | containsTypeAlias () |
Return true if this is an anonymous type (no type alias). More... | |
bool | hasUninferredWidth () |
Return true if this type contains an uninferred bit width. More... | |
bool | hasUninferredReset () |
Return true if this type contains an uninferred bit reset. More... | |
bool | isGround () |
Return true if this is a 'ground' type, aka a non-aggregate type. More... | |
bool | isConst () |
Returns true if this is a 'const' type that can only hold compile-time constant values. More... | |
Static Public Member Functions | |
static bool | classof (Type type) |
Support method to enable LLVM-style type casting. More... | |
Definition at line 85 of file FIRRTLTypes.h.
|
inlinestatic |
Support method to enable LLVM-style type casting.
Definition at line 88 of file FIRRTLTypes.h.
|
inline |
Return true if this is or contains an Analog type.
Definition at line 104 of file FIRRTLTypes.h.
References circt::firrtl::RecursiveTypeProperties::containsAnalog, and getRecursiveTypeProperties().
|
inline |
Returns true if this is or contains a 'const' type.
Definition at line 101 of file FIRRTLTypes.h.
References circt::firrtl::RecursiveTypeProperties::containsConst, and getRecursiveTypeProperties().
|
inline |
Return true if this is or contains a Reference type.
Definition at line 107 of file FIRRTLTypes.h.
References circt::firrtl::RecursiveTypeProperties::containsReference, and getRecursiveTypeProperties().
|
inline |
Return true if this is an anonymous type (no type alias).
Definition at line 112 of file FIRRTLTypes.h.
References circt::firrtl::RecursiveTypeProperties::containsTypeAlias, and getRecursiveTypeProperties().
RecursiveTypeProperties circt::firrtl::FIRRTLType::getRecursiveTypeProperties | ( | ) | const |
Return the recursive properties of the type, containing the isPassive
, containsAnalog
, and hasUninferredWidth
bits, among others.
Referenced by containsAnalog(), containsConst(), containsReference(), containsTypeAlias(), hasUninferredReset(), hasUninferredWidth(), and circt::firrtl::detail::OpenVectorTypeStorage::OpenVectorTypeStorage().
|
inline |
Return true if this type contains an uninferred bit reset.
Definition at line 122 of file FIRRTLTypes.h.
References getRecursiveTypeProperties(), and circt::firrtl::RecursiveTypeProperties::hasUninferredReset.
|
inline |
Return true if this type contains an uninferred bit width.
Definition at line 117 of file FIRRTLTypes.h.
References getRecursiveTypeProperties(), and circt::firrtl::RecursiveTypeProperties::hasUninferredWidth.
bool circt::firrtl::FIRRTLType::isConst | ( | ) |
Returns true if this is a 'const' type that can only hold compile-time constant values.
Referenced by circt::firrtl::areTypesEquivalent().
bool circt::firrtl::FIRRTLType::isGround | ( | ) |
Return true if this is a 'ground' type, aka a non-aggregate type.