LLVM 24.0.0git
MipsTargetMachine.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "mips"

Functions

LLVM_ABI LLVM_EXTERNAL_VISIBILITY void LLVMInitializeMipsTarget ()
static std::unique_ptr< TargetLoweringObjectFile > createTLOF (const Triple &TT, bool UseSmallSection)
static Reloc::Model getEffectiveRelocModel (bool JIT, std::optional< Reloc::Model > RM)

Variables

static cl::opt< bool > EnableMulMulFix ("mfix4300", cl::init(false), cl::desc("Enable the VR4300 mulmul bug fix."), cl::Hidden)
static cl::opt< bool > MipsOs16 ("mips-os16", cl::init(false), cl::desc("Compile all functions that don't use floating point as Mips 16"), cl::Hidden)

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "mips"

Definition at line 49 of file MipsTargetMachine.cpp.

Function Documentation

◆ createTLOF()

std::unique_ptr< TargetLoweringObjectFile > createTLOF ( const Triple & TT,
bool UseSmallSection )
static

Definition at line 81 of file MipsTargetMachine.cpp.

◆ getEffectiveRelocModel()

Reloc::Model getEffectiveRelocModel ( bool JIT,
std::optional< Reloc::Model > RM )
static

Definition at line 87 of file MipsTargetMachine.cpp.

References llvm::Reloc::Static.

◆ LLVMInitializeMipsTarget()

Variable Documentation

◆ EnableMulMulFix

cl::opt< bool > EnableMulMulFix("mfix4300", cl::init(false), cl::desc("Enable the VR4300 mulmul bug fix."), cl::Hidden) ( "mfix4300" ,
cl::init(false) ,
cl::desc("Enable the VR4300 mulmul bug fix.") ,
cl::Hidden  )
static

◆ MipsOs16

cl::opt< bool > MipsOs16("mips-os16", cl::init(false), cl::desc("Compile all functions that don't use floating point as Mips 16"), cl::Hidden) ( "mips-os16" ,
cl::init(false) ,
cl::desc("Compile all functions that don't use floating point as Mips 16") ,
cl::Hidden  )
static