MLIR 22.0.0git
InitAllTranslations.h
Go to the documentation of this file.
1//===- InitAllTranslations.h - MLIR Translations Registration ---*- 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// This file defines a helper to trigger the registration of all translations
10// in and out of MLIR to the system.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef MLIR_INITALLTRANSLATIONS_H
15#define MLIR_INITALLTRANSLATIONS_H
16
18
19namespace mlir {
20
27
28namespace smt {
30}
31
32// This function should be called before creating any MLIRContext if one
33// expects all the possible translations to be made available to the context
34// automatically.
49} // namespace mlir
50
51#endif // MLIR_INITALLTRANSLATIONS_H
void registerExportSMTLIBTranslation()
Register the ExportSMTLIB pass.
Include the generated interface declarations.
void registerToLLVMIRTranslation()
void registerFromWasmTranslation()
void registerIRDLToCppTranslation()
void registerFromSPIRVTranslation()
void registerToCppTranslation()
void registerFromLLVMIRTranslation()
void registerAllTranslations()
void registerToSPIRVTranslation()