/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\ |* *| |* SPIR-V Attribute Utilities *| |* *| |* Automatically generated file, do not edit! *| |* From: SPIRVBase.td *| |* *| \*===----------------------------------------------------------------------===*/ #ifndef MLIR_DIALECT_SPIRV_IR_ATTR_UTILS_H_ #define MLIR_DIALECT_SPIRV_IR_ATTR_UTILS_H_ template inline constexpr StringRef attributeName(); template <> inline StringRef attributeName() { static constexpr const char attrName[] = "version"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "device_type"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "vendor"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "client_api"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "extension"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "capability"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "addressing_model"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "built_in"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "decoration"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "dim"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "execution_mode"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "execution_model"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "fp_encoding"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "fp_rounding_mode"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "function_control"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "group_operation"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "image_format"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "image_operands"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "linkage_type"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "loop_control"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "memory_access"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "memory_model"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "memory_semantics"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "scope"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "selection_control"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "storage_class"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "packed_vector_format"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "image_depth_info"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "image_arrayed_info"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "image_sampling_info"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "image_sampler_use_info"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "matrix_layout"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "cooperative_matrix_use_khr"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "cooperative_matrix_layout_khr"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "cooperative_matrix_operands_khr"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "load_cache_control"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "store_cache_control"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "quad_swap_direction"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "opcode"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "fp_fast_math_mode"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "tosa_ext_acc_type"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "tosa_ext_resize_mode_type"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "tosa_ext_na_n_propagation_mode_type"; return attrName; } template <> inline StringRef attributeName() { static constexpr const char attrName[] = "tosa_ext_rounding_mode_type"; return attrName; } #endif // MLIR_DIALECT_SPIRV_IR_ATTR_UTILS_H