GPUOcelot
Public Member Functions

transforms::ConvertPredicationToSelectPass Class Reference

A class for a pass that converts all predicate instructions to conditional select. More...

#include <ConvertPredicationToSelectPass.h>

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

List of all members.

Public Member Functions

 ConvertPredicationToSelectPass ()
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 class for a pass that converts all predicate instructions to conditional select.

This is necessary for converting predicated code into static single assignment form without creating phi nodes at all predicated instructions


Constructor & Destructor Documentation

transforms::ConvertPredicationToSelectPass::ConvertPredicationToSelectPass ( )

Member Function Documentation

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

Finalize the pass.

Implements transforms::KernelPass.

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

Initialize the pass using a specific module.

Implements transforms::KernelPass.

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