• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //=- ConvertVectorToSPIRVPass.h - Pass converting Vector to SPIRV -*- 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 // Provides a pass to convert Vector ops to SPIR-V ops.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef MLIR_CONVERSION_VECTORTOSPIRV_CONVERTGPUTOSPIRVPASS_H
14 #define MLIR_CONVERSION_VECTORTOSPIRV_CONVERTGPUTOSPIRVPASS_H
15 
16 #include "mlir/Pass/Pass.h"
17 
18 namespace mlir {
19 
20 /// Pass to convert Vector Ops to SPIR-V ops.
21 std::unique_ptr<OperationPass<ModuleOp>> createConvertVectorToSPIRVPass();
22 
23 } // namespace mlir
24 
25 #endif // MLIR_CONVERSION_VECTORTOSPIRV_CONVERTGPUTOSPIRVPASS_H
26