LLVM  6.0.0svn
Namespaces | Functions
AVRAsmBackend.cpp File Reference
#include "MCTargetDesc/AVRAsmBackend.h"
#include "MCTargetDesc/AVRFixupKinds.h"
#include "MCTargetDesc/AVRMCTargetDesc.h"
#include "llvm/MC/MCAsmBackend.h"
#include "llvm/MC/MCAssembler.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCDirectives.h"
#include "llvm/MC/MCELFObjectWriter.h"
#include "llvm/MC/MCFixupKindInfo.h"
#include "llvm/MC/MCObjectWriter.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/MCValue.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for AVRAsmBackend.cpp:

Go to the source code of this file.

Namespaces

 adjust
 
 adjust::ldi
 Fixups relating to the LDI instruction.
 
 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 

Functions

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