RetroArch
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
spv::SpirvStream Class Reference

Public Member Functions

 SpirvStream (std::ostream &out, const std::vector< unsigned int > &stream)
 
virtual ~SpirvStream ()
 
void validate ()
 
void processInstructions ()
 

Protected Member Functions

 SpirvStream (const SpirvStream &)
 
SpirvStreamoperator= (const SpirvStream &)
 
Op getOpCode (int id) const
 
void outputIndent ()
 
void formatId (Id id, std::stringstream &)
 
void outputResultId (Id id)
 
void outputTypeId (Id id)
 
void outputId (Id id)
 
void outputMask (OperandClass operandClass, unsigned mask)
 
void disassembleImmediates (int numOperands)
 
void disassembleIds (int numOperands)
 
int disassembleString ()
 
void disassembleInstruction (Id resultId, Id typeId, Op opCode, int numOperands)
 

Protected Attributes

std::ostream & out
 
const std::vector< unsigned int > & stream
 
int size
 
int word
 
Id bound
 
std::vector< unsigned int > idInstruction
 
std::vector< std::stringidDescriptor
 
unsigned int schema
 
std::stack< IdnestedControl
 
Id nextNestedControl
 

Constructor & Destructor Documentation

◆ SpirvStream() [1/2]

spv::SpirvStream::SpirvStream ( std::ostream &  out,
const std::vector< unsigned int > &  stream 
)
inline

◆ ~SpirvStream()

virtual spv::SpirvStream::~SpirvStream ( )
inlinevirtual

◆ SpirvStream() [2/2]

spv::SpirvStream::SpirvStream ( const SpirvStream )
protected

Member Function Documentation

◆ disassembleIds()

void spv::SpirvStream::disassembleIds ( int  numOperands)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disassembleImmediates()

void spv::SpirvStream::disassembleImmediates ( int  numOperands)
protected
Here is the caller graph for this function:

◆ disassembleInstruction()

void spv::SpirvStream::disassembleInstruction ( Id  resultId,
Id  typeId,
Op  opCode,
int  numOperands 
)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disassembleString()

int spv::SpirvStream::disassembleString ( )
protected
Here is the caller graph for this function:

◆ formatId()

void spv::SpirvStream::formatId ( Id  id,
std::stringstream &  idStream 
)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getOpCode()

Op spv::SpirvStream::getOpCode ( int  id) const
inlineprotected

◆ operator=()

SpirvStream& spv::SpirvStream::operator= ( const SpirvStream )
protected

◆ outputId()

void spv::SpirvStream::outputId ( Id  id)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ outputIndent()

void spv::SpirvStream::outputIndent ( )
protected
Here is the caller graph for this function:

◆ outputMask()

void spv::SpirvStream::outputMask ( OperandClass  operandClass,
unsigned  mask 
)
protected
Here is the caller graph for this function:

◆ outputResultId()

void spv::SpirvStream::outputResultId ( Id  id)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ outputTypeId()

void spv::SpirvStream::outputTypeId ( Id  id)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ processInstructions()

void spv::SpirvStream::processInstructions ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ validate()

void spv::SpirvStream::validate ( )
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ bound

Id spv::SpirvStream::bound
protected

◆ idDescriptor

std::vector<std::string> spv::SpirvStream::idDescriptor
protected

◆ idInstruction

std::vector<unsigned int> spv::SpirvStream::idInstruction
protected

◆ nestedControl

std::stack<Id> spv::SpirvStream::nestedControl
protected

◆ nextNestedControl

Id spv::SpirvStream::nextNestedControl
protected

◆ out

std::ostream& spv::SpirvStream::out
protected

◆ schema

unsigned int spv::SpirvStream::schema
protected

◆ size

int spv::SpirvStream::size
protected

◆ stream

const std::vector<unsigned int>& spv::SpirvStream::stream
protected

◆ word

int spv::SpirvStream::word
protected

The documentation for this class was generated from the following file: