Struct SPIRBlock

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Struct Documentation

struct SPIRBlock : public SPIRV_CROSS_NAMESPACE::IVariant

Public Types

enum [anonymous]

Values:

enumerator type
enum Terminator

Values:

enumerator Unknown
enumerator Direct
enumerator Select
enumerator MultiSelect
enumerator Return
enumerator Unreachable
enumerator Kill
enumerator IgnoreIntersection
enumerator TerminateRay
enumerator EmitMeshTasks
enum Merge

Values:

enumerator MergeNone
enumerator MergeLoop
enumerator MergeSelection
enum Hints

Values:

enumerator HintNone
enumerator HintUnroll
enumerator HintDontUnroll
enumerator HintFlatten
enumerator HintDontFlatten
enum Method

Values:

enumerator MergeToSelectForLoop
enumerator MergeToDirectForLoop
enumerator MergeToSelectContinueForLoop
enum ContinueBlockType

Values:

enumerator ContinueNone
enumerator ForLoop
enumerator WhileLoop
enumerator DoWhileLoop
enumerator ComplexLoop
enum [anonymous]

Values:

enumerator NoDominator

Public Members

Terminator terminator = Unknown
Merge merge = MergeNone
Hints hint = HintNone
BlockID next_block = 0
BlockID merge_block = 0
BlockID continue_block = 0
ID return_value = 0
ID condition = 0
BlockID true_block = 0
BlockID false_block = 0
BlockID default_block = 0
ID groups[3]
ID payload
struct SPIRV_CROSS_NAMESPACE::SPIRBlock::[anonymous] mesh = {}
SmallVector<Instruction> ops
SmallVector<Phi> phi_variables
SmallVector<std::pair<TypeID, ID>> declare_temporary
SmallVector<std::pair<TypeID, ID>> potential_declare_temporary
SmallVector<Case> cases_32bit
SmallVector<Case> cases_64bit
bool disable_block_optimization = false
bool complex_continue = false
bool need_ladder_break = false
BlockID ignore_phi_from_block = 0
BlockID loop_dominator = 0
SmallVector<VariableID> dominated_variables
SmallVector<VariableID> loop_variables
SmallVector<ID> invalidate_expressions
struct Case

Public Members

uint64_t value
BlockID block
struct Phi

Public Members

ID local_variable
BlockID parent
VariableID function_variable