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),...
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
static StringRef checkExtensions(ArrayRef< std::string > ExtNames, ExtensionSet &AllowedExtensions)
Validates and converts extension names into internal enum values.
SPIRVExtensionsParser(cl::Option &O)
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.