LLVM
15.0.0git
include
llvm
ExecutionEngine
JITLink
aarch64.h
Go to the documentation of this file.
1
//=== aarch64.h - Generic JITLink aarch64 edge kinds, utilities -*- 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
// Generic utilities for graphs representing aarch64 objects.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef LLVM_EXECUTIONENGINE_JITLINK_AARCH64_H
14
#define LLVM_EXECUTIONENGINE_JITLINK_AARCH64_H
15
16
#include "
llvm/ExecutionEngine/JITLink/JITLink.h
"
17
18
namespace
llvm
{
19
namespace
jitlink {
20
namespace
aarch64 {
21
22
/// Represets aarch64 fixups
23
enum
EdgeKind_aarch64
:
Edge::Kind
{
24
25
/// Set a CALL immediate field to bits [27:2] of X = Target - Fixup + Addend
26
R_AARCH64_CALL26
=
Edge::FirstRelocation
,
27
28
};
29
30
/// Returns a string name for the given aarch64 edge. For debugging purposes
31
/// only
32
const
char
*
getEdgeKindName
(
Edge::Kind
K);
33
34
}
// namespace aarch64
35
}
// namespace jitlink
36
}
// namespace llvm
37
38
#endif // LLVM_EXECUTIONENGINE_JITLINK_AARCH64_H
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:17
JITLink.h
llvm::jitlink::aarch64::getEdgeKindName
const char * getEdgeKindName(Edge::Kind K)
Returns a string name for the given aarch64 edge.
Definition:
aarch64.cpp:21
llvm::jitlink::Edge::FirstRelocation
@ FirstRelocation
Definition:
JITLink.h:67
llvm::jitlink::aarch64::EdgeKind_aarch64
EdgeKind_aarch64
Represets aarch64 fixups.
Definition:
aarch64.h:23
llvm::jitlink::aarch64::R_AARCH64_CALL26
@ R_AARCH64_CALL26
Set a CALL immediate field to bits [27:2] of X = Target - Fixup + Addend.
Definition:
aarch64.h:26
llvm::jitlink::Edge::Kind
uint8_t Kind
Definition:
JITLink.h:61
Generated on Tue May 17 2022 21:25:36 for LLVM by
1.8.17