LLVM  8.0.1
Macros | Functions
AVRMCTargetDesc.cpp File Reference
#include "AVRELFStreamer.h"
#include "AVRMCAsmInfo.h"
#include "AVRMCELFStreamer.h"
#include "AVRMCTargetDesc.h"
#include "AVRTargetStreamer.h"
#include "InstPrinter/AVRInstPrinter.h"
#include "llvm/MC/MCAsmBackend.h"
#include "llvm/MC/MCELFStreamer.h"
#include "llvm/MC/MCCodeEmitter.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/Support/TargetRegistry.h"
#include "AVRGenInstrInfo.inc"
#include "AVRGenSubtargetInfo.inc"
#include "AVRGenRegisterInfo.inc"
Include dependency graph for AVRMCTargetDesc.cpp:

Go to the source code of this file.

Macros

#define GET_INSTRINFO_MC_DESC
 
#define GET_SUBTARGETINFO_MC_DESC
 
#define GET_REGINFO_MC_DESC
 

Functions

static MCRegisterInfocreateAVRMCRegisterInfo (const Triple &TT)
 
static MCSubtargetInfocreateAVRMCSubtargetInfo (const Triple &TT, StringRef CPU, StringRef FS)
 
static MCInstPrintercreateAVRMCInstPrinter (const Triple &T, unsigned SyntaxVariant, const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
 
static MCStreamercreateMCStreamer (const Triple &T, MCContext &Context, std::unique_ptr< MCAsmBackend > &&MAB, std::unique_ptr< MCObjectWriter > &&OW, std::unique_ptr< MCCodeEmitter > &&Emitter, bool RelaxAll)
 
static MCTargetStreamercreateAVRObjectTargetStreamer (MCStreamer &S, const MCSubtargetInfo &STI)
 
static MCTargetStreamercreateMCAsmTargetStreamer (MCStreamer &S, formatted_raw_ostream &OS, MCInstPrinter *InstPrint, bool isVerboseAsm)
 
void LLVMInitializeAVRTargetMC ()
 

Macro Definition Documentation

◆ GET_INSTRINFO_MC_DESC

#define GET_INSTRINFO_MC_DESC

Definition at line 29 of file AVRMCTargetDesc.cpp.

◆ GET_REGINFO_MC_DESC

#define GET_REGINFO_MC_DESC

Definition at line 35 of file AVRMCTargetDesc.cpp.

◆ GET_SUBTARGETINFO_MC_DESC

#define GET_SUBTARGETINFO_MC_DESC

Definition at line 32 of file AVRMCTargetDesc.cpp.

Function Documentation

◆ createAVRMCInstPrinter()

static MCInstPrinter* createAVRMCInstPrinter ( const Triple T,
unsigned  SyntaxVariant,
const MCAsmInfo MAI,
const MCInstrInfo MII,
const MCRegisterInfo MRI 
)
static

Definition at line 59 of file AVRMCTargetDesc.cpp.

Referenced by LLVMInitializeAVRTargetMC().

◆ createAVRMCRegisterInfo()

static MCRegisterInfo* createAVRMCRegisterInfo ( const Triple TT)
static

Definition at line 47 of file AVRMCTargetDesc.cpp.

References X.

Referenced by LLVMInitializeAVRTargetMC().

◆ createAVRMCSubtargetInfo()

static MCSubtargetInfo* createAVRMCSubtargetInfo ( const Triple TT,
StringRef  CPU,
StringRef  FS 
)
static

Definition at line 54 of file AVRMCTargetDesc.cpp.

Referenced by LLVMInitializeAVRTargetMC().

◆ createAVRObjectTargetStreamer()

static MCTargetStreamer* createAVRObjectTargetStreamer ( MCStreamer S,
const MCSubtargetInfo STI 
)
static

Definition at line 81 of file AVRMCTargetDesc.cpp.

Referenced by LLVMInitializeAVRTargetMC().

◆ createMCAsmTargetStreamer()

static MCTargetStreamer* createMCAsmTargetStreamer ( MCStreamer S,
formatted_raw_ostream OS,
MCInstPrinter InstPrint,
bool  isVerboseAsm 
)
static

Definition at line 85 of file AVRMCTargetDesc.cpp.

Referenced by LLVMInitializeAVRTargetMC().

◆ createMCStreamer()

static MCStreamer* createMCStreamer ( const Triple T,
MCContext Context,
std::unique_ptr< MCAsmBackend > &&  MAB,
std::unique_ptr< MCObjectWriter > &&  OW,
std::unique_ptr< MCCodeEmitter > &&  Emitter,
bool  RelaxAll 
)
static

Definition at line 71 of file AVRMCTargetDesc.cpp.

References llvm::createELFStreamer().

Referenced by LLVMInitializeAVRTargetMC().

◆ LLVMInitializeAVRTargetMC()

void LLVMInitializeAVRTargetMC ( )