Lines Matching full:kind

44 // Return the relocation type for an absolute value of MCFixupKind Kind.
45 static unsigned getAbsoluteReloc(MCContext &Ctx, SMLoc Loc, unsigned Kind) { in getAbsoluteReloc() argument
46 switch (Kind) { in getAbsoluteReloc()
70 // Return the relocation type for a PC-relative value of MCFixupKind Kind.
71 static unsigned getPCRelReloc(MCContext &Ctx, SMLoc Loc, unsigned Kind) { in getPCRelReloc() argument
72 switch (Kind) { in getPCRelReloc()
96 // Return the R_390_TLS_LE* relocation type for MCFixupKind Kind.
97 static unsigned getTLSLEReloc(MCContext &Ctx, SMLoc Loc, unsigned Kind) { in getTLSLEReloc() argument
98 switch (Kind) { in getTLSLEReloc()
106 // Return the R_390_TLS_LDO* relocation type for MCFixupKind Kind.
107 static unsigned getTLSLDOReloc(MCContext &Ctx, SMLoc Loc, unsigned Kind) { in getTLSLDOReloc() argument
108 switch (Kind) { in getTLSLDOReloc()
116 // Return the R_390_TLS_LDM* relocation type for MCFixupKind Kind.
117 static unsigned getTLSLDMReloc(MCContext &Ctx, SMLoc Loc, unsigned Kind) { in getTLSLDMReloc() argument
118 switch (Kind) { in getTLSLDMReloc()
127 // Return the R_390_TLS_GD* relocation type for MCFixupKind Kind.
128 static unsigned getTLSGDReloc(MCContext &Ctx, SMLoc Loc, unsigned Kind) { in getTLSGDReloc() argument
129 switch (Kind) { in getTLSGDReloc()
138 // Return the PLT relocation counterpart of MCFixupKind Kind.
139 static unsigned getPLTReloc(MCContext &Ctx, SMLoc Loc, unsigned Kind) { in getPLTReloc() argument
140 switch (Kind) { in getPLTReloc()
155 unsigned Kind = Fixup.getKind(); in getRelocType() local
156 if (Kind >= FirstLiteralRelocationKind) in getRelocType()
157 return Kind - FirstLiteralRelocationKind; in getRelocType()
162 return getPCRelReloc(Ctx, Loc, Kind); in getRelocType()
163 return getAbsoluteReloc(Ctx, Loc, Kind); in getRelocType()
167 return getTLSLEReloc(Ctx, Loc, Kind); in getRelocType()
170 if (IsPCRel && Kind == SystemZ::FK_390_PC32DBL) in getRelocType()
177 return getTLSLDOReloc(Ctx, Loc, Kind); in getRelocType()
181 return getTLSLDMReloc(Ctx, Loc, Kind); in getRelocType()
185 return getTLSGDReloc(Ctx, Loc, Kind); in getRelocType()
188 if (IsPCRel && Kind == SystemZ::FK_390_PC32DBL) in getRelocType()
195 return getPLTReloc(Ctx, Loc, Kind); in getRelocType()