CIRCT  20.0.0git
Namespaces | Macros | Functions
RegisterOptimizer.cpp File Reference
#include "circt/Dialect/FIRRTL/FIRRTLOps.h"
#include "circt/Dialect/FIRRTL/Passes.h"
#include "mlir/Pass/Pass.h"
#include "circt/Support/Debug.h"
#include "mlir/IR/Dominance.h"
#include "mlir/IR/ImplicitLocOpBuilder.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 23 of file RegisterOptimizer.cpp.

◆ GEN_PASS_DEF_REGISTEROPTIMIZER

#define GEN_PASS_DEF_REGISTEROPTIMIZER

Definition at line 27 of file RegisterOptimizer.cpp.

Function Documentation

◆ canErase()

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

Definition at line 37 of file RegisterOptimizer.cpp.

References circt::firrtl::hasDontTouch().