LLVM  16.0.0git
Macros | Functions
AMDGPUAsmBackend.cpp File Reference
#include "MCTargetDesc/AMDGPUFixupKinds.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "Utils/AMDGPUBaseInfo.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/Support/TargetParser.h"
#include "llvm/BinaryFormat/ELFRelocs/AMDGPU.def"
Include dependency graph for AMDGPUAsmBackend.cpp:

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)
 

Macro Definition Documentation

◆ ELF_RELOC

#define ELF_RELOC (   Name,
  Value 
)    .Case(#Name, MCFixupKind(FirstLiteralRelocationKind + Value))

Function Documentation

◆ adjustFixupValue()

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

◆ getFixupKindNumBytes()

static unsigned getFixupKindNumBytes ( unsigned  Kind)
static