GPUOcelot
Public Member Functions

transforms::SyncEliminationPass Class Reference

This pass converts ordinary bra instructions into bra.uni, whenever the divergence analysis deems it safe to do so. More...

#include <SyncEliminationPass.h>

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

List of all members.

Public Member Functions

 SyncEliminationPass ()
virtual ~SyncEliminationPass ()
virtual void initialize (const ir::Module &m)
 Initialize the pass using a specific module.
virtual void runOnKernel (ir::IRKernel &k)
 The SyncEliminationPass converts all non divergent bra instructions into bra.uni.
virtual void finalize ()
 Finalize the pass.

Detailed Description

This pass converts ordinary bra instructions into bra.uni, whenever the divergence analysis deems it safe to do so.


Constructor & Destructor Documentation

transforms::SyncEliminationPass::SyncEliminationPass ( )
virtual transforms::SyncEliminationPass::~SyncEliminationPass ( ) [inline, virtual]

Member Function Documentation

virtual void transforms::SyncEliminationPass::finalize ( ) [inline, virtual]

Finalize the pass.

Implements transforms::KernelPass.

virtual void transforms::SyncEliminationPass::initialize ( const ir::Module m) [inline, virtual]

Initialize the pass using a specific module.

Implements transforms::KernelPass.

void transforms::SyncEliminationPass::runOnKernel ( ir::IRKernel k) [virtual]

The SyncEliminationPass converts all non divergent bra instructions into bra.uni.

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