LLVM: lib/ExecutionEngine/JITLink/systemz.cpp Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
14
15#define DEBUG_TYPE "jitlink"
16
17namespace llvm {
18namespace jitlink {
19namespace systemz {
20
22 0x00, 0x00, 0x00, 0x00};
23
25 static_cast<char>(0xC4u),
26 0x18,
27 0x00,
28 0x00,
29 0x00,
30 0x00,
31 static_cast<char>(0x07u),
32 static_cast<char>(0xF1u),
33};
34
36 switch (R) {
38 return "Pointer64";
40 return "Pointer32";
42 return "Pointer20";
44 return "Pointer16";
46 return "Pointer12";
48 return "Pointer8";
50 return "Delta64";
52 return "Delta32";
54 return "Delta16";
56 return "Delta32dbl";
58 return "Delta24dbl";
60 return "Delta16dbl";
62 return "Delta12dbl";
64 return "NegDelta64";
66 return "NegDelta32";
68 return "DeltaPLT32dbl";
70 return "DeltaPLT24dbl";
72 return "DeltaPLT16dbl";
74 return "DeltaPLT12dbl";
76 return "DeltaPLT64";
78 return "DeltaPLT32";
80 return "Delta64FromGOT";
82 return "Delta32FromGOT";
84 return "Delta16FromGOT";
86 return "Delta64PLTFromGOT";
88 return "Delta32PLTFromGOT";
90 return "Delta16PLTFromGOT";
92 return "Delta32GOTBase";
94 return "Delta32dblGOTBase";
96 return "RequestGOTAndTransformToDelta64FromGOT";
98 return "RequestGOTAndTransformToDelta32FromGOT";
100 return "RequestGOTAndTransformToDelta20FromGOT";
102 return "RequestGOTAndTransformToDelta16FromGOT";
104 return "RequestGOTAndTransformToDelta12FromGOT";
106 return "RequestGOTAndTransformToDelta32dbl";
107 default:
109 }
110}
111
112}
113}
114}
const char NullPointerContent[8]
SystemZ null pointer content.
Definition systemz.cpp:21
@ DeltaPLT32
A 32-bit Delta.
@ Delta64PLTFromGOT
A 64-bit offset from GOT to PLT.
@ Pointer16
A plain 16-bit pointer value relocation.
@ RequestGOTAndTransformToDelta32FromGOT
A GOT entry getter/constructor, transformed to Delta32FromGOT pointing at the GOT entry for the origi...
@ RequestGOTAndTransformToDelta32dbl
A GOT entry getter/constructor, transformed to Delta32dbl pointing at the GOT entry for the original ...
@ Pointer64
A plain 64-bit pointer value relocation.
@ Pointer20
A plain 20-bit pointer value relocation.
@ RequestGOTAndTransformToDelta16FromGOT
A GOT entry getter/constructor, transformed to Delta16FromGOT pointing at the GOT entry for the origi...
@ RequestGOTAndTransformToDelta12FromGOT
A GOT entry getter/constructor, transformed to Delta12FromGOT pointing at the GOT entry for the origi...
@ RequestGOTAndTransformToDelta64FromGOT
A GOT entry getter/constructor, transformed to Delta64FromGOT pointing at the GOT entry for the origi...
@ DeltaPLT16dbl
A 16-bit Delta shifted by 1.
@ Delta16FromGOT
A 16-bit offset from GOT.
@ Pointer8
A plain 8-bit pointer value relocation.
@ Delta16PLTFromGOT
A 16-bit offset from GOT to PLT.
@ NegDelta64
A 64-bit negative delta.
@ Delta32PLTFromGOT
A 32-bit offset from GOT to PLT.
@ Delta32dblGOTBase
A 32-bit Delta to GOT base shifted by 1.
@ Delta32FromGOT
A 32-bit offset from GOT.
@ Delta32GOTBase
A 32-bit Delta to GOT base.
@ DeltaPLT12dbl
A 12-bit Delta shifted by 1.
@ RequestGOTAndTransformToDelta20FromGOT
A GOT entry getter/constructor, transformed to Delta20FromGOT pointing at the GOT entry for the origi...
@ Delta16dbl
A 16-bit delta shifted by 1.
@ DeltaPLT32dbl
A 32-bit Delta shifted by 1.
@ NegDelta32
A 32-bit negative delta.
@ Delta24dbl
A 24-bit delta shifted by 1.
@ DeltaPLT64
A 64-bit Delta.
@ DeltaPLT24dbl
A 24-bit Delta shifted by 1.
@ Pointer12
A plain 12-bit pointer value relocation.
@ Delta12dbl
A 12-bit delta shifted by 1.
@ Pointer32
A plain 32-bit pointer value relocation.
@ Delta32dbl
A 32-bit delta shifted by 1.
@ Delta64FromGOT
A 64-bit offset from GOT.
const char * getEdgeKindName(Edge::Kind K)
Returns a string name for the given systemz edge.
Definition systemz.cpp:35
const char Pointer64JumpStubContent[StubEntrySize]
Definition systemz.cpp:24
LLVM_ABI const char * getGenericEdgeKindName(Edge::Kind K)
Returns the string name of the given generic edge kind, or "unknown" otherwise.
This is an optimization pass for GlobalISel generic memory operations.