My Project
LinalgToLLVM.h
Go to the documentation of this file.
1 //===- LinalgToLLVM.h - Utils to convert from the linalg dialect ----------===//
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 #ifndef MLIR_CONVERSION_LINALGTOLLVM_LINALGTOLLVM_H_
9 #define MLIR_CONVERSION_LINALGTOLLVM_LINALGTOLLVM_H_
10 
13 
14 namespace mlir {
15 class MLIRContext;
16 
18 public:
20  Type convertType(Type t) override;
21 };
22 
25  OwningRewritePatternList &patterns,
26  MLIRContext *ctx);
27 
28 } // namespace mlir
29 
30 #endif // MLIR_CONVERSION_LINALGTOLLVM_LINALGTOLLVM_H_
Definition: InferTypeOpInterface.cpp:20
Type convertType(Type t) override
Definition: LinalgToLLVM.cpp:424
LLVMTypeConverter(MLIRContext *ctx)
Definition: ConvertStandardToLLVM.cpp:47
Definition: Types.h:84
Definition: LinalgToLLVM.h:17
Definition: PatternMatch.h:418
Conversion from types in the Standard dialect to the LLVM IR dialect.
Definition: ConvertStandardToLLVM.h:37
Definition: MLIRContext.h:34
void populateLinalgToLLVMConversionPatterns(LinalgTypeConverter &converter, OwningRewritePatternList &patterns, MLIRContext *ctx)
Populate the given list with patterns that convert from Linalg to LLVM.
Definition: LinalgToLLVM.cpp:556