#include <spvIR.h>
◆ Function() [1/2]
__inline spv::Function::Function |
( |
Id |
id, |
|
|
Id |
resultType, |
|
|
Id |
functionType, |
|
|
Id |
firstParam, |
|
|
Module & |
parent |
|
) |
| |
◆ ~Function()
virtual spv::Function::~Function |
( |
| ) |
|
|
inlinevirtual |
◆ Function() [2/2]
◆ addBlock()
void spv::Function::addBlock |
( |
Block * |
block | ) |
|
|
inline |
◆ addLocalVariable()
__inline void spv::Function::addLocalVariable |
( |
std::unique_ptr< Instruction > |
inst | ) |
|
◆ dump()
void spv::Function::dump |
( |
std::vector< unsigned int > & |
out | ) |
const |
|
inline |
◆ getBlocks()
const std::vector<Block*>& spv::Function::getBlocks |
( |
| ) |
const |
|
inline |
◆ getEntryBlock()
Block* spv::Function::getEntryBlock |
( |
| ) |
const |
|
inline |
◆ getId()
Id spv::Function::getId |
( |
| ) |
const |
|
inline |
◆ getLastBlock()
Block* spv::Function::getLastBlock |
( |
| ) |
const |
|
inline |
◆ getParamId()
Id spv::Function::getParamId |
( |
int |
p | ) |
const |
|
inline |
◆ getParamType()
Id spv::Function::getParamType |
( |
int |
p | ) |
const |
|
inline |
◆ getParent()
Module& spv::Function::getParent |
( |
| ) |
const |
|
inline |
◆ getReturnType()
Id spv::Function::getReturnType |
( |
| ) |
const |
|
inline |
◆ hasImplicitThis()
bool spv::Function::hasImplicitThis |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ removeBlock()
void spv::Function::removeBlock |
( |
Block * |
block | ) |
|
|
inline |
◆ setImplicitThis()
void spv::Function::setImplicitThis |
( |
| ) |
|
|
inline |
◆ blocks
std::vector<Block*> spv::Function::blocks |
|
protected |
◆ functionInstruction
◆ implicitThis
bool spv::Function::implicitThis |
|
protected |
◆ parameterInstructions
std::vector<Instruction*> spv::Function::parameterInstructions |
|
protected |
◆ parent
The documentation for this class was generated from the following file: