GPUOcelot
Public Types | Public Member Functions | Public Attributes

ir::ILStatement Class Reference

#include <ILStatement.h>

Collaboration diagram for ir::ILStatement:
Collaboration graph
[legend]

List of all members.

Public Types

enum  Type {
  Instruction, ConstantBufferDcl, LiteralDcl, LocalDataShareDcl,
  OtherDeclarations, InvalidType
}
 

Statement types.

More...
typedef std::vector< ILOperandOperandVector

Public Member Functions

 ILStatement (Type type=InvalidType)
 Default constructor.
 ILStatement (const ILInstruction &i)
 Construct a statement from an instruction.
 ILStatement (const ILStatement &s)
 Copy constructor.
 ~ILStatement ()
 Destructor.
std::string toString () const
 Convert this statement into a string.

Public Attributes

ILInstructioninstruction
 If this is an instruction, a pointer to the instruction object.
Type type
 Statement type.
OperandVector operands
 The operands if this is a declaration.

Member Typedef Documentation


Member Enumeration Documentation

Statement types.

Enumerator:
Instruction 
ConstantBufferDcl 
LiteralDcl 
LocalDataShareDcl 
OtherDeclarations 
InvalidType 

Constructor & Destructor Documentation

ir::ILStatement::ILStatement ( Type  type = InvalidType)

Default constructor.

ir::ILStatement::ILStatement ( const ILInstruction i) [explicit]

Construct a statement from an instruction.

ir::ILStatement::ILStatement ( const ILStatement s)

Copy constructor.

ir::ILStatement::~ILStatement ( )

Destructor.


Member Function Documentation

std::string ir::ILStatement::toString ( ) const

Convert this statement into a string.


Member Data Documentation

If this is an instruction, a pointer to the instruction object.

The pointer is owned by this class.

The operands if this is a declaration.

Statement type.


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