CIRCT 21.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. | |
bool | containsConst () |
Returns true if this is or contains a 'const' type. | |
bool | containsAnalog () |
Return true if this is or contains an Analog type. | |
bool | containsReference () |
Return true if this is or contains a Reference type. | |
bool | containsTypeAlias () |
Return true if this is an anonymous type (no type alias). | |
bool | hasUninferredWidth () |
Return true if this type contains an uninferred bit width. | |
bool | hasUninferredReset () |
Return true if this type contains an uninferred bit reset. | |
bool | isGround () |
Return true if this is a 'ground' type, aka a non-aggregate type. | |
bool | isConst () |
Returns true if this is a 'const' type that can only hold compile-time constant values. | |
Static Public Member Functions | |
static bool | classof (Type type) |
Support method to enable LLVM-style type casting. | |
Definition at line 86 of file FIRRTLTypes.h.
|
inlinestatic |
Support method to enable LLVM-style type casting.
Definition at line 89 of file FIRRTLTypes.h.
|
inline |
Return true if this is or contains an Analog type.
Definition at line 105 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 102 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 108 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 113 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 123 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 118 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.