CIRCT 24.0.0git
Loading...
Searching...
No Matches
circt::systemc::IntBaseType Class Reference

Represents a limited word-length signed integer in SystemC as described in IEEE 1666-2011 §7.5.2. More...

#include <SystemCTypes.h>

Inheritance diagram for circt::systemc::IntBaseType:
Collaboration diagram for circt::systemc::IntBaseType:

Static Public Member Functions

static bool classof (Type type)
static IntBaseType get (MLIRContext *context)
static constexpr StringLiteral getMnemonic ()

Static Public Attributes

static constexpr StringLiteral name = "systemc.int_base"

Detailed Description

Represents a limited word-length signed integer in SystemC as described in IEEE 1666-2011 §7.5.2.

The word-length is not known statically, but is constant over the lifetime of the value. The maximum supported bit-width is 64 bits such that it can be stored in native C integers. It is the base class of 'IntType'.

Definition at line 81 of file SystemCTypes.h.

Member Function Documentation

◆ classof()

bool circt::systemc::IntBaseType::classof ( Type type)
inlinestatic

Definition at line 84 of file SystemCTypes.h.

◆ get()

IntBaseType IntBaseType::get ( MLIRContext * context)
static

Definition at line 139 of file SystemCTypes.cpp.

References context.

Referenced by customTypeParser().

◆ getMnemonic()

constexpr StringLiteral circt::systemc::IntBaseType::getMnemonic ( )
inlinestaticconstexpr

Definition at line 88 of file SystemCTypes.h.

Referenced by customTypeParser().

Member Data Documentation

◆ name

StringLiteral circt::systemc::IntBaseType::name = "systemc.int_base"
staticconstexpr

Definition at line 90 of file SystemCTypes.h.

Referenced by esiaccel.types.TypeAlias::__str__().


The documentation for this class was generated from the following files: