MLIR-AIE
1.4.5.dev
include
aie
Target
LLVMIR
Dialect
XLLVM
XLLVMToLLVMIRTranslation.h
Go to the documentation of this file.
1
//===- XLLVMToLLVMIRTranslation.h - XLLVM to LLVM IR translate -*- C++ -*-===//
2
//
3
// Copyright (C) 2024 Advanced Micro Devices, Inc.
4
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
5
//
6
//===----------------------------------------------------------------------===//
7
//
8
// This provides registration calls for XLLVM intrinsics to LLVM IR
9
// translation.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef AIE_TARGET_LLVMIR_DIALECT_XLLVM_H
14
#define AIE_TARGET_LLVMIR_DIALECT_XLLVM_H
15
16
namespace
mlir
{
17
class
DialectRegistry;
18
class
MLIRContext;
19
}
// namespace mlir
20
21
namespace
xilinx::xllvm
{
22
23
/// Register the AIEVec dialect and the translation from it to the LLVM dialect
24
/// in the given registry.
25
void
registerXLLVMDialectTranslation
(mlir::DialectRegistry ®istry);
26
27
/// Register the AIEVec dialect and the translation from it to the LLVM dialect
28
/// in the registry associated with the given context.
29
void
registerXLLVMDialectTranslation
(mlir::MLIRContext &context);
30
31
}
// namespace xilinx::xllvm
32
33
#endif
// AIE_TARGET_LLVMIR_DIALECT_AIEVEC_H
mlir
Definition
AIEVecToLLVM.h:16
xilinx::xllvm
Definition
XLLVMDialect.h:62
xilinx::xllvm::registerXLLVMDialectTranslation
void registerXLLVMDialectTranslation(mlir::DialectRegistry ®istry)
Register the AIEVec dialect and the translation from it to the LLVM dialect in the given registry.
Generated by
1.15.0