GPUOcelot
|
The LLVM load instruction. More...
#include <LLVMInstruction.h>
Public Member Functions | |
LLVMLoad () | |
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 | |
LLVMI1 | isVolatile |
Is the load volatile. | |
LLVMI32 | alignment |
The alignment requirement of the load. |
The LLVM load instruction.
ir::LLVMLoad::LLVMLoad | ( | ) |
The default constructor sets the opcode.
Instruction * ir::LLVMLoad::clone | ( | bool | copy = true | ) | const [virtual] |
Return a pointer to a new Instruction.
Implements ir::LLVMUnaryInstruction.
std::string ir::LLVMLoad::toString | ( | ) | const [virtual] |
Returns a string representation of the instruction.
Reimplemented from ir::LLVMUnaryInstruction.
std::string ir::LLVMLoad::valid | ( | ) | const [virtual] |
Determines if the instruction is valid, returns an empty string if valid otherwise an error message.
Reimplemented from ir::LLVMUnaryInstruction.
The alignment requirement of the load.
Is the load volatile.