CIRCT  19.0.0git
Classes | Macros | Functions
InnerSymbolDCE.cpp File Reference
#include "PassDetails.h"
#include "circt/Dialect/FIRRTL/FIRRTLOps.h"
#include "circt/Dialect/HW/HWAttributes.h"
#include "mlir/IR/BuiltinOps.h"
#include "mlir/IR/Threading.h"
#include "llvm/Support/Debug.h"
Include dependency graph for InnerSymbolDCE.cpp:

Go to the source code of this file.

Classes

struct  InnerSymbolDCEPass
 

Macros

#define DEBUG_TYPE   "firrtl-inner-symbol-dce"
 

Functions

static void dropSymbol (const InnerSymTarget &target)
 Drop the specified symbol. More...
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "firrtl-inner-symbol-dce"

Definition at line 19 of file InnerSymbolDCE.cpp.

Function Documentation

◆ dropSymbol()

static void dropSymbol ( const InnerSymTarget &  target)
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 31 of file InnerSymbolDCE.cpp.

References assert().

Referenced by InnerSymbolDCEPass::removeInnerSyms().