Lines Matching full:mips
1 //===-- MipsAsmBackend.cpp - Mips Asm Backend ----------------------------===//
49 case Mips::fixup_Mips_LO16: in adjustFixupValue()
50 case Mips::fixup_Mips_GPREL16: in adjustFixupValue()
51 case Mips::fixup_Mips_GPOFF_HI: in adjustFixupValue()
52 case Mips::fixup_Mips_GPOFF_LO: in adjustFixupValue()
53 case Mips::fixup_Mips_GOT_PAGE: in adjustFixupValue()
54 case Mips::fixup_Mips_GOT_OFST: in adjustFixupValue()
55 case Mips::fixup_Mips_GOT_DISP: in adjustFixupValue()
56 case Mips::fixup_Mips_GOT_LO16: in adjustFixupValue()
57 case Mips::fixup_Mips_CALL_LO16: in adjustFixupValue()
58 case Mips::fixup_MICROMIPS_GPOFF_HI: in adjustFixupValue()
59 case Mips::fixup_MICROMIPS_GPOFF_LO: in adjustFixupValue()
60 case Mips::fixup_MICROMIPS_LO16: in adjustFixupValue()
61 case Mips::fixup_MICROMIPS_GOT_PAGE: in adjustFixupValue()
62 case Mips::fixup_MICROMIPS_GOT_OFST: in adjustFixupValue()
63 case Mips::fixup_MICROMIPS_GOT_DISP: in adjustFixupValue()
64 case Mips::fixup_MIPS_PCLO16: in adjustFixupValue()
74 case Mips::fixup_Mips_SUB: in adjustFixupValue()
75 case Mips::fixup_MICROMIPS_SUB: in adjustFixupValue()
77 case Mips::fixup_Mips_PC16: in adjustFixupValue()
87 case Mips::fixup_MIPS_PC19_S2: in adjustFixupValue()
88 case Mips::fixup_MICROMIPS_PC19_S2: in adjustFixupValue()
97 case Mips::fixup_Mips_26: in adjustFixupValue()
103 case Mips::fixup_Mips_HI16: in adjustFixupValue()
104 case Mips::fixup_Mips_GOT: in adjustFixupValue()
105 case Mips::fixup_MICROMIPS_GOT16: in adjustFixupValue()
106 case Mips::fixup_Mips_GOT_HI16: in adjustFixupValue()
107 case Mips::fixup_Mips_CALL_HI16: in adjustFixupValue()
108 case Mips::fixup_MICROMIPS_HI16: in adjustFixupValue()
109 case Mips::fixup_MIPS_PCHI16: in adjustFixupValue()
113 case Mips::fixup_Mips_HIGHER: in adjustFixupValue()
114 case Mips::fixup_MICROMIPS_HIGHER: in adjustFixupValue()
118 case Mips::fixup_Mips_HIGHEST: in adjustFixupValue()
119 case Mips::fixup_MICROMIPS_HIGHEST: in adjustFixupValue()
123 case Mips::fixup_MICROMIPS_26_S1: in adjustFixupValue()
126 case Mips::fixup_MICROMIPS_PC7_S1: in adjustFixupValue()
136 case Mips::fixup_MICROMIPS_PC10_S1: in adjustFixupValue()
146 case Mips::fixup_MICROMIPS_PC16_S1: in adjustFixupValue()
156 case Mips::fixup_MIPS_PC18_S3: in adjustFixupValue()
165 case Mips::fixup_MICROMIPS_PC18_S3: in adjustFixupValue()
178 case Mips::fixup_MIPS_PC21_S2: in adjustFixupValue()
187 case Mips::fixup_MIPS_PC26_S2: in adjustFixupValue()
196 case Mips::fixup_MICROMIPS_PC26_S1: in adjustFixupValue()
205 case Mips::fixup_MICROMIPS_PC21_S1: in adjustFixupValue()
229 return Kind != Mips::fixup_MICROMIPS_PC10_S1 && in needsMMLEByteOrder()
230 Kind >= Mips::fixup_MICROMIPS_26_S1 && in needsMMLEByteOrder()
231 Kind < Mips::LastTargetFixupKind; in needsMMLEByteOrder()
265 case Mips::fixup_Mips_16: in applyFixup()
266 case Mips::fixup_MICROMIPS_PC10_S1: in applyFixup()
270 case Mips::fixup_Mips_64: in applyFixup()
317 .Case("R_MIPS_CALL_HI16", (MCFixupKind)Mips::fixup_Mips_CALL_HI16) in getFixupKind()
318 .Case("R_MIPS_CALL_LO16", (MCFixupKind)Mips::fixup_Mips_CALL_LO16) in getFixupKind()
319 .Case("R_MIPS_CALL16", (MCFixupKind)Mips::fixup_Mips_CALL16) in getFixupKind()
320 .Case("R_MIPS_GOT16", (MCFixupKind)Mips::fixup_Mips_GOT) in getFixupKind()
321 .Case("R_MIPS_GOT_PAGE", (MCFixupKind)Mips::fixup_Mips_GOT_PAGE) in getFixupKind()
322 .Case("R_MIPS_GOT_OFST", (MCFixupKind)Mips::fixup_Mips_GOT_OFST) in getFixupKind()
323 .Case("R_MIPS_GOT_DISP", (MCFixupKind)Mips::fixup_Mips_GOT_DISP) in getFixupKind()
324 .Case("R_MIPS_GOT_HI16", (MCFixupKind)Mips::fixup_Mips_GOT_HI16) in getFixupKind()
325 .Case("R_MIPS_GOT_LO16", (MCFixupKind)Mips::fixup_Mips_GOT_LO16) in getFixupKind()
326 .Case("R_MIPS_TLS_GOTTPREL", (MCFixupKind)Mips::fixup_Mips_GOTTPREL) in getFixupKind()
327 .Case("R_MIPS_TLS_DTPREL_HI16", (MCFixupKind)Mips::fixup_Mips_DTPREL_HI) in getFixupKind()
328 .Case("R_MIPS_TLS_DTPREL_LO16", (MCFixupKind)Mips::fixup_Mips_DTPREL_LO) in getFixupKind()
329 .Case("R_MIPS_TLS_GD", (MCFixupKind)Mips::fixup_Mips_TLSGD) in getFixupKind()
330 .Case("R_MIPS_TLS_LDM", (MCFixupKind)Mips::fixup_Mips_TLSLDM) in getFixupKind()
331 .Case("R_MIPS_TLS_TPREL_HI16", (MCFixupKind)Mips::fixup_Mips_TPREL_HI) in getFixupKind()
332 .Case("R_MIPS_TLS_TPREL_LO16", (MCFixupKind)Mips::fixup_Mips_TPREL_LO) in getFixupKind()
333 .Case("R_MICROMIPS_CALL16", (MCFixupKind)Mips::fixup_MICROMIPS_CALL16) in getFixupKind()
334 .Case("R_MICROMIPS_GOT_DISP", (MCFixupKind)Mips::fixup_MICROMIPS_GOT_DISP) in getFixupKind()
335 .Case("R_MICROMIPS_GOT_PAGE", (MCFixupKind)Mips::fixup_MICROMIPS_GOT_PAGE) in getFixupKind()
336 .Case("R_MICROMIPS_GOT_OFST", (MCFixupKind)Mips::fixup_MICROMIPS_GOT_OFST) in getFixupKind()
337 .Case("R_MICROMIPS_GOT16", (MCFixupKind)Mips::fixup_MICROMIPS_GOT16) in getFixupKind()
339 (MCFixupKind)Mips::fixup_MICROMIPS_GOTTPREL) in getFixupKind()
341 (MCFixupKind)Mips::fixup_MICROMIPS_TLS_DTPREL_HI16) in getFixupKind()
343 (MCFixupKind)Mips::fixup_MICROMIPS_TLS_DTPREL_LO16) in getFixupKind()
344 .Case("R_MICROMIPS_TLS_GD", (MCFixupKind)Mips::fixup_MICROMIPS_TLS_GD) in getFixupKind()
345 .Case("R_MICROMIPS_TLS_LDM", (MCFixupKind)Mips::fixup_MICROMIPS_TLS_LDM) in getFixupKind()
347 (MCFixupKind)Mips::fixup_MICROMIPS_TLS_TPREL_HI16) in getFixupKind()
349 (MCFixupKind)Mips::fixup_MICROMIPS_TLS_TPREL_LO16) in getFixupKind()
350 .Case("R_MIPS_JALR", (MCFixupKind)Mips::fixup_Mips_JALR) in getFixupKind()
351 .Case("R_MICROMIPS_JALR", (MCFixupKind)Mips::fixup_MICROMIPS_JALR) in getFixupKind()
433 static_assert(std::size(LittleEndianInfos) == Mips::NumTargetFixupKinds, in getFixupKindInfo()
434 "Not all MIPS little endian fixup kinds added!"); in getFixupKindInfo()
512 static_assert(std::size(BigEndianInfos) == Mips::NumTargetFixupKinds, in getFixupKindInfo()
513 "Not all MIPS big endian fixup kinds added!"); in getFixupKindInfo()
558 case Mips::fixup_Mips_CALL_HI16: in shouldForceRelocation()
559 case Mips::fixup_Mips_CALL_LO16: in shouldForceRelocation()
560 case Mips::fixup_Mips_CALL16: in shouldForceRelocation()
561 case Mips::fixup_Mips_GOT: in shouldForceRelocation()
562 case Mips::fixup_Mips_GOT_PAGE: in shouldForceRelocation()
563 case Mips::fixup_Mips_GOT_OFST: in shouldForceRelocation()
564 case Mips::fixup_Mips_GOT_DISP: in shouldForceRelocation()
565 case Mips::fixup_Mips_GOT_HI16: in shouldForceRelocation()
566 case Mips::fixup_Mips_GOT_LO16: in shouldForceRelocation()
567 case Mips::fixup_Mips_GOTTPREL: in shouldForceRelocation()
568 case Mips::fixup_Mips_DTPREL_HI: in shouldForceRelocation()
569 case Mips::fixup_Mips_DTPREL_LO: in shouldForceRelocation()
570 case Mips::fixup_Mips_TLSGD: in shouldForceRelocation()
571 case Mips::fixup_Mips_TLSLDM: in shouldForceRelocation()
572 case Mips::fixup_Mips_TPREL_HI: in shouldForceRelocation()
573 case Mips::fixup_Mips_TPREL_LO: in shouldForceRelocation()
574 case Mips::fixup_Mips_JALR: in shouldForceRelocation()
575 case Mips::fixup_MICROMIPS_CALL16: in shouldForceRelocation()
576 case Mips::fixup_MICROMIPS_GOT_DISP: in shouldForceRelocation()
577 case Mips::fixup_MICROMIPS_GOT_PAGE: in shouldForceRelocation()
578 case Mips::fixup_MICROMIPS_GOT_OFST: in shouldForceRelocation()
579 case Mips::fixup_MICROMIPS_GOT16: in shouldForceRelocation()
580 case Mips::fixup_MICROMIPS_GOTTPREL: in shouldForceRelocation()
581 case Mips::fixup_MICROMIPS_TLS_DTPREL_HI16: in shouldForceRelocation()
582 case Mips::fixup_MICROMIPS_TLS_DTPREL_LO16: in shouldForceRelocation()
583 case Mips::fixup_MICROMIPS_TLS_GD: in shouldForceRelocation()
584 case Mips::fixup_MICROMIPS_TLS_LDM: in shouldForceRelocation()
585 case Mips::fixup_MICROMIPS_TLS_TPREL_HI16: in shouldForceRelocation()
586 case Mips::fixup_MICROMIPS_TLS_TPREL_LO16: in shouldForceRelocation()
587 case Mips::fixup_MICROMIPS_JALR: in shouldForceRelocation()