MLIR  19.0.0git
X86VectorToLLVMIRTranslation.h
Go to the documentation of this file.
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 
17 namespace mlir {
18 
19 class DialectRegistry;
20 class MLIRContext;
21 
22 /// Register the X86Vector dialect and the translation from it to the LLVM IR
23 /// in the given registry;
24 void registerX86VectorDialectTranslation(DialectRegistry &registry);
25 
26 /// Register the X86Vector dialect and the translation from it in the registry
27 /// associated with the given context.
28 void registerX86VectorDialectTranslation(MLIRContext &context);
29 
30 } // namespace mlir
31 
32 #endif // MLIR_TARGET_LLVMIR_DIALECT_X86VECTOR_X86VECTORTOLLVMIRTRANSLATION_H
Include the generated interface declarations.
void registerX86VectorDialectTranslation(DialectRegistry &registry)
Register the X86Vector dialect and the translation from it to the LLVM IR in the given registry;.