My Project
Passes.h
Go to the documentation of this file.
1 //===- Passes.h - SPIR-V pass entry points ----------------------*- C++ -*-===//
2 //
3 // Part of the MLIR 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 header file defines prototypes that expose pass constructors.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef MLIR_DIALECT_SPIRV_PASSES_H_
14 #define MLIR_DIALECT_SPIRV_PASSES_H_
15 
16 #include "mlir/Pass/Pass.h"
17 
18 namespace mlir {
19 namespace spirv {
20 
21 class ModuleOp;
26 std::unique_ptr<OpPassBase<mlir::ModuleOp>>
28 
35 std::unique_ptr<OpPassBase<spirv::ModuleOp>> createLowerABIAttributesPass();
36 
37 } // namespace spirv
38 } // namespace mlir
39 
40 #endif // MLIR_DIALECT_SPIRV_PASSES_H_
Definition: InferTypeOpInterface.cpp:20
std::unique_ptr< OpPassBase< mlir::ModuleOp > > createDecorateSPIRVCompositeTypeLayoutPass()
Definition: DecorateSPIRVCompositeTypeLayoutPass.cpp:117
std::unique_ptr< OpPassBase< spirv::ModuleOp > > createLowerABIAttributesPass()
Definition: LowerABIAttributesPass.cpp:250