GPUOcelot
Public Types | Public Member Functions | Public Attributes

ir::LLVMInsertvalue Class Reference

The LLVM insertvalue instruction. More...

#include <LLVMInstruction.h>

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

List of all members.

Public Types

typedef std::vector< LLVMI32IndexVector

Public Member Functions

 LLVMInsertvalue ()
 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 d
 The destination operand.
Operand a
 The source operand, must be an aggregate type.
Operand b
 The source value to insert.
IndexVector indices
 Indexes within the aggregate type.

Detailed Description

The LLVM insertvalue instruction.


Member Typedef Documentation

typedef std::vector< LLVMI32 > ir::LLVMInsertvalue::IndexVector

Constructor & Destructor Documentation

ir::LLVMInsertvalue::LLVMInsertvalue ( )

The default constructor sets the opcode.


Member Function Documentation

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

Return a pointer to a new Instruction.

Implements ir::LLVMInstruction.

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

Returns a string representation of the instruction.

Implements ir::LLVMInstruction.

std::string ir::LLVMInsertvalue::valid ( ) const [virtual]

Determines if the instruction is valid, returns an empty string if valid otherwise an error message.

Implements ir::LLVMInstruction.


Member Data Documentation

The source operand, must be an aggregate type.

The source value to insert.

The destination operand.

Indexes within the aggregate type.


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