CIRCT  19.0.0git
Namespaces | Macros | Functions
ESILowerPorts.cpp File Reference
#include "../PassDetails.h"
#include "circt/Dialect/ESI/ESIOps.h"
#include "circt/Dialect/HW/HWOps.h"
#include "circt/Dialect/HW/PortConverter.h"
#include "circt/Dialect/SV/SVOps.h"
#include "circt/Support/BackedgeBuilder.h"
#include "circt/Support/LLVM.h"
#include "circt/Support/SymCache.h"
#include "mlir/Transforms/DialectConversion.h"
#include "circt/Dialect/ESI/ESIPasses.h.inc"
Include dependency graph for ESILowerPorts.cpp:

Go to the source code of this file.

Namespaces

 circt
 The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
 
 circt::esi
 

Macros

#define GEN_PASS_DEF_LOWERESIPORTS
 

Functions

static StringRef getStringAttributeOr (Operation *op, StringRef attrName, StringRef def)
 
static StringRef getOperandName (Value operand)
 
static std::string & constructInstanceName (Value operand, sv::InterfaceOp iface, std::string &name)
 Create a reasonable name for a SV interface instance. More...
 

Macro Definition Documentation

◆ GEN_PASS_DEF_LOWERESIPORTS

#define GEN_PASS_DEF_LOWERESIPORTS

Definition at line 23 of file ESILowerPorts.cpp.

Function Documentation

◆ constructInstanceName()

static std::string& constructInstanceName ( Value  operand,
sv::InterfaceOp  iface,
std::string &  name 
)
static

Create a reasonable name for a SV interface instance.

Definition at line 445 of file ESILowerPorts.cpp.

References getOperandName().

◆ getOperandName()

static StringRef getOperandName ( Value  operand)
static

Definition at line 428 of file ESILowerPorts.cpp.

Referenced by constructInstanceName().

◆ getStringAttributeOr()

static StringRef getStringAttributeOr ( Operation *  op,
StringRef  attrName,
StringRef  def 
)
inlinestatic

Definition at line 35 of file ESILowerPorts.cpp.