Struct Compiler::OpcodeHandler
Defined in File spirv_cross.hpp
Nested Relationships
This struct is a nested type of Class Compiler.
Inheritance Relationships
Derived Types
public SPIRV_CROSS_NAMESPACE::Compiler::ActiveBuiltinHandler
(Struct Compiler::ActiveBuiltinHandler)public SPIRV_CROSS_NAMESPACE::Compiler::AnalyzeVariableScopeAccessHandler
(Struct Compiler::AnalyzeVariableScopeAccessHandler)public SPIRV_CROSS_NAMESPACE::Compiler::BufferAccessHandler
(Struct Compiler::BufferAccessHandler)public SPIRV_CROSS_NAMESPACE::Compiler::CFGBuilder
(Struct Compiler::CFGBuilder)public SPIRV_CROSS_NAMESPACE::Compiler::CombinedImageSamplerDrefHandler
(Struct Compiler::CombinedImageSamplerDrefHandler)public SPIRV_CROSS_NAMESPACE::Compiler::CombinedImageSamplerHandler
(Struct Compiler::CombinedImageSamplerHandler)public SPIRV_CROSS_NAMESPACE::Compiler::CombinedImageSamplerUsageHandler
(Struct Compiler::CombinedImageSamplerUsageHandler)public SPIRV_CROSS_NAMESPACE::Compiler::DummySamplerForCombinedImageHandler
(Struct Compiler::DummySamplerForCombinedImageHandler)public SPIRV_CROSS_NAMESPACE::Compiler::InterfaceVariableAccessHandler
(Struct Compiler::InterfaceVariableAccessHandler)public SPIRV_CROSS_NAMESPACE::Compiler::InterlockedResourceAccessHandler
(Struct Compiler::InterlockedResourceAccessHandler)public SPIRV_CROSS_NAMESPACE::Compiler::InterlockedResourceAccessPrepassHandler
(Struct Compiler::InterlockedResourceAccessPrepassHandler)public SPIRV_CROSS_NAMESPACE::Compiler::PhysicalStorageBufferPointerHandler
(Struct Compiler::PhysicalStorageBufferPointerHandler)public SPIRV_CROSS_NAMESPACE::Compiler::StaticExpressionAccessHandler
(Struct Compiler::StaticExpressionAccessHandler)public SPIRV_CROSS_NAMESPACE::CompilerMSL::OpCodePreprocessor
(Struct CompilerMSL::OpCodePreprocessor)public SPIRV_CROSS_NAMESPACE::CompilerMSL::SampledImageScanner
(Struct CompilerMSL::SampledImageScanner)
Struct Documentation
-
struct OpcodeHandler
Subclassed by SPIRV_CROSS_NAMESPACE::Compiler::ActiveBuiltinHandler, SPIRV_CROSS_NAMESPACE::Compiler::AnalyzeVariableScopeAccessHandler, SPIRV_CROSS_NAMESPACE::Compiler::BufferAccessHandler, SPIRV_CROSS_NAMESPACE::Compiler::CFGBuilder, SPIRV_CROSS_NAMESPACE::Compiler::CombinedImageSamplerDrefHandler, SPIRV_CROSS_NAMESPACE::Compiler::CombinedImageSamplerHandler, SPIRV_CROSS_NAMESPACE::Compiler::CombinedImageSamplerUsageHandler, SPIRV_CROSS_NAMESPACE::Compiler::DummySamplerForCombinedImageHandler, SPIRV_CROSS_NAMESPACE::Compiler::InterfaceVariableAccessHandler, SPIRV_CROSS_NAMESPACE::Compiler::InterlockedResourceAccessHandler, SPIRV_CROSS_NAMESPACE::Compiler::InterlockedResourceAccessPrepassHandler, SPIRV_CROSS_NAMESPACE::Compiler::PhysicalStorageBufferPointerHandler, SPIRV_CROSS_NAMESPACE::Compiler::StaticExpressionAccessHandler, SPIRV_CROSS_NAMESPACE::CompilerMSL::OpCodePreprocessor, SPIRV_CROSS_NAMESPACE::CompilerMSL::SampledImageScanner
Public Functions
-
virtual ~OpcodeHandler() = default
-
virtual bool handle(spv::Op opcode, const uint32_t *args, uint32_t length) = 0
-
inline virtual bool handle_terminator(const SPIRBlock&)
-
inline virtual bool follow_function_call(const SPIRFunction&)
-
inline virtual void set_current_block(const SPIRBlock&)
-
inline virtual void rearm_current_block(const SPIRBlock&)
-
inline virtual bool begin_function_scope(const uint32_t*, uint32_t)
-
inline virtual bool end_function_scope(const uint32_t*, uint32_t)
-
virtual ~OpcodeHandler() = default