GPUOcelot
|
A class used to represent any IL Instruction. More...
#include <ILInstruction.h>
A class used to represent any IL Instruction.
The opcode of the instruction.
ir::ILInstruction::ILInstruction | ( | Opcode | op = InvalidOpcode | ) |
Default constructor.
virtual Instruction* ir::ILInstruction::clone | ( | bool | copy = true | ) | const [pure virtual] |
Return a pointer to a new Instruction.
Implements ir::Instruction.
Implemented in ir::ILUnaryInstruction, ir::ILBinaryInstruction, ir::ILTrinaryInstruction, ir::ILAbs, ir::ILAdd, ir::ILAnd, ir::ILBreak, ir::ILCmov_Logical, ir::ILCos_Vec, ir::ILDiv, ir::ILElse, ir::ILEnd, ir::ILEndIf, ir::ILEndLoop, ir::ILEq, ir::ILExp_Vec, ir::ILFfb_Hi, ir::ILFence, ir::ILFma, ir::ILFtoI, ir::ILFtoU, ir::ILGe, ir::ILIadd, ir::ILIand, ir::ILIeq, ir::ILIfLogicalNZ, ir::ILIfLogicalZ, ir::ILIge, ir::ILIlt, ir::ILImax, ir::ILImin, ir::ILImul, ir::ILIne, ir::ILInegate, ir::ILInot, ir::ILIor, ir::ILIshl, ir::ILIshr, ir::ILItoF, ir::ILIxor, ir::ILLds_And_Resource, ir::ILLds_Load_Id, ir::ILLds_Or_Resource, ir::ILLds_Read_Add_Resource, ir::ILLds_Store_Id, ir::ILLog_Vec, ir::ILLt, ir::ILMad, ir::ILMov, ir::ILMul, ir::ILNe, ir::ILRcp, ir::ILRound_Nearest, ir::ILRound_Neginf, ir::ILRsq_Vec, ir::ILSin_Vec, ir::ILSub, ir::ILSqrt_Vec, ir::ILUav_Arena_Load_Id, ir::ILUav_Arena_Store_Id, ir::ILUav_Raw_Load_Id, ir::ILUav_Raw_Store_Id, ir::ILUav_Read_Add_Id, ir::ILUav_Read_Max_Id, ir::ILUav_Read_Min_Id, ir::ILUav_Read_Xchg_Id, ir::ILUdiv, ir::ILUmul, ir::ILUmul24, ir::ILUshr, ir::ILUtoF, and ir::ILWhileLoop.
std::string ir::ILInstruction::toString | ( | DataType | d | ) | [static] |
std::string ir::ILInstruction::toString | ( | const ClampOperation & | c | ) | [static] |
std::string ir::ILInstruction::toString | ( | ) | const [virtual] |
Returns a string representation of the instruction.
Implements ir::Instruction.
Reimplemented in ir::ILUnaryInstruction, ir::ILBinaryInstruction, ir::ILTrinaryInstruction, ir::ILFence, ir::ILIfLogicalNZ, ir::ILIfLogicalZ, ir::ILUav_Arena_Load_Id, and ir::ILUav_Arena_Store_Id.
std::string ir::ILInstruction::toString | ( | const ShiftScale & | s | ) | [static] |
std::string ir::ILInstruction::toString | ( | Opcode | o | ) | [static] |
std::string ir::ILInstruction::valid | ( | ) | const [virtual] |
Determines if the instruction is valid.
Implements ir::Instruction.
Clamp modifiers.
Opcode of the instruction.
Shift scale modifiers.