My Project
ConvertVectorToLoops.h
Go to the documentation of this file.
1 //===- ConvertVectorToLoops.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_CONVERTVECTORTOLOOPS_H_
9 #define MLIR_CONVERSION_VECTORTOLLVM_CONVERTVECTORTOLOOPS_H_
10 
12 
13 namespace mlir {
14 class MLIRContext;
15 class ModuleOp;
16 template <typename T> class OpPassBase;
17 
20  MLIRContext *context, OwningRewritePatternList &patterns);
21 
23 OpPassBase<ModuleOp> *createLowerVectorToLoopsPass();
24 
25 } // namespace mlir
26 
27 #endif // MLIR_CONVERSION_VECTORTOLLVM_CONVERTVECTORTOLOOPS_H_
Definition: InferTypeOpInterface.cpp:20
OpPassBase< ModuleOp > * createLowerVectorToLoopsPass()
Create a pass to convert vector operations to affine loops + std dialect.
void populateVectorToAffineLoopsConversionPatterns(MLIRContext *context, OwningRewritePatternList &patterns)
Collect a set of patterns to convert from the Vector dialect to loops + std.
Definition: ConvertVectorToLoops.cpp:354