GPUOcelot
Public Member Functions | Public Attributes

ir::ILBinaryInstruction Class Reference

A generic 2 operand instruction. More...

#include <ILInstruction.h>

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

List of all members.

Public Member Functions

 ILBinaryInstruction (Opcode op=InvalidOpcode)
 Default constructor.
virtual std::string toString () const
 Parsable IL strings.
virtual Instructionclone (bool copy=true) const =0
 Return a pointer to a new Instruction.

Public Attributes

ILOperand d
 The destination operand.
ILOperand a
 The first source operand.
ILOperand b
 The second source operand.

Detailed Description

A generic 2 operand instruction.


Constructor & Destructor Documentation

ir::ILBinaryInstruction::ILBinaryInstruction ( Opcode  op = InvalidOpcode)

Default constructor.


Member Function Documentation

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

Parsable IL strings.

Reimplemented from ir::ILInstruction.


Member Data Documentation

The first source operand.

The second source operand.

The destination operand.


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