|
CIRCT 22.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 () const |
| 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 87 of file FIRRTLTypes.h.
|
inlinestatic |
Support method to enable LLVM-style type casting.
Definition at line 90 of file FIRRTLTypes.h.
|
inline |
Return true if this is or contains an Analog type.
Definition at line 106 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 103 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 109 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 114 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 124 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 119 of file FIRRTLTypes.h.
References getRecursiveTypeProperties(), and circt::firrtl::RecursiveTypeProperties::hasUninferredWidth.
| bool circt::firrtl::FIRRTLType::isConst | ( | ) | const |
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.