CIRCT  20.0.0git
Namespaces | Macros | Functions
Dedup.cpp File Reference
#include "circt/Dialect/Arc/ArcOps.h"
#include "circt/Dialect/Arc/ArcPasses.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "mlir/Pass/Pass.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/SHA256.h"
#include <variant>
#include "circt/Dialect/Arc/ArcPasses.h.inc"
Include dependency graph for Dedup.cpp:

Go to the source code of this file.

Namespaces

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

Macros

#define DEBUG_TYPE   "arc-dedup"
 
#define GEN_PASS_DEF_DEDUP
 

Functions

static void addCallSiteOperands (SmallSetVector< mlir::CallOpInterface, 1 > &callSites, ArrayRef< std::variant< Operation *, unsigned >> operandMappings)
 
static bool isOutlinable (OpOperand &operand)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "arc-dedup"

Definition at line 18 of file Dedup.cpp.

◆ GEN_PASS_DEF_DEDUP

#define GEN_PASS_DEF_DEDUP

Definition at line 22 of file Dedup.cpp.

Function Documentation

◆ addCallSiteOperands()

static void addCallSiteOperands ( SmallSetVector< mlir::CallOpInterface, 1 > &  callSites,
ArrayRef< std::variant< Operation *, unsigned >>  operandMappings 
)
static

Definition at line 333 of file Dedup.cpp.

◆ isOutlinable()

static bool isOutlinable ( OpOperand &  operand)
static

Definition at line 358 of file Dedup.cpp.