CIRCT  20.0.0git
Namespaces | Macros | Functions
RegisterOptimizer.cpp File Reference
#include "circt/Dialect/FIRRTL/FIRRTLOps.h"
#include "circt/Dialect/FIRRTL/Passes.h"
#include "circt/Support/Debug.h"
#include "mlir/IR/Dominance.h"
#include "mlir/Pass/Pass.h"
#include "llvm/Support/Debug.h"
#include "circt/Dialect/FIRRTL/Passes.h.inc"
Include dependency graph for RegisterOptimizer.cpp:

Go to the source code of this file.

Namespaces

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

Macros

#define DEBUG_TYPE   "firrtl-register-optimizer"
 
#define GEN_PASS_DEF_REGISTEROPTIMIZER
 

Functions

template<typename T >
static bool canErase (T op)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "firrtl-register-optimizer"

Definition at line 20 of file RegisterOptimizer.cpp.

◆ GEN_PASS_DEF_REGISTEROPTIMIZER

#define GEN_PASS_DEF_REGISTEROPTIMIZER

Definition at line 24 of file RegisterOptimizer.cpp.

Function Documentation

◆ canErase()

template<typename T >
static bool canErase ( op)
static

Definition at line 34 of file RegisterOptimizer.cpp.

References circt::firrtl::hasDontTouch().