CIRCT  19.0.0git
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 dependency graph for ESILowerPorts.cpp:

Go to the source code of this file.


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...

Function Documentation

◆ constructInstanceName()

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

Create a reasonable name for a SV interface instance.

Definition at line 438 of file ESILowerPorts.cpp.

References getOperandName().

◆ getOperandName()

static StringRef getOperandName ( Value  operand)

Definition at line 421 of file ESILowerPorts.cpp.

Referenced by constructInstanceName().

◆ getStringAttributeOr()

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

Definition at line 28 of file ESILowerPorts.cpp.