CIRCT  19.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 "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 17 of file Dedup.cpp.

◆ GEN_PASS_DEF_DEDUP

#define GEN_PASS_DEF_DEDUP

Definition at line 21 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 332 of file Dedup.cpp.

References builder.

◆ isOutlinable()

static bool isOutlinable ( OpOperand &  operand)
static

Definition at line 357 of file Dedup.cpp.