GPUOcelot
Public Member Functions | Public Attributes

ir::LLVMSelect Class Reference

The LLVM select instruction. More...

#include <LLVMInstruction.h>

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

List of all members.

Public Member Functions

 LLVMSelect ()
 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

Operand condition
 The condition that determines which operand to select.

Detailed Description

The LLVM select instruction.


Constructor & Destructor Documentation

ir::LLVMSelect::LLVMSelect ( )

The default constructor sets the opcode.


Member Function Documentation

Instruction * ir::LLVMSelect::clone ( bool  copy = true) const [virtual]

Return a pointer to a new Instruction.

Implements ir::LLVMBinaryInstruction.

std::string ir::LLVMSelect::toString ( ) const [virtual]

Returns a string representation of the instruction.

Reimplemented from ir::LLVMBinaryInstruction.

std::string ir::LLVMSelect::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 condition that determines which operand to select.


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