Talvos  0.1
SPIR-V interpreter and dynamic analysis framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Namespaces | Macros
Invocation.cpp File Reference

This file defines the Invocation class. More...

#include <array>
#include <cassert>
#include <cmath>
#include <iostream>
#include <sstream>
#include <spirv/unified1/GLSL.std.450.h>
#include <spirv/unified1/spirv.h>
#include "talvos/Block.h"
#include "talvos/Device.h"
#include "talvos/EntryPoint.h"
#include "talvos/Function.h"
#include "talvos/Image.h"
#include "talvos/Instruction.h"
#include "talvos/Invocation.h"
#include "talvos/Memory.h"
#include "talvos/Module.h"
#include "talvos/PipelineStage.h"
#include "talvos/Type.h"
#include "talvos/Variable.h"
#include "talvos/Workgroup.h"

Go to the source code of this file.

Namespaces

 talvos
 

Macros

#define OP(Index, Type)   Objects[Inst->getOperand(Index)].get<Type>()
 Get scalar operand at index Index with type Type. More...
 
#define DISPATCH(Op, Func)
 
#define NOP(Op)
 

Detailed Description

This file defines the Invocation class.

Definition in file Invocation.cpp.

Macro Definition Documentation

#define DISPATCH (   Op,
  Func 
)
Value:
case Op: \
execute##Func(Inst); \
break
#define NOP (   Op)
Value:
case Op: \
break
#define OP (   Index,
  Type 
)    Objects[Inst->getOperand(Index)].get<Type>()

Get scalar operand at index Index with type Type.

Definition at line 33 of file Invocation.cpp.