MLIR  20.0.0git
Passes.h
Go to the documentation of this file.
1 //===- Passes.h - Pass Entrypoints ------------------------------*- 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 #ifndef MLIR_DIALECT_ARMSVE_TRANSFORMS_PASSES_H
10 #define MLIR_DIALECT_ARMSVE_TRANSFORMS_PASSES_H
11 
13 #include "mlir/Pass/Pass.h"
14 
15 namespace mlir::arm_sve {
16 
17 #define GEN_PASS_DECL
18 #include "mlir/Dialect/ArmSVE/Transforms/Passes.h.inc"
19 
20 /// Pass to legalize Arm SVE vector storage.
21 std::unique_ptr<Pass> createLegalizeVectorStoragePass();
22 
23 /// Collect a set of patterns to legalize Arm SVE vector storage.
24 void populateLegalizeVectorStoragePatterns(RewritePatternSet &patterns);
25 
26 //===----------------------------------------------------------------------===//
27 // Registration
28 //===----------------------------------------------------------------------===//
29 
30 /// Generate the code for registering passes.
31 #define GEN_PASS_REGISTRATION
32 #include "mlir/Dialect/ArmSVE/Transforms/Passes.h.inc"
33 
34 } // namespace mlir::arm_sve
35 
36 #endif // MLIR_DIALECT_ARMSVE_TRANSFORMS_PASSES_H
void populateLegalizeVectorStoragePatterns(RewritePatternSet &patterns)
Collect a set of patterns to legalize Arm SVE vector storage.
std::unique_ptr< Pass > createLegalizeVectorStoragePass()
Pass to legalize Arm SVE vector storage.