14#ifndef LLVM_LIB_TARGET_SPIRV_SPIRVCOMMANDLINE_H
15#define LLVM_LIB_TARGET_SPIRV_SPIRVCOMMANDLINE_H
Represent a constant reference to an array (0 or more elements consecutively in memory),...
Lightweight error class with error context and mandatory checking.
Represent a constant reference to a string, i.e.
Triple - Helper class for working with autoconf configuration names.
This is an optimization pass for GlobalISel generic memory operations.
DenseSet< SPIRV::Extension::Extension > ExtensionSet
@ Enabled
Convert any .debug_str_offsets tables to DWARF64 if needed.
@ Disabled
Don't do any conversion of .debug_str_offsets tables.
Parser for toggling SPIR-V extensions.
static StringRef checkExtensions(ArrayRef< std::string > ExtNames, ExtensionSet &AllowedExtensions)
Validates and converts extension names into internal enum values.
static ExtensionSet getValidExtensions(const Triple &TT, const ExtensionSet &Disabled)
Returns the list of extensions that are valid for a particular target environment (i....
static Error parse(StringRef ArgValue, ExtensionSet &Enabled, ExtensionSet &Disabled)
Parses the value of -spirv-ext into Enabled and Disabled.