CIRCT  20.0.0git
Public Member Functions | List of all members
circt::SSAMaximizationStrategy Class Reference

Strategy class to control the behavior of SSA maximization. More...

#include <Passes.h>

Public Member Functions

virtual bool maximizeBlock (Block *block)
 Determines whether a block should have the values it defines (i.e., block arguments and operation results within the block) SSA maximized. More...
 
virtual bool maximizeArgument (BlockArgument arg)
 Determines whether a block argument should be SSA maximized. More...
 
virtual bool maximizeOp (Operation *op)
 Determines whether an operation should have its results SSA maximized. More...
 
virtual bool maximizeResult (OpResult res)
 Determines whether an operation's result should be SSA maximized. More...
 
virtual ~SSAMaximizationStrategy ()=default
 

Detailed Description

Strategy class to control the behavior of SSA maximization.

The class exposes overridable filter functions to dynamically select which blocks, block arguments, operations, and operation results should be put into maximal SSA form. All filter functions should return true whenever the entity they operate on should be considered for SSA maximization. By default, all filter functions always return true.

Definition at line 69 of file Passes.h.

Constructor & Destructor Documentation

◆ ~SSAMaximizationStrategy()

virtual circt::SSAMaximizationStrategy::~SSAMaximizationStrategy ( )
virtualdefault

Member Function Documentation

◆ maximizeArgument()

bool circt::SSAMaximizationStrategy::maximizeArgument ( BlockArgument  arg)
virtual

Determines whether a block argument should be SSA maximized.

Definition at line 77 of file MaximizeSSA.cpp.

◆ maximizeBlock()

bool circt::SSAMaximizationStrategy::maximizeBlock ( Block *  block)
virtual

Determines whether a block should have the values it defines (i.e., block arguments and operation results within the block) SSA maximized.

Definition at line 74 of file MaximizeSSA.cpp.

◆ maximizeOp()

bool circt::SSAMaximizationStrategy::maximizeOp ( Operation *  op)
virtual

Determines whether an operation should have its results SSA maximized.

Definition at line 80 of file MaximizeSSA.cpp.

◆ maximizeResult()

bool circt::SSAMaximizationStrategy::maximizeResult ( OpResult  res)
virtual

Determines whether an operation's result should be SSA maximized.

Definition at line 81 of file MaximizeSSA.cpp.


The documentation for this class was generated from the following files: