MLIR 22.0.0git
ToLLVMPass.h
Go to the documentation of this file.
1//===- ToLLVMPass.h - Conversion to LLVM pass ---*- 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_CONVERTTOLLVM_TOLLVM_PASS_H
10#define MLIR_CONVERSION_CONVERTTOLLVM_TOLLVM_PASS_H
11
12#include <memory>
13
14#include "mlir/Pass/Pass.h"
15
16namespace mlir {
17
18#define GEN_PASS_DECL_CONVERTTOLLVMPASS
19#include "mlir/Conversion/Passes.h.inc"
20
21/// Register the extension that will load dependent dialects for LLVM
22/// conversion. This is useful to implement a pass similar to "convert-to-llvm".
23void registerConvertToLLVMDependentDialectLoading(DialectRegistry &registry);
24
25} // namespace mlir
26
27#endif // MLIR_CONVERSION_CONVERTTOLLVM_TOLLVM_PASS_H
Include the generated interface declarations.
void registerConvertToLLVMDependentDialectLoading(DialectRegistry &registry)
Register the extension that will load dependent dialects for LLVM conversion.