GPUOcelot
Public Types | Public Member Functions | Public Attributes

ir::LLVMShufflevector Class Reference

The LLVM shufflevector instruction. More...

#include <LLVMInstruction.h>

Inheritance diagram for ir::LLVMShufflevector:
Inheritance graph
[legend]
Collaboration diagram for ir::LLVMShufflevector:
Collaboration graph
[legend]

List of all members.

Public Types

typedef std::vector< LLVMI32Mask
 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.
Instructionclone (bool copy=true) const
 Return a pointer to a new Instruction.

Public Attributes

Mask mask
 The shuffle mask.

Detailed Description

The LLVM shufflevector instruction.


Member Typedef Documentation

typedef std::vector< LLVMI32 > ir::LLVMShufflevector::Mask

A Mask is a vector of indices.


Constructor & Destructor Documentation

ir::LLVMShufflevector::LLVMShufflevector ( )

The default constructor sets the opcode.


Member Function Documentation

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.


Member Data Documentation

The shuffle mask.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines