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

#include <spvIR.h>

Public Member Functions

 Module ()
 
virtual ~Module ()
 
void addFunction (Function *fun)
 
void mapInstruction (Instruction *instruction)
 
InstructiongetInstruction (Id id) const
 
const std::vector< Function * > & getFunctions () const
 
spv::Id getTypeId (Id resultId) const
 
StorageClass getStorageClass (Id typeId) const
 
void dump (std::vector< unsigned int > &out) const
 

Protected Member Functions

 Module (const Module &)
 

Protected Attributes

std::vector< Function * > functions
 
std::vector< Instruction * > idToInstruction
 

Constructor & Destructor Documentation

◆ Module() [1/2]

spv::Module::Module ( )
inline

◆ ~Module()

virtual spv::Module::~Module ( )
inlinevirtual

◆ Module() [2/2]

spv::Module::Module ( const Module )
protected

Member Function Documentation

◆ addFunction()

void spv::Module::addFunction ( Function fun)
inline
Here is the caller graph for this function:

◆ dump()

void spv::Module::dump ( std::vector< unsigned int > &  out) const
inline

◆ getFunctions()

const std::vector<Function*>& spv::Module::getFunctions ( ) const
inline

◆ getInstruction()

Instruction* spv::Module::getInstruction ( Id  id) const
inline
Here is the caller graph for this function:

◆ getStorageClass()

StorageClass spv::Module::getStorageClass ( Id  typeId) const
inline

◆ getTypeId()

spv::Id spv::Module::getTypeId ( Id  resultId) const
inline

◆ mapInstruction()

void spv::Module::mapInstruction ( Instruction instruction)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ functions

std::vector<Function*> spv::Module::functions
protected

◆ idToInstruction

std::vector<Instruction*> spv::Module::idToInstruction
protected

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