LLVM 22.0.0git
SparcTargetMachine.cpp File Reference

Go to the source code of this file.

Functions

LLVM_ABI LLVM_EXTERNAL_VISIBILITY void LLVMInitializeSparcTarget ()
static Reloc::Model getEffectiveRelocModel (std::optional< Reloc::Model > RM)
static CodeModel::Model getEffectiveSparcCodeModel (std::optional< CodeModel::Model > CM, Reloc::Model RM, bool Is64Bit, bool JIT)

Variables

static cl::opt< boolBranchRelaxation ("sparc-enable-branch-relax", cl::Hidden, cl::init(true), cl::desc("Relax out of range conditional branches"))

Function Documentation

◆ getEffectiveRelocModel()

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

Definition at line 41 of file SparcTargetMachine.cpp.

References llvm::Reloc::Static.

◆ getEffectiveSparcCodeModel()

◆ LLVMInitializeSparcTarget()

Variable Documentation

◆ BranchRelaxation

cl::opt< bool > BranchRelaxation("sparc-enable-branch-relax", cl::Hidden, cl::init(true), cl::desc("Relax out of range conditional branches")) ( "sparc-enable-branch-relax" ,
cl::Hidden ,
cl::init(true) ,
cl::desc("Relax out of range conditional branches")  )
static