LLVM 22.0.0git
AVRAsmBackend.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  adjust
namespace  adjust::ldi
 Fixups relating to the LDI instruction.
namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Macros

#define ELF_RELOC(X, Y)

Functions

static void adjust::unsigned_width (unsigned Width, uint64_t Value, std::string Description, const MCFixup &Fixup, MCContext *Ctx)
static void adjust::adjustBranch (unsigned Size, const MCFixup &Fixup, uint64_t &Value, MCContext *Ctx)
 Adjusts the value of a branch target before fixup application.
static bool adjust::adjustRelativeBranch (unsigned Size, const MCFixup &Fixup, uint64_t &Value, const MCSubtargetInfo *STI)
 Adjusts the value of a relative branch target before fixup application.
static void adjust::fixup_call (unsigned Size, const MCFixup &Fixup, uint64_t &Value, MCContext *Ctx)
 22-bit absolute fixup.
static void adjust::fixup_7_pcrel (unsigned Size, const MCFixup &Fixup, uint64_t &Value, MCContext *Ctx)
 7-bit PC-relative fixup.
static void adjust::fixup_13_pcrel (unsigned Size, const MCFixup &Fixup, uint64_t &Value, MCContext *Ctx)
 12-bit PC-relative fixup.
static void adjust::fixup_6 (const MCFixup &Fixup, uint64_t &Value, MCContext *Ctx)
 6-bit fixup for the immediate operand of the STD/LDD family of instructions.
static void adjust::fixup_6_adiw (const MCFixup &Fixup, uint64_t &Value, MCContext *Ctx)
 6-bit fixup for the immediate operand of the ADIW family of instructions.
static void adjust::fixup_port5 (const MCFixup &Fixup, uint64_t &Value, MCContext *Ctx)
 5-bit port number fixup on the SBIC family of instructions.
static void adjust::fixup_port6 (const MCFixup &Fixup, uint64_t &Value, MCContext *Ctx)
 6-bit port number fixup on the IN family of instructions.
static void adjust::fixup_lds_sts_16 (const MCFixup &Fixup, uint64_t &Value, MCContext *Ctx)
 7-bit data space address fixup for the LDS/STS instructions on AVRTiny.
static void adjust::pm (uint64_t &Value)
 Adjusts a program memory address.
static void adjust::ldi::fixup (unsigned Size, const MCFixup &Fixup, uint64_t &Value, MCContext *Ctx)
 Adjusts a value to fix up the immediate of an LDI Rd, K instruction.
static void adjust::ldi::neg (uint64_t &Value)
static void adjust::ldi::lo8 (unsigned Size, const MCFixup &Fixup, uint64_t &Value, MCContext *Ctx)
static void adjust::ldi::hi8 (unsigned Size, const MCFixup &Fixup, uint64_t &Value, MCContext *Ctx)
static void adjust::ldi::hh8 (unsigned Size, const MCFixup &Fixup, uint64_t &Value, MCContext *Ctx)
static void adjust::ldi::ms8 (unsigned Size, const MCFixup &Fixup, uint64_t &Value, MCContext *Ctx)
MCAsmBackendllvm::createAVRAsmBackend (const Target &T, const MCSubtargetInfo &STI, const MCRegisterInfo &MRI, const llvm::MCTargetOptions &TO)
 Creates an assembly backend for AVR.

Macro Definition Documentation

◆ ELF_RELOC

#define ELF_RELOC ( X,
Y )
Value:
.Case(#X, Y)
static TableGen::Emitter::Opt Y("gen-skeleton-entry", EmitSkeleton, "Generate example skeleton entry")
static TableGen::Emitter::OptClass< SkeletonEmitter > X("gen-skeleton-class", "Generate example skeleton class")