LLVM 24.0.0git
ELF_mips.h
Go to the documentation of this file.
1//===-- ELF_mips.h - JIT link functions for ELF/MIPS ---------*- 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#ifndef LLVM_EXECUTIONENGINE_JITLINK_ELF_MIPS_H
10#define LLVM_EXECUTIONENGINE_JITLINK_ELF_MIPS_H
11
13
14namespace llvm {
15namespace jitlink {
16
17/// Create a LinkGraph from an O32, N32, or N64 ELF/MIPS relocatable object.
18/// Both ELF byte orders are supported.
19LLVM_ABI Expected<std::unique_ptr<LinkGraph>>
20createLinkGraphFromELFObject_mips(MemoryBufferRef ObjectBuffer,
21 std::shared_ptr<orc::SymbolStringPool> SSP);
22
23/// JIT-link an ELF/MIPS graph.
24LLVM_ABI void link_ELF_mips(std::unique_ptr<LinkGraph> G,
25 std::unique_ptr<JITLinkContext> Ctx);
26
27} // namespace jitlink
28} // namespace llvm
29
30#endif // LLVM_EXECUTIONENGINE_JITLINK_ELF_MIPS_H
#define LLVM_ABI
Definition Compiler.h:215
#define G(x, y, z)
Definition MD5.cpp:55
This is an optimization pass for GlobalISel generic memory operations.