CIRCT  20.0.0git
Classes | Macros
HWReductions.cpp File Reference
#include "circt/Dialect/HW/HWReductions.h"
#include "circt/Dialect/HW/HWInstanceGraph.h"
#include "circt/Dialect/HW/HWOps.h"
#include "circt/Reduce/ReductionUtils.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/Support/Debug.h"
Include dependency graph for HWReductions.cpp:

Go to the source code of this file.

Classes

struct  ModuleSizeCache
 Utility to track the transitive size of modules. More...
 
struct  ModuleExternalizer
 A sample reduction pattern that maps hw.module to hw.module.extern. More...
 
struct  HWOperandForwarder< OpNum >
 A sample reduction pattern that replaces all uses of an operation with one of its operands. More...
 
struct  HWConstantifier
 A sample reduction pattern that replaces integer operations with a constant zero of their type. More...
 
struct  ModuleOutputPruner< Front >
 Remove the first or last output of the top-level module depending on the 'Front' template parameter. More...
 
struct  ModuleInputPruner
 Remove all input ports of the top-level module that have no users. More...
 

Macros

#define DEBUG_TYPE   "hw-reductions"
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "hw-reductions"

Definition at line 16 of file HWReductions.cpp.