LLVM: llvm::SPIRVExtensionsParser Struct Reference (original) (raw)
Command line parser for toggling SPIR-V extensions. More...
#include "[Target/SPIRV/SPIRVCommandLine.h](SPIRVCommandLine%5F8h%5Fsource.html)"
| Static Public Member Functions | |
|---|---|
| static StringRef | checkExtensions (const std::vector< std::string > &ExtNames, std::set< SPIRV::Extension::Extension > &AllowedExtensions) |
| Validates and converts extension names into internal enum values. | |
| static std::set< SPIRV::Extension::Extension > | getValidExtensions (const Triple &TT) |
| Returns the list of extensions that are valid for a particular target environment (i.e., OpenCL or Vulkan). |
| Additional Inherited Members | |
|---|---|
| Public Types inherited from llvm:🆑:parser< std::set< SPIRV::Extension::Extension > > | |
| using | parser_data_type |
| Protected Attributes inherited from llvm:🆑:parser< std::set< SPIRV::Extension::Extension > > | |
| SmallVector< OptionInfo, 8 > | Values |
| Protected Attributes inherited from llvm:🆑:generic_parser_base | |
| Option & | Owner |
Command line parser for toggling SPIR-V extensions.
Definition at line 27 of file SPIRVCommandLine.h.
| llvm::SPIRVExtensionsParser::SPIRVExtensionsParser ( cl::Option & O) | inline |
|---|
â—† checkExtensions()
| StringRef SPIRVExtensionsParser::checkExtensions ( const std::vector< std::string > & ExtNames, std::set< SPIRV::Extension::Extension > & AllowedExtensions ) | static |
|---|
â—† getValidExtensions()
| std::set< SPIRV::Extension::Extension > SPIRVExtensionsParser::getValidExtensions ( const Triple & TT) | static |
|---|
â—† parse()
The documentation for this struct was generated from the following files:
- lib/Target/SPIRV/SPIRVCommandLine.h
- lib/Target/SPIRV/SPIRVCommandLine.cpp