GPUOcelot
Public Member Functions

transforms::ImmutableKernelPass Class Reference

An immutable pass over a single kernel in a module. More...

#include <Pass.h>

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

List of all members.

Public Member Functions

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

Detailed Description

An immutable pass over a single kernel in a module.


Constructor & Destructor Documentation

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

The default constructor sets the type.

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

Virtual destructor.


Member Function Documentation

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

Initialize the pass using a specific module.

Implemented in transforms::DefaultLayoutPass, transforms::ThreadFrontierReconvergencePass, and translator::Translator.

virtual void transforms::ImmutableKernelPass::runOnKernel ( const ir::IRKernel k) [pure virtual]

Run the pass on a specific kernel in the module.

Implemented in transforms::DefaultLayoutPass, transforms::ThreadFrontierReconvergencePass, and translator::Translator.


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