CIRCT 24.0.0git
Loading...
Searching...
No Matches
SystemCTypes.cpp File Reference
#include "circt/Dialect/SystemC/SystemCTypes.h"
#include "circt/Dialect/SystemC/SystemCDialect.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/DialectImplementation.h"
#include "llvm/ADT/TypeSwitch.h"
#include "circt/Dialect/SystemC/SystemCTypes.cpp.inc"
Include dependency graph for SystemCTypes.cpp:

Go to the source code of this file.

Classes

struct  circt::systemc::detail::IntegerWidthStorage
 Integer Type Storage and Uniquing. More...

Namespaces

namespace  circt
 The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
namespace  circt::systemc
namespace  circt::systemc::detail

Macros

#define GET_TYPEDEF_CLASSES
#define GET_TYPEDEF_LIST

Functions

bool circt::systemc::detail::operator== (const PortInfo &a, const PortInfo &b)
llvm::hash_code circt::systemc::detail::hash_value (const PortInfo &pi)
template<typename Ty>
static LogicalResult parseIntegerOrBitVector (DialectAsmParser &parser, Type &type)
static mlir::OptionalParseResult customTypeParser (DialectAsmParser &parser, StringRef mnemonic, llvm::SMLoc loc, Type &type)
static LogicalResult customTypePrinter (Type type, DialectAsmPrinter &printer)

Macro Definition Documentation

◆ GET_TYPEDEF_CLASSES

#define GET_TYPEDEF_CLASSES

Definition at line 203 of file SystemCTypes.cpp.

◆ GET_TYPEDEF_LIST

#define GET_TYPEDEF_LIST

Function Documentation

◆ customTypeParser()

◆ customTypePrinter()

LogicalResult customTypePrinter ( Type type,
DialectAsmPrinter & printer )
static

Definition at line 278 of file SystemCTypes.cpp.

References failure(), and success().

◆ parseIntegerOrBitVector()

template<typename Ty>
LogicalResult parseIntegerOrBitVector ( DialectAsmParser & parser,
Type & type )
static

Definition at line 221 of file SystemCTypes.cpp.

References failure(), and success().

Referenced by customTypeParser().