13 #ifndef MLIR_DIALECT_SPIRV_IR_SPIRVENUMS_H_
14 #define MLIR_DIALECT_SPIRV_IR_SPIRVENUMS_H_
18 #include "llvm/ADT/DenseMapInfo.h"
19 #include "llvm/ADT/StringRef.h"
26 enum class Version : uint32_t;
27 enum class Extension : uint32_t;
28 enum class Capability : uint32_t;
33 #include "mlir/Dialect/SPIRV/IR/SPIRVEnums.h.inc"
36 #include "mlir/Dialect/SPIRV/IR/SPIRVEnumAvailability.h.inc"
SmallVector< Capability, 0 > getRecursiveImpliedCapabilities(Capability cap)
Returns the recursively implied capabilities for the given capability.
ArrayRef< Extension > getImpliedExtensions(Version version)
Returns the implied extensions for the given version.
ArrayRef< Capability > getDirectImpliedCapabilities(Capability cap)
Returns the directly implied capabilities for the given capability.
Include the generated interface declarations.