GPUOcelot
Public Member Functions

transforms::BasicBlockPass Class Reference

A pass over a single basic block in a kernel. More...

#include <Pass.h>

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

List of all members.

Public Member Functions

 BasicBlockPass (int a=Analysis::NoAnalysis, const std::string &n="")
 The default constructor sets the type.
virtual ~BasicBlockPass ()
 Virtual destructor.
virtual void initialize (const ir::Module &m)=0
 Initialize the pass using a specific module.
virtual void initialize (const ir::IRKernel &m)=0
 Initialize the pass using a specific kernel.
virtual void runOnBlock (ir::BasicBlock &b)=0
 Run the pass on a specific kernel in the module.
virtual void finalizeKernel ()=0
 Finalize the pass on the kernel.
virtual void finalize ()=0
 Finalize the pass on the module.

Detailed Description

A pass over a single basic block in a kernel.


Constructor & Destructor Documentation

transforms::BasicBlockPass::BasicBlockPass ( int  a = Analysis::NoAnalysis,
const std::string &  n = "" 
)

The default constructor sets the type.

transforms::BasicBlockPass::~BasicBlockPass ( ) [virtual]

Virtual destructor.


Member Function Documentation

virtual void transforms::BasicBlockPass::finalize ( ) [pure virtual]

Finalize the pass on the module.

virtual void transforms::BasicBlockPass::finalizeKernel ( ) [pure virtual]

Finalize the pass on the kernel.

virtual void transforms::BasicBlockPass::initialize ( const ir::IRKernel m) [pure virtual]

Initialize the pass using a specific kernel.

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

Initialize the pass using a specific module.

virtual void transforms::BasicBlockPass::runOnBlock ( ir::BasicBlock b) [pure virtual]

Run the pass on a specific kernel in the module.


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