GPUOcelot
Public Member Functions

ir::LLVMConversionInstruction Class Reference

A generic conversion instruction. More...

#include <LLVMInstruction.h>

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

List of all members.

Public Member Functions

 LLVMConversionInstruction (Opcode op=InvalidOpcode, const Operand &d=Operand(), const Operand &a=Operand())
 Default constructor.
virtual std::string toString () const
 Returns a string representation of the instruction.
virtual std::string valid () const
 Determines if the instruction is valid, returns an empty string if valid otherwise an error message.
virtual Instructionclone (bool copy=true) const =0
 Return a pointer to a new Instruction.

Detailed Description

A generic conversion instruction.


Constructor & Destructor Documentation

ir::LLVMConversionInstruction::LLVMConversionInstruction ( Opcode  op = InvalidOpcode,
const Operand d = Operand(),
const Operand a = Operand() 
)

Default constructor.


Member Function Documentation

virtual Instruction* ir::LLVMConversionInstruction::clone ( bool  copy = true) const [pure virtual]
std::string ir::LLVMConversionInstruction::toString ( ) const [virtual]

Returns a string representation of the instruction.

Reimplemented from ir::LLVMUnaryInstruction.

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

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

Reimplemented from ir::LLVMUnaryInstruction.


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