1//===- X86VectorToLLVMIRTranslation.h - X86Vector to LLVM IR ----*- 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 provides registration calls for X86Vector dialect to LLVM IR
10// translation.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef MLIR_TARGET_LLVMIR_DIALECT_X86VECTOR_X86VECTORTOLLVMIRTRANSLATION_H
15#define MLIR_TARGET_LLVMIR_DIALECT_X86VECTOR_X86VECTORTOLLVMIRTRANSLATION_H
16
17namespace mlir {
18
19class DialectRegistry;
20class MLIRContext;
21
22/// Register the X86Vector dialect and the translation from it to the LLVM IR
23/// in the given registry;
24void registerX86VectorDialectTranslation(DialectRegistry &registry);
25
26/// Register the X86Vector dialect and the translation from it in the registry
27/// associated with the given context.
28void registerX86VectorDialectTranslation(MLIRContext &context);
29
30} // namespace mlir
31
32#endif // MLIR_TARGET_LLVMIR_DIALECT_X86VECTOR_X86VECTORTOLLVMIRTRANSLATION_H
33

source code of mlir/include/mlir/Target/LLVMIR/Dialect/X86Vector/X86VectorToLLVMIRTranslation.h