My Project
Passes.h
Go to the documentation of this file.
1 //===- Passes.h - Pass Entrypoints ------------------------------*- 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 in the
10 // analysis library.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef MLIR_ANALYSIS_PASSES_H
15 #define MLIR_ANALYSIS_PASSES_H
16 
17 #include "mlir/Support/LLVM.h"
18 #include <memory>
19 
20 namespace mlir {
21 
22 class FuncOp;
23 template <typename T> class OpPassBase;
24 
26 std::unique_ptr<OpPassBase<FuncOp>> createMemRefBoundCheckPass();
27 
29 std::unique_ptr<OpPassBase<FuncOp>> createTestMemRefDependenceCheckPass();
30 
32 std::unique_ptr<OpPassBase<FuncOp>> createParallelismDetectionTestPass();
33 
34 } // end namespace mlir
35 
36 #endif // MLIR_ANALYSIS_PASSES_H
Definition: InferTypeOpInterface.cpp:20
std::unique_ptr< OpPassBase< FuncOp > > createTestMemRefDependenceCheckPass()
Creates a pass to check memref access dependences in a Function.
Definition: TestMemRefDependenceCheck.cpp:40
Definition: Passes.h:23
std::unique_ptr< OpPassBase< FuncOp > > createMemRefBoundCheckPass()
Creates a pass to check memref accesses in a Function.
Definition: MemRefBoundCheck.cpp:38
std::unique_ptr< OpPassBase< FuncOp > > createParallelismDetectionTestPass()
Creates a pass to test parallelism detection; emits note for parallel loops.
Definition: TestParallelismDetection.cpp:30