GPUOcelot
Public Member Functions

transforms::DeadCodeEliminationPass Class Reference

A transform to perform dead code elimination on a PTX kernel. More...

#include <DeadCodeEliminationPass.h>

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

List of all members.

Public Member Functions

 DeadCodeEliminationPass ()
 Create the pass, create dependencies.
void initialize (const ir::Module &m)
 Initialize the pass using a specific module.
void runOnKernel (ir::IRKernel &k)
 Run the pass on a specific kernel in the module.
void finalize ()
 Finalize the pass.

Detailed Description

A transform to perform dead code elimination on a PTX kernel.


Constructor & Destructor Documentation

transforms::DeadCodeEliminationPass::DeadCodeEliminationPass ( )

Create the pass, create dependencies.


Member Function Documentation

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

Finalize the pass.

Implements transforms::KernelPass.

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

Initialize the pass using a specific module.

Implements transforms::KernelPass.

void transforms::DeadCodeEliminationPass::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