Expand description
Pretty-printing SPIR-V operands.
Structs
- All the
Token
s outputted by printing one single (“logical”) SPIR-V operand, which may be concatenated (after separately processingID
s) to obtain a complete plain-text version of the printed operand.
Enums
- The smallest unit produced by printing a (“logical”) SPIR-V operand.
Functions
- Group (ordered according to
opcode
)imms
andids
into logical operands (i.e. long immediates are unflattened) and produce oneTokensForOperand
by printing each of them. - Print a single SPIR-V operand from only immediates, potentially composed of an enumerand with parameters (which consumes more immediates).