GPUOcelot
Public Types | Public Member Functions

transforms::KernelDrawerPass Class Reference

#include <KernelDrawerPass.h>

Inheritance diagram for transforms::KernelDrawerPass:
Inheritance graph
[legend]
Collaboration diagram for transforms::KernelDrawerPass:
Collaboration graph
[legend]

List of all members.

Public Types

enum  GraphsTypes {
  noGraphs = 0, varsGraph = 1, cfgGraph = 2, divGraph = 4,
  fullGraph = 8, allGraphs = (unsigned char) (-1)
}

Public Member Functions

virtual void initialize (const ir::Module &m)
 Initialize the pass using a specific module.
virtual void runOnKernel (ir::IRKernel &k)
 Run the pass on a specific kernel in the module.
virtual void finalize ()
 Finalize the pass.
void drawVariablesGraph () const
 Draw the variables dependency graph.
void drawDivergenceGraph () const
 Draw the divergence spread graph.
void drawControlFlowGraph () const
 Draw the CFG, can draw comparison statistics to profiling results.
void drawFullGraph () const
 Draw the (D+C)FG, can draw comparison statistics to profiling results.
void draw () const
 KernelDrawerPass (const string &path, const unsigned short &graphs)

Member Enumeration Documentation

Enumerator:
noGraphs 
varsGraph 
cfgGraph 
divGraph 
fullGraph 
allGraphs 

Constructor & Destructor Documentation

transforms::KernelDrawerPass::KernelDrawerPass ( const string &  path,
const unsigned short &  graphs 
)

Member Function Documentation

void transforms::KernelDrawerPass::draw ( ) const
void transforms::KernelDrawerPass::drawControlFlowGraph ( ) const

Draw the CFG, can draw comparison statistics to profiling results.

void transforms::KernelDrawerPass::drawDivergenceGraph ( ) const

Draw the divergence spread graph.

void transforms::KernelDrawerPass::drawFullGraph ( ) const

Draw the (D+C)FG, can draw comparison statistics to profiling results.

void transforms::KernelDrawerPass::drawVariablesGraph ( ) const

Draw the variables dependency graph.

void transforms::KernelDrawerPass::finalize ( ) [virtual]

Finalize the pass.

Implements transforms::KernelPass.

void transforms::KernelDrawerPass::initialize ( const ir::Module m) [virtual]

Initialize the pass using a specific module.

Implements transforms::KernelPass.

void transforms::KernelDrawerPass::runOnKernel ( ir::IRKernel k) [virtual]

Run the pass on a specific kernel in the module.

Implements transforms::KernelPass.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines