GPUOcelot
|
An immutable pass over a single kernel in a module. More...
#include <Pass.h>
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. |
An immutable pass over a single kernel in a module.
transforms::ImmutableKernelPass::ImmutableKernelPass | ( | int | a = Analysis::NoAnalysis , |
const std::string & | n = "" |
||
) |
The default constructor sets the type.
transforms::ImmutableKernelPass::~ImmutableKernelPass | ( | ) | [virtual] |
Virtual destructor.
virtual void transforms::ImmutableKernelPass::finalize | ( | ) | [pure virtual] |
Finalize the pass.
Implemented in transforms::DefaultLayoutPass, transforms::ThreadFrontierReconvergencePass, and translator::Translator.
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.