CIRCT 24.0.0git
Loading...
Searching...
No Matches
SystemCOps.cpp File Reference
#include "circt/Dialect/SystemC/SystemCOps.h"
#include "circt/Dialect/HW/CustomDirectiveImpl.h"
#include "circt/Dialect/HW/HWSymCache.h"
#include "circt/Dialect/HW/ModuleImplementation.h"
#include "circt/Support/CustomDirectiveImpl.h"
#include "mlir/IR/IRMapping.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/Interfaces/FunctionImplementation.h"
#include "llvm/ADT/MapVector.h"
#include "llvm/ADT/TypeSwitch.h"
#include "circt/Dialect/SystemC/SystemC.cpp.inc"
Include dependency graph for SystemCOps.cpp:

Go to the source code of this file.

Macros

#define GET_OP_CLASSES

Functions

static LogicalResult verifyUniqueNamesInRegion (Operation *operation, ArrayAttr argNames, std::function< void(mlir::InFlightDiagnostic &)> attachNote)
static hw::ModulePort::Direction getDirection (Type type)
static Type wrapPortType (Type type, hw::ModulePort::Direction direction)

Macro Definition Documentation

◆ GET_OP_CLASSES

#define GET_OP_CLASSES

Definition at line 1157 of file SystemCOps.cpp.

Function Documentation

◆ getDirection()

hw::ModulePort::Direction getDirection ( Type type)
static

Definition at line 102 of file SystemCOps.cpp.

References circt::hw::ModulePort::Input, and circt::hw::ModulePort::Output.

◆ verifyUniqueNamesInRegion()

LogicalResult verifyUniqueNamesInRegion ( Operation * operation,
ArrayAttr argNames,
std::function< void(mlir::InFlightDiagnostic &)> attachNote )
static

Definition at line 31 of file SystemCOps.cpp.

References failure(), getLoc(), and success().

◆ wrapPortType()

Type wrapPortType ( Type type,
hw::ModulePort::Direction direction )
static