GPUOcelot
Public Member Functions

transforms::KernelPass Class Reference

A pass over a single kernel in a module. More...

#include <Pass.h>

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

List of all members.

Public Member Functions

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

Detailed Description

A pass over a single kernel in a module.


Constructor & Destructor Documentation

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

The default constructor sets the type.

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

Virtual destructor.


Member Function Documentation

virtual void transforms::KernelPass::finalize ( ) [pure virtual]
virtual void transforms::KernelPass::initialize ( const ir::Module m) [pure virtual]
virtual void transforms::KernelPass::runOnKernel ( ir::IRKernel k) [pure virtual]

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