torc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Pruning.hpp File Reference
#include "torc/generic/PointerTypes.hpp"
#include <map>
+ Include dependency graph for Pruning.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 torc
 Implementation of class to encapsulate micro-bitstream library generation code.
 
 torc::generic
 Namespace for the Torc generic netlist, including EDIF and BLIF importers and exporters.
 

Typedefs

typedef std::map
< CellSharedPtr, int > 
torc::generic::CellUsageMap
 A map from cell shared pointer to usage count. More...
 

Functions

void torc::generic::prune (RootSharedPtr &inRootPtr)
 Prune all unused cells and libraries from the given root. More...
 
void torc::generic::collectCells (ViewSharedPtr &inViewPtr, CellUsageMap &inoutCellUsageMap)
 Recursively collect and count all cells used in the given view. The CellUsageMap must already be initialized with all expected cell counts set to zero. More...