|
Jlm
|
Unit type (type carrying no information) More...
#include <UnitType.hpp>


Public Member Functions | |
| ~UnitType () noexcept override | |
| std::string | debug_string () const override |
| bool | operator== (const Type &other) const noexcept override |
| std::size_t | ComputeHash () const noexcept override |
| TypeKind | Kind () const noexcept override |
| Return the kind of this type. More... | |
Public Member Functions inherited from jlm::rvsdg::Type | |
| virtual | ~Type () noexcept |
| bool | operator!= (const jlm::rvsdg::Type &other) const noexcept |
Static Public Member Functions | |
| static std::shared_ptr< const UnitType > | Create () |
Additional Inherited Members | |
Protected Member Functions inherited from jlm::rvsdg::Type | |
| constexpr | Type () noexcept |
Unit type (type carrying no information)
Represents the "unit" type: A type which has only a single inhabitant without content and carries no information. This is used in places where a formal argument or result is needed, but no information is carried.
This roughly corresponds to the "void" type in C/C++.
Definition at line 23 of file UnitType.hpp.
|
overridedefaultnoexcept |
|
overridevirtualnoexcept |
Computes a hash value for the instance of the type.
Implements jlm::rvsdg::Type.
Definition at line 21 of file UnitType.cpp.
|
static |
Definition at line 33 of file UnitType.cpp.
|
overridevirtual |
Implements jlm::rvsdg::Type.
Definition at line 9 of file UnitType.cpp.
|
overridevirtualnoexcept |
Return the kind of this type.
Implements jlm::rvsdg::Type.
Definition at line 27 of file UnitType.cpp.
|
overridevirtualnoexcept |
Implements jlm::rvsdg::Type.
Definition at line 15 of file UnitType.cpp.