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_IR_SPIRVDIALECT_H_
14#define MLIR_DIALECT_SPIRV_IR_SPIRVDIALECT_H_
15
16#include "mlir/IR/Dialect.h"
17
18namespace mlir {
19namespace spirv {
20
21enum class Decoration : uint32_t;
22
23} // namespace spirv
24} // namespace mlir
25
26#include "mlir/Dialect/SPIRV/IR/SPIRVOpsDialect.h.inc"
27
28#endif // MLIR_DIALECT_SPIRV_IR_SPIRVDIALECT_H_
29

source code of mlir/include/mlir/Dialect/SPIRV/IR/SPIRVDialect.h