SPIRV-Tools/source
David Neto 445ce4401d Add operand type for extension instruction number
This is required to support extended instructions that
have literal numbers as operands.  An example is OpenCL's
vloadn.

The previous code in the assembler assumed that *any* literal
number argument in any part of an OpExtInst must be the name
of the extended instruction.  That's true only for the first
literal number argument.
2015-10-26 12:55:33 -04:00
..
binary.cpp Add operand type for extension instruction number 2015-10-26 12:55:33 -04:00
binary.h Some minor clean-ups to binary.{h,cpp}. 2015-10-26 12:55:33 -04:00
diagnostic.cpp SPV_FAILED_MATCH error mutes DiagnosticStream. 2015-10-26 12:55:33 -04:00
diagnostic.h SPV_FAILED_MATCH error mutes DiagnosticStream. 2015-10-26 12:55:33 -04:00
ext_inst.cpp Use literal integers for OpenCL extended instructions. 2015-10-26 12:55:33 -04:00
ext_inst.h Code drop of the Codeplay spirv-tools source. 2015-05-22 18:26:19 +01:00
instruction.h Added tracking to types and validated certain instructions. 2015-10-26 12:55:33 -04:00
opcode.cpp Add operand type for extension instruction number 2015-10-26 12:55:33 -04:00
opcode.h Added tracking to types and validated certain instructions. 2015-10-26 12:55:33 -04:00
opcode.inc Update core instruction syntax to Rev32 2015-10-26 12:55:33 -04:00
opencl_std_ext_inst.inc Add OpenCL extended instructions. 2015-10-26 12:55:33 -04:00
operand.cpp Enforce suitable literal number operands to be unsigned integers. 2015-10-26 12:55:33 -04:00
operand.h Simplify (and test) the alternate-parsing pattern. 2015-10-26 12:55:33 -04:00
print.cpp Code drop of the Codeplay spirv-tools source. 2015-05-22 18:26:19 +01:00
print.h Code drop of the Codeplay spirv-tools source. 2015-05-22 18:26:19 +01:00
syntax_tables.patch Add OpenCL extended instructions. 2015-10-26 12:55:33 -04:00
text_handler.cpp Some minor clean-ups to binary.{h,cpp}. 2015-10-26 12:55:33 -04:00
text_handler.h Some minor clean-ups to binary.{h,cpp}. 2015-10-26 12:55:33 -04:00
text.cpp Add operand type for extension instruction number 2015-10-26 12:55:33 -04:00
text.h Updated string escaping in the assembler. 2015-10-26 12:55:33 -04:00
validate_id.cpp Support strings with up to 65535 chars, and null. 2015-10-26 12:55:33 -04:00
validate.cpp Enforce suitable literal number operands to be unsigned integers. 2015-10-26 12:55:33 -04:00
validate.h Support strings with up to 65535 chars, and null. 2015-10-26 12:55:33 -04:00