15#define DEBUG_TYPE "jitlink"
22 0x00, 0x00, 0x00, 0x00};
25 0x14, 0x00, 0x00, 0x1a,
26 0x94, 0x02, 0xc0, 0x28,
27 0x80, 0x02, 0x00, 0x4c
31 0x14, 0x00, 0x00, 0x1a,
32 0x94, 0x02, 0x80, 0x28,
33 0x80, 0x02, 0x00, 0x4c
37#define KIND_NAME_CASE(K) \
#define KIND_NAME_CASE(K)
const char * getEdgeKindName(Edge::Kind K)
Returns a string name for the given loongarch edge.
@ RequestGOTAndTransformToPage20
A GOT entry getter/constructor, transformed to Page20 pointing at the GOT entry for the original targ...
@ NegDelta32
A 32-bit negative delta.
@ PageOffset12
The 12-bit offset of the target within its page.
@ Page20
The signed 20-bit delta from the fixup page to the page containing the target.
@ Pointer64
A plain 64-bit pointer value relocation.
@ RequestGOTAndTransformToPageOffset12
A GOT entry getter/constructor, transformed to Pageoffset12 pointing at the GOT entry for the origina...
@ Branch26PCRel
A 26-bit PC-relative branch.
@ Pointer32
A plain 32-bit pointer value relocation.
const uint8_t LA32StubContent[StubEntrySize]
const uint8_t LA64StubContent[StubEntrySize]
const char NullPointerContent[8]
loongarch null pointer content.
constexpr size_t StubEntrySize
loongarch stub content.
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.