14#ifndef LLVM_LIB_TARGET_SPIRV_COMMANDLINE_H
15#define LLVM_LIB_TARGET_SPIRV_COMMANDLINE_H
27 :
public cl::parser<std::set<SPIRV::Extension::Extension>> {
36 std::set<SPIRV::Extension::Extension> &Vals);
44 std::set<SPIRV::Extension::Extension> &AllowedExtensions);
StringRef - Represent a constant reference to a string, i.e.
This is an optimization pass for GlobalISel generic memory operations.
Implement std::hash so that hash_code can be used in STL containers.
Command line parser for toggling SPIR-V extensions.
static llvm::StringRef checkExtensions(const std::vector< std::string > &ExtNames, std::set< SPIRV::Extension::Extension > &AllowedExtensions)
Validates and converts extension names into internal enum values.
SPIRVExtensionsParser(cl::Option &O)