GPUOcelot
|
The LLVM br instruction. More...
#include <LLVMInstruction.h>
Public Member Functions | |
LLVMBr () | |
The default constructor sets the opcode. | |
std::string | toString () const |
Returns a string representation of the instruction. | |
std::string | valid () const |
Determines if the instruction is valid, returns an empty string if valid otherwise an error message. | |
Instruction * | clone (bool copy=true) const |
Return a pointer to a new Instruction. | |
Public Attributes | |
Operand | condition |
The condition operand or empty if none. | |
std::string | iftrue |
The target label, default if condition is not specified. | |
std::string | iffalse |
The iffalse label. |
The LLVM br instruction.
ir::LLVMBr::LLVMBr | ( | ) |
The default constructor sets the opcode.
Instruction * ir::LLVMBr::clone | ( | bool | copy = true | ) | const [virtual] |
Return a pointer to a new Instruction.
Implements ir::LLVMInstruction.
std::string ir::LLVMBr::toString | ( | ) | const [virtual] |
Returns a string representation of the instruction.
Implements ir::LLVMInstruction.
std::string ir::LLVMBr::valid | ( | ) | const [virtual] |
Determines if the instruction is valid, returns an empty string if valid otherwise an error message.
Implements ir::LLVMInstruction.
The condition operand or empty if none.
std::string ir::LLVMBr::iffalse |
The iffalse label.
std::string ir::LLVMBr::iftrue |
The target label, default if condition is not specified.