Home | History | Annotate | Download | only in MCTargetDesc

Lines Matching refs:Kind

39 // Return the relocation type for an absolute value of MCFixupKind Kind.
40 static unsigned getAbsoluteReloc(unsigned Kind) {
41 switch (Kind) {
50 // Return the relocation type for a PC-relative value of MCFixupKind Kind.
51 static unsigned getPCRelReloc(unsigned Kind) {
52 switch (Kind) {
62 // Return the R_390_TLS_LE* relocation type for MCFixupKind Kind.
63 static unsigned getTLSLEReloc(unsigned Kind) {
64 switch (Kind) {
71 // Return the R_390_TLS_LDO* relocation type for MCFixupKind Kind.
72 static unsigned getTLSLDOReloc(unsigned Kind) {
73 switch (Kind) {
80 // Return the R_390_TLS_LDM* relocation type for MCFixupKind Kind.
81 static unsigned getTLSLDMReloc(unsigned Kind) {
82 switch (Kind) {
90 // Return the R_390_TLS_GD* relocation type for MCFixupKind Kind.
91 static unsigned getTLSGDReloc(unsigned Kind) {
92 switch (Kind) {
100 // Return the PLT relocation counterpart of MCFixupKind Kind.
101 static unsigned getPLTReloc(unsigned Kind) {
102 switch (Kind) {
113 unsigned Kind = Fixup.getKind();
117 return getPCRelReloc(Kind);
118 return getAbsoluteReloc(Kind);
122 return getTLSLEReloc(Kind);
125 if (IsPCRel && Kind == SystemZ::FK_390_PC32DBL)
131 return getTLSLDOReloc(Kind);
135 return getTLSLDMReloc(Kind);
139 return getTLSGDReloc(Kind);
142 if (IsPCRel && Kind == SystemZ::FK_390_PC32DBL)
148 return getPLTReloc(Kind);