GPUOcelot
Public Member Functions | Public Attributes

ir::LLVMInsertelement Class Reference

The LLVM insertelement instruction. More...

#include <LLVMInstruction.h>

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

List of all members.

Public Member Functions

 LLVMInsertelement ()
 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 c
 Index operand.

Detailed Description

The LLVM insertelement instruction.


Constructor & Destructor Documentation

ir::LLVMInsertelement::LLVMInsertelement ( )

The default constructor sets the opcode.


Member Function Documentation

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

Return a pointer to a new Instruction.

Implements ir::LLVMBinaryInstruction.

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

Returns a string representation of the instruction.

Reimplemented from ir::LLVMBinaryInstruction.

std::string ir::LLVMInsertelement::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

Index operand.


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