14#ifndef LLVM_LIB_TARGET_SPIRV_COMMANDLINE_H
15#define LLVM_LIB_TARGET_SPIRV_COMMANDLINE_H
StringRef - Represent a constant reference to a string, i.e.
Triple - Helper class for working with autoconf configuration names.
This namespace contains all of the command line option processing machinery.
This is an optimization pass for GlobalISel generic memory operations.
DenseSet< SPIRV::Extension::Extension > ExtensionSet
SPIRVExtensionsParser(cl::Option &O)
static StringRef checkExtensions(const std::vector< std::string > &ExtNames, ExtensionSet &AllowedExtensions)
Validates and converts extension names into internal enum values.
static ExtensionSet getValidExtensions(const Triple &TT)
Returns the list of extensions that are valid for a particular target environment (i....
bool parse(cl::Option &O, StringRef ArgName, StringRef ArgValue, ExtensionSet &Vals)
Parses SPIR-V extension name from CLI arguments.