LLVM API Documentation
#include "InstPrinter/MipsInstPrinter.h"
#include "MipsELFStreamer.h"
#include "MipsMCAsmInfo.h"
#include "MipsMCNaCl.h"
#include "MipsMCTargetDesc.h"
#include "MipsTargetStreamer.h"
#include "llvm/ADT/Triple.h"
#include "llvm/MC/MCCodeGenInfo.h"
#include "llvm/MC/MCELFStreamer.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/MachineLocation.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/Support/TargetRegistry.h"
#include "MipsGenInstrInfo.inc"
#include "MipsGenSubtargetInfo.inc"
#include "MipsGenRegisterInfo.inc"
Go to the source code of this file.
#define GET_INSTRINFO_MC_DESC |
Definition at line 35 of file MipsMCTargetDesc.cpp.
#define GET_REGINFO_MC_DESC |
Definition at line 41 of file MipsMCTargetDesc.cpp.
#define GET_SUBTARGETINFO_MC_DESC |
Definition at line 38 of file MipsMCTargetDesc.cpp.
static MCStreamer* createMCAsmStreamer | ( | MCContext & | Ctx, |
formatted_raw_ostream & | OS, | ||
bool | isVerboseAsm, | ||
bool | useDwarfDirectory, | ||
MCInstPrinter * | InstPrint, | ||
MCCodeEmitter * | CE, | ||
MCAsmBackend * | TAB, | ||
bool | ShowInst | ||
) | [static] |
Definition at line 126 of file MipsMCTargetDesc.cpp.
References llvm::createAsmStreamer().
static MCStreamer* createMCStreamer | ( | const Target & | T, |
StringRef | TT, | ||
MCContext & | Context, | ||
MCAsmBackend & | MAB, | ||
raw_ostream & | OS, | ||
MCCodeEmitter * | Emitter, | ||
const MCSubtargetInfo & | STI, | ||
bool | RelaxAll, | ||
bool | NoExecStack | ||
) | [static] |
Definition at line 109 of file MipsMCTargetDesc.cpp.
References llvm::createMipsELFStreamer(), and llvm::createMipsNaClELFStreamer().
Referenced by LLVMInitializeMipsTargetMC().
static MCAsmInfo* createMipsMCAsmInfo | ( | const MCRegisterInfo & | MRI, |
StringRef | TT | ||
) | [static] |
Definition at line 78 of file MipsMCTargetDesc.cpp.
References llvm::MCAsmInfo::addInitialFrameState(), llvm::MCCFIInstruction::createDefCfa(), and llvm::MCRegisterInfo::getDwarfRegNum().
Referenced by LLVMInitializeMipsTargetMC().
static MCCodeGenInfo* createMipsMCCodeGenInfo | ( | StringRef | TT, |
Reloc::Model | RM, | ||
CodeModel::Model | CM, | ||
CodeGenOpt::Level | OL | ||
) | [static] |
Definition at line 88 of file MipsMCTargetDesc.cpp.
References llvm::Reloc::Default, llvm::MCCodeGenInfo::InitMCCodeGenInfo(), llvm::CodeModel::JITDefault, llvm::Reloc::PIC_, llvm::Reloc::Static, and llvm::X.
Referenced by LLVMInitializeMipsTargetMC().
static MCInstPrinter* createMipsMCInstPrinter | ( | const Target & | T, |
unsigned | SyntaxVariant, | ||
const MCAsmInfo & | MAI, | ||
const MCInstrInfo & | MII, | ||
const MCRegisterInfo & | MRI, | ||
const MCSubtargetInfo & | STI | ||
) | [static] |
Definition at line 100 of file MipsMCTargetDesc.cpp.
Referenced by LLVMInitializeMipsTargetMC().
static MCInstrInfo* createMipsMCInstrInfo | ( | ) | [static] |
Definition at line 58 of file MipsMCTargetDesc.cpp.
References llvm::X.
Referenced by LLVMInitializeMipsTargetMC().
static MCRegisterInfo* createMipsMCRegisterInfo | ( | StringRef | TT | ) | [static] |
Definition at line 64 of file MipsMCTargetDesc.cpp.
References llvm::X.
Referenced by LLVMInitializeMipsTargetMC().
static MCSubtargetInfo* createMipsMCSubtargetInfo | ( | StringRef | TT, |
StringRef | CPU, | ||
StringRef | FS | ||
) | [static] |
Definition at line 70 of file MipsMCTargetDesc.cpp.
References selectMipsCPU(), and llvm::X.
Referenced by LLVMInitializeMipsTargetMC().
static MCStreamer* createMipsNullStreamer | ( | MCContext & | Ctx | ) | [static] |
Definition at line 136 of file MipsMCTargetDesc.cpp.
References llvm::createNullStreamer().
Referenced by LLVMInitializeMipsTargetMC().
void LLVMInitializeMipsTargetMC | ( | ) |
Definition at line 142 of file MipsMCTargetDesc.cpp.
References llvm::ARM_PROC::A, llvm::createMCAsmStreamer(), createMCStreamer(), llvm::createMipsAsmBackendEB32(), llvm::createMipsAsmBackendEB64(), llvm::createMipsAsmBackendEL32(), llvm::createMipsAsmBackendEL64(), createMipsMCAsmInfo(), llvm::createMipsMCCodeEmitterEB(), llvm::createMipsMCCodeEmitterEL(), createMipsMCCodeGenInfo(), createMipsMCInstPrinter(), createMipsMCInstrInfo(), createMipsMCRegisterInfo(), createMipsMCSubtargetInfo(), createMipsNullStreamer(), llvm::TargetRegistry::RegisterAsmStreamer(), llvm::TargetRegistry::RegisterMCAsmBackend(), llvm::TargetRegistry::RegisterMCCodeEmitter(), llvm::TargetRegistry::RegisterMCCodeGenInfo(), llvm::TargetRegistry::RegisterMCInstPrinter(), llvm::TargetRegistry::RegisterMCInstrInfo(), llvm::TargetRegistry::RegisterMCObjectStreamer(), llvm::TargetRegistry::RegisterMCRegInfo(), llvm::TargetRegistry::RegisterMCSubtargetInfo(), llvm::TargetRegistry::RegisterNullStreamer(), llvm::TheMips64elTarget, llvm::TheMips64Target, llvm::TheMipselTarget, llvm::TheMipsTarget, llvm::X, and Y.
static StringRef selectMipsCPU | ( | StringRef | TT, |
StringRef | CPU | ||
) | [inline, static] |
Select the Mips CPU for the given triple and cpu name. FIXME: Merge with the copy in MipsSubtarget.cpp
Definition at line 46 of file MipsMCTargetDesc.cpp.
References llvm::StringRef::empty(), llvm::Triple::getArch(), llvm::Triple::mips, and llvm::Triple::mipsel.
Referenced by createMipsMCSubtargetInfo().