Files
gps/tools/local/circt/include/mlir/Conversion/ConvertToLLVM/ToLLVMPass.h
T
2026-07-12 11:01:51 +03:00

28 lines
927 B
C++

//===- ToLLVMPass.h - Conversion to LLVM pass ---*- C++ -*-===================//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#ifndef MLIR_CONVERSION_CONVERTTOLLVM_TOLLVM_PASS_H
#define MLIR_CONVERSION_CONVERTTOLLVM_TOLLVM_PASS_H
#include <memory>
#include "mlir/Pass/Pass.h"
namespace mlir {
#define GEN_PASS_DECL_CONVERTTOLLVMPASS
#include "mlir/Conversion/Passes.h.inc"
/// Register the extension that will load dependent dialects for LLVM
/// conversion. This is useful to implement a pass similar to "convert-to-llvm".
void registerConvertToLLVMDependentDialectLoading(DialectRegistry &registry);
} // namespace mlir
#endif // MLIR_CONVERSION_CONVERTTOLLVM_TOLLVM_PASS_H