27 return type !=
nullptr && this->nbits() == type->
nbits();
44std::shared_ptr<const BitType>
64 throw util::Error(
"Number of bits must be greater than zero.");
71 return std::make_shared<BitType>(
nbits);
bool operator==(const jlm::rvsdg::Type &other) const noexcept override
static std::shared_ptr< const BitType > Create(std::size_t nbits)
Creates bit type of specified width.
TypeKind Kind() const noexcept override
Return the kind of this type.
size_t nbits() const noexcept
std::size_t ComputeHash() const noexcept override
~BitType() noexcept override
TypeKind
The kinds of types supported in rvsdg.
@ Value
Designate a value type.
NodeType * TryGetOwnerNode(const rvsdg::Input &input) noexcept
Checks if this is an input to a node of specified type.
static std::string strfmt(Args... args)
std::size_t CombineHashes(std::size_t hash, Args... args)