My Project
ConvertVectorToLLVM.h
Go to the documentation of this file.
1 //===- ConvertVectorToLLVM.h - Utils to convert from the vector 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_VECTORTOLLVM_CONVERTVECTORTOLLVM_H_
9 #define MLIR_CONVERSION_VECTORTOLLVM_CONVERTVECTORTOLLVM_H_
10 
12 
13 namespace mlir {
14 class LLVMTypeConverter;
15 class ModuleOp;
16 template <typename T> class OpPassBase;
17 
19 void populateVectorToLLVMConversionPatterns(LLVMTypeConverter &converter,
20  OwningRewritePatternList &patterns);
21 
23 OpPassBase<ModuleOp> *createLowerVectorToLLVMPass();
24 
25 } // namespace mlir
26 
27 #endif // MLIR_CONVERSION_VECTORTOLLVM_CONVERTVECTORTOLLVM_H_
Definition: InferTypeOpInterface.cpp:20
void populateVectorToLLVMConversionPatterns(LLVMTypeConverter &converter, OwningRewritePatternList &patterns)
Collect a set of patterns to convert from the Vector dialect to LLVM.
Definition: ConvertVectorToLLVM.cpp:952
OpPassBase< ModuleOp > * createLowerVectorToLLVMPass()
Create a pass to convert vector operations to the LLVMIR dialect.
Definition: ConvertVectorToLLVM.cpp:988