Lines Matching full:loongarch
1 //===-- LoongArchAsmBackend.cpp - LoongArch Assembler Backend -*- C++ -*---===//
26 #define DEBUG_TYPE "loongarch-asmbackend"
35 #include "llvm/BinaryFormat/ELFRelocs/LoongArch.def" in getFixupKind()
68 static_assert((std::size(Infos)) == LoongArch::NumTargetFixupKinds, in getFixupKindInfo()
100 case LoongArch::fixup_loongarch_b16: { in adjustFixupValue()
107 case LoongArch::fixup_loongarch_b21: { in adjustFixupValue()
114 case LoongArch::fixup_loongarch_b26: { in adjustFixupValue()
121 case LoongArch::fixup_loongarch_abs_hi20: in adjustFixupValue()
122 case LoongArch::fixup_loongarch_tls_le_hi20: in adjustFixupValue()
124 case LoongArch::fixup_loongarch_abs_lo12: in adjustFixupValue()
125 case LoongArch::fixup_loongarch_tls_le_lo12: in adjustFixupValue()
127 case LoongArch::fixup_loongarch_abs64_lo20: in adjustFixupValue()
128 case LoongArch::fixup_loongarch_tls_le64_lo20: in adjustFixupValue()
130 case LoongArch::fixup_loongarch_abs64_hi12: in adjustFixupValue()
131 case LoongArch::fixup_loongarch_tls_le64_hi12: in adjustFixupValue()
188 if (!AF.getSubtargetInfo()->hasFeature(LoongArch::FeatureRelax)) in shouldInsertExtraNopBytesForCodeAlign()
211 if (!AF.getSubtargetInfo()->hasFeature(LoongArch::FeatureRelax)) in shouldInsertFixupForCodeAlign()
225 MCFixup::create(0, Dummy, MCFixupKind(LoongArch::fixup_loongarch_align)); in shouldInsertFixupForCodeAlign()
259 return STI->hasFeature(LoongArch::FeatureRelax); in shouldForceRelocation()
476 if (!STI.hasFeature(LoongArch::FeatureRelax)) in handleAddSubRelocations()
513 OSABI, Is64Bit, STI.hasFeature(LoongArch::FeatureRelax)); in createObjectTargetWriter()