GPUOcelot
|
The LLVM extractvalue instruction. More...
#include <LLVMInstruction.h>
Public Types | |
typedef std::vector< LLVMI32 > | IndexVector |
A vector of indices. | |
Public Member Functions | |
LLVMExtractvalue () | |
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 | d |
The destination operand. | |
Operand | a |
The source operand, must be an aggregate type. | |
IndexVector | indices |
Indexes within the aggregate type. |
The LLVM extractvalue instruction.
typedef std::vector< LLVMI32 > ir::LLVMExtractvalue::IndexVector |
A vector of indices.
ir::LLVMExtractvalue::LLVMExtractvalue | ( | ) |
The default constructor sets the opcode.
Instruction * ir::LLVMExtractvalue::clone | ( | bool | copy = true | ) | const [virtual] |
Return a pointer to a new Instruction.
Implements ir::LLVMInstruction.
std::string ir::LLVMExtractvalue::toString | ( | ) | const [virtual] |
Returns a string representation of the instruction.
Implements ir::LLVMInstruction.
std::string ir::LLVMExtractvalue::valid | ( | ) | const [virtual] |
Determines if the instruction is valid, returns an empty string if valid otherwise an error message.
Implements ir::LLVMInstruction.
Operand ir::LLVMExtractvalue::a |
The source operand, must be an aggregate type.
Operand ir::LLVMExtractvalue::d |
The destination operand.
Indexes within the aggregate type.