LLVM
8.0.1
|
#include "LanaiMCTargetDesc.h"
#include "InstPrinter/LanaiInstPrinter.h"
#include "LanaiMCAsmInfo.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Triple.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstrAnalysis.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/TargetRegistry.h"
#include <cstdint>
#include <string>
#include "LanaiGenInstrInfo.inc"
#include "LanaiGenSubtargetInfo.inc"
#include "LanaiGenRegisterInfo.inc"
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 MCInstrInfo * | createLanaiMCInstrInfo () |
static MCRegisterInfo * | createLanaiMCRegisterInfo (const Triple &) |
static MCSubtargetInfo * | createLanaiMCSubtargetInfo (const Triple &TT, StringRef CPU, StringRef FS) |
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 MCInstPrinter * | createLanaiMCInstPrinter (const Triple &, unsigned SyntaxVariant, const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI) |
static MCRelocationInfo * | createLanaiElfRelocation (const Triple &TheTriple, MCContext &Ctx) |
static MCInstrAnalysis * | createLanaiInstrAnalysis (const MCInstrInfo *Info) |
void | LLVMInitializeLanaiTargetMC () |
#define GET_INSTRINFO_MC_DESC |
Definition at line 30 of file LanaiMCTargetDesc.cpp.
#define GET_REGINFO_MC_DESC |
Definition at line 36 of file LanaiMCTargetDesc.cpp.
#define GET_SUBTARGETINFO_MC_DESC |
Definition at line 33 of file LanaiMCTargetDesc.cpp.
|
static |
Definition at line 84 of file LanaiMCTargetDesc.cpp.
References llvm::createMCRelocationInfo(), llvm::MCInstrInfo::get(), llvm::MCOperand::getImm(), llvm::MCInst::getNumOperands(), llvm::MCInst::getOpcode(), llvm::MCInst::getOperand(), Info, llvm::MCOI::OPERAND_PCREL, and Size.
Referenced by LLVMInitializeLanaiTargetMC().
|
static |
Definition at line 122 of file LanaiMCTargetDesc.cpp.
Referenced by LLVMInitializeLanaiTargetMC().
|
static |
Definition at line 74 of file LanaiMCTargetDesc.cpp.
Referenced by LLVMInitializeLanaiTargetMC().
|
static |
Definition at line 41 of file LanaiMCTargetDesc.cpp.
References X.
Referenced by LLVMInitializeLanaiTargetMC().
|
static |
Definition at line 47 of file LanaiMCTargetDesc.cpp.
References X.
Referenced by LLVMInitializeLanaiTargetMC().
|
static |
Definition at line 54 of file LanaiMCTargetDesc.cpp.
Referenced by LLVMInitializeLanaiTargetMC().
|
static |
Definition at line 62 of file LanaiMCTargetDesc.cpp.
References llvm::createELFStreamer(), llvm::Triple::isOSBinFormatELF(), and llvm_unreachable.
Referenced by LLVMInitializeLanaiTargetMC().
void LLVMInitializeLanaiTargetMC | ( | ) |
Definition at line 126 of file LanaiMCTargetDesc.cpp.
References llvm::createLanaiAsmBackend(), createLanaiElfRelocation(), createLanaiInstrAnalysis(), llvm::createLanaiMCCodeEmitter(), createLanaiMCInstPrinter(), createLanaiMCInstrInfo(), createLanaiMCRegisterInfo(), createLanaiMCSubtargetInfo(), createMCStreamer(), llvm::getTheLanaiTarget(), llvm::TargetRegistry::RegisterELFStreamer(), llvm::TargetRegistry::RegisterMCAsmBackend(), llvm::TargetRegistry::RegisterMCCodeEmitter(), llvm::TargetRegistry::RegisterMCInstPrinter(), llvm::TargetRegistry::RegisterMCInstrAnalysis(), llvm::TargetRegistry::RegisterMCInstrInfo(), llvm::TargetRegistry::RegisterMCRegInfo(), llvm::TargetRegistry::RegisterMCRelocationInfo(), llvm::TargetRegistry::RegisterMCSubtargetInfo(), and X.