GPUOcelot
|
#include <ILStatement.h>
Public Types | |
enum | Type { Instruction, ConstantBufferDcl, LiteralDcl, LocalDataShareDcl, OtherDeclarations, InvalidType } |
Statement types. More... | |
typedef std::vector< ILOperand > | OperandVector |
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 | |
ILInstruction * | instruction |
If this is an instruction, a pointer to the instruction object. | |
Type | type |
Statement type. | |
OperandVector | operands |
The operands if this is a declaration. |
typedef std::vector<ILOperand> ir::ILStatement::OperandVector |
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.
std::string ir::ILStatement::toString | ( | ) | const |
Convert this statement into a string.
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.