MLIR  20.0.0git
ArmSMEToLLVM.h
Go to the documentation of this file.
1 //===- ArmSMEToLLVM.h - Convert ArmSME to LLVM 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_ARMSMETOLLVM_ARMSMETOLLVM_H_
10 #define MLIR_CONVERSION_ARMSMETOLLVM_ARMSMETOLLVM_H_
11 
12 #include <memory>
13 
16 
17 namespace mlir {
18 class Pass;
19 class RewritePatternSet;
20 
21 #define GEN_PASS_DECL_CONVERTARMSMETOLLVM
22 #include "mlir/Conversion/Passes.h.inc"
23 
24 /// Create a pass to convert from the ArmSME dialect to LLVM intrinsics.
25 std::unique_ptr<Pass>
26 createConvertArmSMEToLLVMPass(bool dumpTileLiveRanges = false);
27 
28 /// Configure target to convert from the ArmSME dialect to LLVM intrinsics.
29 void configureArmSMEToLLVMConversionLegality(ConversionTarget &target);
30 
31 /// Populate the given list with patterns that convert from the ArmSME dialect
32 /// to LLVM intrinsics.
33 void populateArmSMEToLLVMConversionPatterns(LLVMTypeConverter &converter,
34  RewritePatternSet &patterns);
35 
36 } // namespace mlir
37 
38 #endif // MLIR_CONVERSION_ARMSMETOLLVM_ARMSMETOLLVM_H_
Include the generated interface declarations.
std::unique_ptr< Pass > createConvertArmSMEToLLVMPass(bool dumpTileLiveRanges=false)
Create a pass to convert from the ArmSME dialect to LLVM intrinsics.
void configureArmSMEToLLVMConversionLegality(ConversionTarget &target)
Configure target to convert from the ArmSME dialect to LLVM intrinsics.
void populateArmSMEToLLVMConversionPatterns(LLVMTypeConverter &converter, RewritePatternSet &patterns)
Populate the given list with patterns that convert from the ArmSME dialect to LLVM intrinsics.