LLVM 22.0.0git
MipsAsmBackend.cpp File Reference

Go to the source code of this file.

Functions

static unsigned adjustFixupValue (const MCFixup &Fixup, uint64_t Value, MCContext &Ctx)
static bool needsMMLEByteOrder (unsigned Kind)
static unsigned calculateMMLEIndex (unsigned i)
static bool shouldForceRelocation (const MCFixup &Fixup)

Function Documentation

◆ adjustFixupValue()

unsigned adjustFixupValue ( const MCFixup & Fixup,
uint64_t Value,
MCContext & Ctx )
static

Definition at line 34 of file MipsAsmBackend.cpp.

References Fixup, llvm::Mips::fixup_MICROMIPS_26_S1, llvm::Mips::fixup_MICROMIPS_GOT16, llvm::Mips::fixup_MICROMIPS_GOT_DISP, llvm::Mips::fixup_MICROMIPS_GOT_OFST, llvm::Mips::fixup_MICROMIPS_GOT_PAGE, llvm::Mips::fixup_MICROMIPS_GPOFF_HI, llvm::Mips::fixup_MICROMIPS_GPOFF_LO, llvm::Mips::fixup_MICROMIPS_HI16, llvm::Mips::fixup_MICROMIPS_HIGHER, llvm::Mips::fixup_MICROMIPS_HIGHEST, llvm::Mips::fixup_MICROMIPS_LO16, llvm::Mips::fixup_MICROMIPS_PC10_S1, llvm::Mips::fixup_MICROMIPS_PC16_S1, llvm::Mips::fixup_MICROMIPS_PC18_S3, llvm::Mips::fixup_MICROMIPS_PC19_S2, llvm::Mips::fixup_MICROMIPS_PC21_S1, llvm::Mips::fixup_MICROMIPS_PC26_S1, llvm::Mips::fixup_MICROMIPS_PC7_S1, llvm::Mips::fixup_MICROMIPS_SUB, llvm::Mips::fixup_Mips_26, llvm::Mips::fixup_Mips_AnyImm16, llvm::Mips::fixup_Mips_CALL_HI16, llvm::Mips::fixup_Mips_CALL_LO16, llvm::Mips::fixup_Mips_DTPREL32, llvm::Mips::fixup_Mips_DTPREL64, llvm::Mips::fixup_Mips_GOT, llvm::Mips::fixup_Mips_GOT_DISP, llvm::Mips::fixup_Mips_GOT_HI16, llvm::Mips::fixup_Mips_GOT_LO16, llvm::Mips::fixup_Mips_GOT_OFST, llvm::Mips::fixup_Mips_GOT_PAGE, llvm::Mips::fixup_Mips_GPOFF_HI, llvm::Mips::fixup_Mips_GPOFF_LO, llvm::Mips::fixup_Mips_GPREL16, llvm::Mips::fixup_Mips_GPREL32, llvm::Mips::fixup_Mips_HI16, llvm::Mips::fixup_Mips_HIGHER, llvm::Mips::fixup_Mips_HIGHEST, llvm::Mips::fixup_Mips_LO16, llvm::Mips::fixup_Mips_PC16, llvm::Mips::fixup_MIPS_PC18_S3, llvm::Mips::fixup_MIPS_PC19_S2, llvm::Mips::fixup_MIPS_PC21_S2, llvm::Mips::fixup_MIPS_PC26_S2, llvm::Mips::fixup_MIPS_PCHI16, llvm::Mips::fixup_MIPS_PCLO16, llvm::Mips::fixup_Mips_SUB, llvm::Mips::fixup_Mips_TPREL32, llvm::Mips::fixup_Mips_TPREL64, llvm::FK_Data_2, llvm::FK_Data_4, llvm::FK_Data_8, llvm::isInt(), and llvm::isUInt().

◆ calculateMMLEIndex()

unsigned calculateMMLEIndex ( unsigned i)
static

Definition at line 235 of file MipsAsmBackend.cpp.

References assert().

Referenced by llvm::MipsAsmBackend::applyFixup().

◆ needsMMLEByteOrder()

◆ shouldForceRelocation()