LLVM 17.0.0git
|
#include "LoongArchAsmBackend.h"
#include "LoongArchFixupKinds.h"
#include "llvm/MC/MCAsmLayout.h"
#include "llvm/MC/MCAssembler.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCELFObjectWriter.h"
#include "llvm/MC/MCValue.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/EndianStream.h"
#include "llvm/BinaryFormat/ELFRelocs/LoongArch.def"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "loongarch-asmbackend" |
#define | ELF_RELOC(X, Y) .Case(#X, Y) |
Functions | |
static void | reportOutOfRangeError (MCContext &Ctx, SMLoc Loc, unsigned N) |
static uint64_t | adjustFixupValue (const MCFixup &Fixup, uint64_t Value, MCContext &Ctx) |
#define DEBUG_TYPE "loongarch-asmbackend" |
Definition at line 23 of file LoongArchAsmBackend.cpp.
Definition at line 86 of file LoongArchAsmBackend.cpp.
References Fixup, llvm::LoongArch::fixup_loongarch_abs64_hi12, llvm::LoongArch::fixup_loongarch_abs64_lo20, llvm::LoongArch::fixup_loongarch_abs_hi20, llvm::LoongArch::fixup_loongarch_abs_lo12, llvm::LoongArch::fixup_loongarch_b16, llvm::LoongArch::fixup_loongarch_b21, llvm::LoongArch::fixup_loongarch_b26, llvm::LoongArch::fixup_loongarch_tls_le64_hi12, llvm::LoongArch::fixup_loongarch_tls_le64_lo20, llvm::LoongArch::fixup_loongarch_tls_le_hi20, llvm::LoongArch::fixup_loongarch_tls_le_lo12, llvm::FK_Data_1, llvm::FK_Data_2, llvm::FK_Data_4, llvm::FK_Data_8, llvm_unreachable, llvm::MCContext::reportError(), and reportOutOfRangeError().
Definition at line 81 of file LoongArchAsmBackend.cpp.
References llvm::maxIntN(), llvm::minIntN(), N, and llvm::MCContext::reportError().
Referenced by adjustFixupValue().