MLIR 22.0.0git
ConvertVectorToLLVM.h
Go to the documentation of this file.
1//===- ConvertVectorToLLVM.h - Utils to convert from the vector dialect ---===//
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#ifndef MLIR_CONVERSION_VECTORTOLLVM_CONVERTVECTORTOLLVM_H_
9#define MLIR_CONVERSION_VECTORTOLLVM_CONVERTVECTORTOLLVM_H_
10
12
13namespace mlir {
15
16/// Collect a set of patterns to convert from the Vector dialect to LLVM.
19 bool reassociateFPReductions = false, bool force32BitVectorIndices = false,
20 bool useVectorAlignment = false);
21
25} // namespace mlir
26
27#endif // MLIR_CONVERSION_VECTORTOLLVM_CONVERTVECTORTOLLVM_H_
The DialectRegistry maps a dialect namespace to a constructor for the matching dialect.
Conversion from types to the LLVM IR dialect.
void registerConvertVectorToLLVMInterface(DialectRegistry &registry)
Include the generated interface declarations.
const FrozenRewritePatternSet & patterns
void populateVectorToLLVMConversionPatterns(const LLVMTypeConverter &converter, RewritePatternSet &patterns, bool reassociateFPReductions=false, bool force32BitVectorIndices=false, bool useVectorAlignment=false)
Collect a set of patterns to convert from the Vector dialect to LLVM.