LLVM 20.0.0git
|
#include "MCTargetDesc/AMDGPUFixupKinds.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "Utils/AMDGPUBaseInfo.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/MC/MCAsmBackend.h"
#include "llvm/MC/MCAssembler.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCFixupKindInfo.h"
#include "llvm/MC/MCObjectWriter.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/EndianStream.h"
#include "llvm/TargetParser/TargetParser.h"
#include "llvm/BinaryFormat/ELFRelocs/AMDGPU.def"
Go to the source code of this file.
Macros | |
#define | ELF_RELOC(Name, Value) .Case(#Name, MCFixupKind(FirstLiteralRelocationKind + Value)) |
Functions | |
static unsigned | getFixupKindNumBytes (unsigned Kind) |
static uint64_t | adjustFixupValue (const MCFixup &Fixup, uint64_t Value, MCContext *Ctx) |
Definition at line 112 of file AMDGPUAsmBackend.cpp.
References Fixup, llvm::AMDGPU::fixup_si_sopp_br, llvm::FK_Data_1, llvm::FK_Data_2, llvm::FK_Data_4, llvm::FK_Data_8, llvm::FK_PCRel_4, llvm::FK_SecRel_4, llvm_unreachable, and llvm::MCContext::reportError().
Definition at line 90 of file AMDGPUAsmBackend.cpp.
References llvm::AMDGPU::fixup_si_sopp_br, llvm::FK_Data_1, llvm::FK_Data_2, llvm::FK_Data_4, llvm::FK_Data_8, llvm::FK_PCRel_4, llvm::FK_SecRel_1, llvm::FK_SecRel_2, llvm::FK_SecRel_4, llvm::FK_SecRel_8, and llvm_unreachable.