GPUOcelot
|
A namespace for IR to IR translators. More...
Classes | |
class | PTXToILTranslator |
A translator from PTX to IL. More... | |
class | PTXToLLVMTranslator |
A translator from PTX to LLVM. More... | |
class | Translator |
An interface for a translator from one ISA to another. More... | |
Functions | |
ir::PTXInstruction * | getLastIns (const CT::Node *node) |
returns the last instruction in a control tree node | |
bool | _isPowerOf2 (unsigned int n) |
returns true if n is a power of 2 | |
int | _Log2 (unsigned int n) |
returns the log base 2 of a power of 2 number |
A namespace for IR to IR translators.
bool translator::_isPowerOf2 | ( | unsigned int | n | ) | [inline] |
returns true if n is a power of 2
int translator::_Log2 | ( | unsigned int | n | ) | [inline] |
returns the log base 2 of a power of 2 number
ir::PTXInstruction * translator::getLastIns | ( | const CT::Node * | node | ) |
returns the last instruction in a control tree node