// *** THIS FILE IS GENERATED - DO NOT EDIT *** // See spirv_grammar_generator.py for modifications /*************************************************************************** * * Copyright (c) 2021-2024 The Khronos Group Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * This file is related to anything that is found in the SPIR-V grammar * file found in the SPIRV-Headers. Mainly used for SPIR-V util functions. * ****************************************************************************/ // NOLINTBEGIN #include "containers/custom_containers.h" #include "spirv_grammar_helper.h" const char* string_SpvOpcode(uint32_t opcode) { … } const char* string_SpvStorageClass(uint32_t storage_class) { … } const char* string_SpvExecutionModel(uint32_t execution_model) { … } const char* string_SpvExecutionMode(uint32_t execution_mode) { … } const char* string_SpvDecoration(uint32_t decoration) { … } const char* string_SpvBuiltIn(uint32_t built_in) { … } const char* string_SpvDim(uint32_t dim) { … } static const char* string_SpvCooperativeMatrixOperandsMask(spv::CooperativeMatrixOperandsMask mask) { … } std::string string_SpvCooperativeMatrixOperands(uint32_t mask) { … } const OperandInfo& GetOperandInfo(uint32_t opcode) { … } // NOLINTEND