LLVM 24.0.0git
MipsMCTargetDesc.h File Reference
#include "llvm/MC/MCRegister.h"
#include "llvm/Support/DataTypes.h"
#include <memory>
#include "MipsGenRegisterInfo.inc"
#include "MipsGenInstrInfo.inc"
#include "MipsGenSubtargetInfo.inc"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::MIPS_MC
namespace  llvm::Mips

Macros

#define GET_REGINFO_ENUM
#define GET_INSTRINFO_ENUM
#define GET_INSTRINFO_MC_HELPER_DECLS
#define GET_SUBTARGETINFO_ENUM

Functions

MCCodeEmitter * llvm::createMipsMCCodeEmitterEB (const MCInstrInfo &MCII, MCContext &Ctx)
MCCodeEmitter * llvm::createMipsMCCodeEmitterEL (const MCInstrInfo &MCII, MCContext &Ctx)
MCAsmBackend * llvm::createMipsAsmBackend (const Target &T, const MCSubtargetInfo &STI, const MCRegisterInfo &MRI, const MCTargetOptions &Options)
MCStreamer * llvm::createMipsWinCOFFStreamer (MCContext &C, std::unique_ptr< MCAsmBackend > &&AB, std::unique_ptr< MCObjectWriter > &&OW, std::unique_ptr< MCCodeEmitter > &&CE)
 Construct an MIPS Windows COFF machine code streamer which will generate PE/COFF format object files.
std::unique_ptr< MCObjectTargetWriter > llvm::createMipsELFObjectWriter (const Triple &TT, bool IsN32)
 Construct a Mips ELF object writer.
std::unique_ptr< MCObjectTargetWriter > llvm::createMipsWinCOFFObjectWriter ()
 Construct a Mips Win COFF object writer.
void llvm::MIPS_MC::initLLVMToCVRegMapping (MCRegisterInfo *MRI)
StringRef llvm::MIPS_MC::selectMipsCPU (const Triple &TT, StringRef CPU)
 Select the Mips CPU for the given triple and cpu name.
MCRegister llvm::MIPS_MC::matchRegisterName (StringRef Name, const MCRegisterInfo &MRI, unsigned RegClassID, unsigned AltIdx)
 Match a symbolic name in RegClassID, or return an invalid register.
int llvm::MIPS_MC::getCPURegisterIndex (StringRef Name, const MCRegisterInfo &MRI, unsigned AltIdx, bool *IsDeprecated=nullptr)
 Return a GPR name's hardware index, or -1 if unknown.

Variables

constexpr MCPhysReg llvm::Mips::GP = R28
constexpr MCPhysReg llvm::Mips::SP = R29
constexpr MCPhysReg llvm::Mips::FP = R30
constexpr MCPhysReg llvm::Mips::RA = R31
constexpr MCPhysReg llvm::Mips::GP_64 = R28_64
constexpr MCPhysReg llvm::Mips::SP_64 = R29_64
constexpr MCPhysReg llvm::Mips::FP_64 = R30_64
constexpr MCPhysReg llvm::Mips::RA_64 = R31_64

Macro Definition Documentation

◆ GET_INSTRINFO_ENUM

#define GET_INSTRINFO_ENUM

Definition at line 98 of file MipsMCTargetDesc.h.

◆ GET_INSTRINFO_MC_HELPER_DECLS

#define GET_INSTRINFO_MC_HELPER_DECLS

Definition at line 99 of file MipsMCTargetDesc.h.

◆ GET_REGINFO_ENUM

#define GET_REGINFO_ENUM

Definition at line 79 of file MipsMCTargetDesc.h.

◆ GET_SUBTARGETINFO_ENUM

#define GET_SUBTARGETINFO_ENUM

Definition at line 102 of file MipsMCTargetDesc.h.