CIRCT
20.0.0git
|
#include "circt/Dialect/FIRRTL/FIRRTLOps.h"
#include "circt/Dialect/FIRRTL/Passes.h"
#include "circt/Dialect/HW/HWAttributes.h"
#include "mlir/IR/BuiltinOps.h"
#include "mlir/IR/Threading.h"
#include "mlir/Pass/Pass.h"
#include "llvm/Support/Debug.h"
#include "circt/Dialect/FIRRTL/Passes.h.inc"
Go to the source code of this file.
Classes | |
struct | InnerSymbolDCEPass |
Namespaces | |
circt | |
The InstanceGraph op interface, see InstanceGraphInterface.td for more details. | |
circt::firrtl | |
Macros | |
#define | DEBUG_TYPE "firrtl-inner-symbol-dce" |
#define | GEN_PASS_DEF_INNERSYMBOLDCE |
Functions | |
static void | dropSymbol (const InnerSymTarget &target) |
Drop the specified symbol. More... | |
#define DEBUG_TYPE "firrtl-inner-symbol-dce" |
Definition at line 20 of file InnerSymbolDCE.cpp.
#define GEN_PASS_DEF_INNERSYMBOLDCE |
Definition at line 24 of file InnerSymbolDCE.cpp.
|
static |
Drop the specified symbol.
Belongs in InnerSymbolTable, need to move port symbols accessors into HW(ModuleLike) or perhaps a new inner-symbol interface that dialects can optionally elect to use on their "ModuleLike"s. For now, since InnerSymbolDCE is FIRRTL-only, define this here.
Definition at line 39 of file InnerSymbolDCE.cpp.
References assert(), circt::hw::InnerSymTarget::getField(), circt::hw::InnerSymTarget::getOp(), circt::hw::InnerSymTarget::getPort(), and circt::hw::InnerSymTarget::isPort().
Referenced by InnerSymbolDCEPass::removeInnerSyms().