LLVM  12.0.0git
Macros | Functions
PPCAsmBackend.cpp File Reference
#include "MCTargetDesc/PPCFixupKinds.h"
#include "MCTargetDesc/PPCMCTargetDesc.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/BinaryFormat/MachO.h"
#include "llvm/MC/MCAsmBackend.h"
#include "llvm/MC/MCAssembler.h"
#include "llvm/MC/MCELFObjectWriter.h"
#include "llvm/MC/MCFixupKindInfo.h"
#include "llvm/MC/MCMachObjectWriter.h"
#include "llvm/MC/MCObjectWriter.h"
#include "llvm/MC/MCSectionMachO.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/MCSymbolELF.h"
#include "llvm/MC/MCValue.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/TargetRegistry.h"
#include "llvm/BinaryFormat/ELFRelocs/PowerPC64.def"
#include "llvm/BinaryFormat/ELFRelocs/PowerPC.def"
Include dependency graph for PPCAsmBackend.cpp:

Go to the source code of this file.

Macros

#define ELF_RELOC(X, Y)   .Case(#X, Y)
 
#define ELF_RELOC(X, Y)   .Case(#X, Y)
 

Functions

static uint64_t adjustFixupValue (unsigned Kind, uint64_t Value)
 
static unsigned getFixupKindNumBytes (unsigned Kind)
 

Macro Definition Documentation

◆ ELF_RELOC [1/2]

#define ELF_RELOC (   X,
  Y 
)    .Case(#X, Y)

Referenced by getFixupKindNumBytes().

◆ ELF_RELOC [2/2]

#define ELF_RELOC (   X,
  Y 
)    .Case(#X, Y)

Function Documentation

◆ adjustFixupValue()

static uint64_t adjustFixupValue ( unsigned  Kind,
uint64_t  Value 
)
static

◆ getFixupKindNumBytes()

static unsigned getFixupKindNumBytes ( unsigned  Kind)
static