#include "source/spirv_target_env.h"
#include <cassert>
#include <cstring>
#include <string>
#include <utility>
#include "source/spirv_constant.h"
#include "spirv-tools/libspirv.h"
const char* spvTargetEnvDescription(spv_target_env env) { … }
uint32_t spvVersionForTargetEnv(spv_target_env env) { … }
static const std::pair<const char*, spv_target_env> spvTargetEnvNameMap[] = …;
bool spvParseTargetEnv(const char* s, spv_target_env* env) { … }
#define VULKAN_VER(MAJOR, MINOR) …
#define SPIRV_VER(MAJOR, MINOR) …
struct VulkanEnv { … };
static const VulkanEnv ordered_vulkan_envs[] = …;
bool spvParseVulkanEnv(uint32_t vulkan_ver, uint32_t spirv_ver,
spv_target_env* env) { … }
bool spvIsVulkanEnv(spv_target_env env) { … }
bool spvIsOpenCLEnv(spv_target_env env) { … }
bool spvIsOpenGLEnv(spv_target_env env) { … }
bool spvIsValidEnv(spv_target_env env) { … }
std::string spvLogStringForEnv(spv_target_env env) { … }
std::string spvTargetEnvList(const int pad, const int wrap) { … }