• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===- SPIRVDialect.h - MLIR SPIR-V dialect ---------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file declares the SPIR-V dialect in MLIR.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef MLIR_DIALECT_SPIRV_SPIRVDIALECT_H_
14 #define MLIR_DIALECT_SPIRV_SPIRVDIALECT_H_
15 
16 #include "mlir/IR/Dialect.h"
17 
18 namespace mlir {
19 namespace spirv {
20 
21 enum class Decoration : uint32_t;
22 
23 } // end namespace spirv
24 } // end namespace mlir
25 
26 #include "mlir/Dialect/SPIRV/SPIRVOpsDialect.h.inc"
27 
28 #endif // MLIR_DIALECT_SPIRV_SPIRVDIALECT_H_
29