GPUOcelot
|
The LLVM shufflevector instruction. More...
#include <LLVMInstruction.h>
Public Types | |
typedef std::vector< LLVMI32 > | Mask |
A Mask is a vector of indices. | |
Public Member Functions | |
LLVMShufflevector () | |
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 | |
Mask | mask |
The shuffle mask. |
The LLVM shufflevector instruction.
typedef std::vector< LLVMI32 > ir::LLVMShufflevector::Mask |
A Mask is a vector of indices.
ir::LLVMShufflevector::LLVMShufflevector | ( | ) |
The default constructor sets the opcode.
Instruction * ir::LLVMShufflevector::clone | ( | bool | copy = true | ) | const [virtual] |
Return a pointer to a new Instruction.
Implements ir::LLVMBinaryInstruction.
std::string ir::LLVMShufflevector::toString | ( | ) | const [virtual] |
Returns a string representation of the instruction.
Reimplemented from ir::LLVMBinaryInstruction.
std::string ir::LLVMShufflevector::valid | ( | ) | const [virtual] |
Determines if the instruction is valid, returns an empty string if valid otherwise an error message.
Reimplemented from ir::LLVMBinaryInstruction.
The shuffle mask.