@@ -77,6 +77,12 @@ def ExtensionEntries : GenericTable {
7777 let PrimaryKeyName = "lookupExtensionByCategoryAndValue";
7878}
7979
80+ // Function to lookup symbolic operands enabled by a given extension.
81+ def lookupSymbolicOperandsEnabledByExtension : SearchIndex {
82+ let Table = ExtensionEntries;
83+ let Key = ["ReqExtension", "Category"];
84+ }
85+
8086//===----------------------------------------------------------------------===//
8187// Lookup table for matching symbolic operands (category + 32-bit value) to
8288// SPIR-V capabilities. If an operand requires more than one capability, there
@@ -243,7 +249,52 @@ defm SPV_KHR_shader_clock : ExtensionOperand<54>;
243249defm SPV_INTEL_unstructured_loop_controls : ExtensionOperand<55>;
244250defm SPV_EXT_demote_to_helper_invocation : ExtensionOperand<56>;
245251defm SPV_INTEL_fpga_reg : ExtensionOperand<57>;
246- defm SPV_INTEL_optnone : ExtensionOperand<58>;
252+ defm SPV_INTEL_blocking_pipes : ExtensionOperand<58>;
253+ defm SPV_GOOGLE_user_type : ExtensionOperand<59>;
254+ defm SPV_KHR_physical_storage_buffer : ExtensionOperand<60>;
255+ defm SPV_INTEL_kernel_attributes : ExtensionOperand<61>;
256+ defm SPV_KHR_non_semantic_info : ExtensionOperand<62>;
257+ defm SPV_INTEL_io_pipes : ExtensionOperand<63>;
258+ defm SPV_KHR_ray_tracing : ExtensionOperand<64>;
259+ defm SPV_KHR_ray_query : ExtensionOperand<65>;
260+ defm SPV_INTEL_fpga_memory_accesses : ExtensionOperand<66>;
261+ defm SPV_INTEL_arbitrary_precision_integers : ExtensionOperand<67>;
262+ defm SPV_EXT_shader_atomic_float_add : ExtensionOperand<68>;
263+ defm SPV_KHR_terminate_invocation : ExtensionOperand<69>;
264+ defm SPV_KHR_fragment_shading_rate : ExtensionOperand<70>;
265+ defm SPV_EXT_shader_image_int64 : ExtensionOperand<71>;
266+ defm SPV_INTEL_fp_fast_math_mode : ExtensionOperand<72>;
267+ defm SPV_INTEL_fpga_cluster_attributes : ExtensionOperand<73>;
268+ defm SPV_INTEL_loop_fuse : ExtensionOperand<74>;
269+ defm SPV_EXT_shader_atomic_float_min_max : ExtensionOperand<75>;
270+ defm SPV_KHR_workgroup_memory_explicit_layout : ExtensionOperand<76>;
271+ defm SPV_KHR_linkonce_odr : ExtensionOperand<77>;
272+ defm SPV_KHR_expect_assume : ExtensionOperand<78>;
273+ defm SPV_INTEL_fpga_dsp_control : ExtensionOperand<79>;
274+ defm SPV_NV_bindless_texture : ExtensionOperand<80>;
275+ defm SPV_INTEL_fpga_invocation_pipelining_attributes : ExtensionOperand<81>;
276+ defm SPV_KHR_subgroup_uniform_control_flow : ExtensionOperand<82>;
277+ defm SPV_HUAWEI_subpass_shading : ExtensionOperand<83>;
278+ defm SPV_KHR_integer_dot_product : ExtensionOperand<84>;
279+ defm SPV_EXT_shader_atomic_float16_add : ExtensionOperand<85>;
280+ defm SPV_INTEL_runtime_aligned : ExtensionOperand<86>;
281+ defm SPV_KHR_bit_instructions : ExtensionOperand<87>;
282+ defm SPV_NV_ray_tracing_motion_blur : ExtensionOperand<88>;
283+ defm SPV_KHR_uniform_group_instructions : ExtensionOperand<89>;
284+ defm SPV_KHR_subgroup_rotate : ExtensionOperand<90>;
285+ defm SPV_INTEL_split_barrier : ExtensionOperand<91>;
286+ defm SPV_KHR_ray_cull_mask : ExtensionOperand<92>;
287+ defm SPV_KHR_fragment_shader_barycentric : ExtensionOperand<93>;
288+ defm SPV_EXT_relaxed_printf_string_address_space : ExtensionOperand<94>;
289+ defm SPV_EXT_ycbcr_attachments : ExtensionOperand<95>;
290+ defm SPV_EXT_mesh_shader : ExtensionOperand<96>;
291+ defm SPV_ARM_core_builtins : ExtensionOperand<97>;
292+ defm SPV_EXT_opacity_micromap : ExtensionOperand<98>;
293+ defm SPV_NV_shader_invocation_reorder : ExtensionOperand<99>;
294+ defm SPV_INTEL_usm_storage_classes : ExtensionOperand<100>;
295+ defm SPV_INTEL_fpga_latency_control : ExtensionOperand<101>;
296+ defm SPV_INTEL_fpga_argument_interfaces : ExtensionOperand<102>;
297+ defm SPV_INTEL_optnone : ExtensionOperand<103>;
247298
248299//===----------------------------------------------------------------------===//
249300// Multiclass used to define Capabilities enum values and at the same time
@@ -397,6 +448,7 @@ defm ComputeDerivativeGroupLinearNV : CapabilityOperand<5350, 0, 0, [], []>;
397448defm FragmentDensityEXT : CapabilityOperand<5291, 0, 0, [], [Shader]>;
398449defm PhysicalStorageBufferAddressesEXT : CapabilityOperand<5347, 0, 0, [], [Shader]>;
399450defm CooperativeMatrixNV : CapabilityOperand<5357, 0, 0, [], [Shader]>;
451+ defm ArbitraryPrecisionIntegersINTEL : CapabilityOperand<5844, 0, 0, [SPV_INTEL_arbitrary_precision_integers], [Int8, Int16]>;
400452defm OptNoneINTEL : CapabilityOperand<6094, 0, 0, [SPV_INTEL_optnone], []>;
401453
402454//===----------------------------------------------------------------------===//
0 commit comments