MLIR  20.0.0git
ArmSMEToSCF.h
Go to the documentation of this file.
1 //===- ArmSMEToSCF.h - Convert ArmSME to SCF 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 #ifndef MLIR_CONVERSION_ARMSMETOSCF_ARMSMETOSCF_H_
10 #define MLIR_CONVERSION_ARMSMETOSCF_ARMSMETOSCF_H_
11 
12 #include <memory>
13 
14 namespace mlir {
15 class Pass;
16 class RewritePatternSet;
17 
18 #define GEN_PASS_DECL_CONVERTARMSMETOSCF
19 #include "mlir/Conversion/Passes.h.inc"
20 
21 /// Collect a set of patterns to convert from the ArmSME dialect to SCF.
22 void populateArmSMEToSCFConversionPatterns(RewritePatternSet &patterns);
23 
24 /// Create a pass to convert a subset of ArmSME ops to SCF.
25 std::unique_ptr<Pass> createConvertArmSMEToSCFPass();
26 
27 } // namespace mlir
28 
29 #endif // MLIR_CONVERSION_ARMSMETOSCF_ARMSMETOSCF_H_
Include the generated interface declarations.
std::unique_ptr< Pass > createConvertArmSMEToSCFPass()
Create a pass to convert a subset of ArmSME ops to SCF.
void populateArmSMEToSCFConversionPatterns(RewritePatternSet &patterns)
Collect a set of patterns to convert from the ArmSME dialect to SCF.