CIRCT 24.0.0git
Loading...
Searching...
No Matches
ResolveXMRRef.cpp File Reference
#include "circt/Dialect/Arc/ArcPasses.h"
#include "circt/Dialect/HW/HWOpInterfaces.h"
#include "circt/Dialect/HW/HWOps.h"
#include "circt/Dialect/HW/HWTypes.h"
#include "circt/Dialect/HW/InnerSymbolTable.h"
#include "circt/Dialect/SV/SVOps.h"
#include "circt/Dialect/SV/SVTypes.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/Support/raw_ostream.h"
#include "circt/Dialect/Arc/ArcPasses.h.inc"
Include dependency graph for ResolveXMRRef.cpp:

Go to the source code of this file.

Namespaces

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

Macros

#define GEN_PASS_DEF_RESOLVEXMRREF

Functions

static void appendEscaped (std::string &out, StringRef text)
static std::string buildPathSuffixKey (ArrayAttr pathArray, unsigned index)
static std::string buildBoreKey (hw::HWModuleOp childMod, ArrayAttr pathArray, unsigned index, Type targetType)
static bool isConditionallyGuarded (Operation *op)
static std::string buildCaptureKey (hw::HWModuleOp payloadMod, ArrayAttr pathArray, Type targetType)

Macro Definition Documentation

◆ GEN_PASS_DEF_RESOLVEXMRREF

#define GEN_PASS_DEF_RESOLVEXMRREF

Definition at line 22 of file ResolveXMRRef.cpp.

Function Documentation

◆ appendEscaped()

void appendEscaped ( std::string & out,
StringRef text )
static

Definition at line 30 of file ResolveXMRRef.cpp.

Referenced by buildBoreKey(), buildCaptureKey(), and buildPathSuffixKey().

◆ buildBoreKey()

std::string buildBoreKey ( hw::HWModuleOp childMod,
ArrayAttr pathArray,
unsigned index,
Type targetType )
static

Definition at line 50 of file ResolveXMRRef.cpp.

References appendEscaped(), and buildPathSuffixKey().

◆ buildCaptureKey()

std::string buildCaptureKey ( hw::HWModuleOp payloadMod,
ArrayAttr pathArray,
Type targetType )
static

Definition at line 71 of file ResolveXMRRef.cpp.

References appendEscaped(), and buildPathSuffixKey().

◆ buildPathSuffixKey()

std::string buildPathSuffixKey ( ArrayAttr pathArray,
unsigned index )
static

Definition at line 38 of file ResolveXMRRef.cpp.

References appendEscaped().

Referenced by buildBoreKey(), and buildCaptureKey().

◆ isConditionallyGuarded()

bool isConditionallyGuarded ( Operation * op)
static

Definition at line 63 of file ResolveXMRRef.cpp.