Go to the documentation of this file.
15 #define DEBUG_TYPE "jitlink"
28 return "R_RISCV_BRANCH";
32 return "R_RISCV_HI20";
34 return "R_RISCV_LO12_I";
36 return "R_RISCV_PCREL_HI20";
38 return "R_RISCV_PCREL_LO12_I";
40 return "R_RISCV_PCREL_LO12_S";
42 return "R_RISCV_CALL";
44 return "R_RISCV_32_PCREL";
46 return "R_RISCV_ADD64";
48 return "R_RISCV_ADD32";
50 return "R_RISCV_ADD16";
52 return "R_RISCV_ADD8";
54 return "R_RISCV_SUB64";
56 return "R_RISCV_SUB32";
58 return "R_RISCV_SUB16";
60 return "R_RISCV_SUB8";
62 return "R_RISCV_SUB6";
64 return "R_RISCV_SET6";
66 return "R_RISCV_SET8";
68 return "R_RISCV_SET16";
70 return "R_RISCV_SET32";
This is an optimization pass for GlobalISel generic memory operations.
@ R_RISCV_CALL
PC relative call.
@ R_RISCV_SET6
Local label assignment.
@ R_RISCV_PCREL_LO12_S
Low 12 bits of PC relative relocation, used by S type instruction format.
@ R_RISCV_ADD8
8 bits label addition
@ R_RISCV_64
A plain 64-bit pointer value relocation.
@ R_RISCV_SUB64
64 bits label subtraction
@ R_RISCV_SET32
Local label assignment.
@ R_RISCV_HI20
High 20 bits of 32-bit pointer value relocation.
@ R_RISCV_32
A plain 32-bit pointer value relocation.
@ R_RISCV_LO12_I
Low 12 bits of 32-bit pointer value relocation.
const char * getGenericEdgeKindName(Edge::Kind K)
Returns the string name of the given generic edge kind, or "unknown" otherwise.
@ R_RISCV_PCREL_LO12_I
Low 12 bits of PC relative relocation, used by I type instruction format.
@ R_RISCV_SET8
Local label assignment.
@ R_RISCV_PCREL_HI20
High 20 bits of PC relative relocation.
@ R_RISCV_ADD16
16 bits label addition
@ R_RISCV_ADD32
32 bits label addition
@ R_RISCV_SUB6
6 bits label subtraction
@ R_RISCV_SUB8
8 bits label subtraction
const char * getEdgeKindName(Edge::Kind K)
Returns a string name for the given riscv edge.
@ R_RISCV_JAL
High 20 bits of PC-relative jump pointer value relocation.
@ R_RISCV_ADD64
64 bits label addition
@ R_RISCV_32_PCREL
32 bits PC relative relocation
@ R_RISCV_BRANCH
PC-relative branch pointer value relocation.
@ R_RISCV_SET16
Local label assignment.
@ R_RISCV_SUB32
32 bits label subtraction
@ R_RISCV_SUB16
16 bits label subtraction