LLVM 19.0.0git
Functions | Variables
SparcTargetMachine.cpp File Reference
#include "SparcTargetMachine.h"
#include "LeonPasses.h"
#include "Sparc.h"
#include "SparcMachineFunctionInfo.h"
#include "SparcTargetObjectFile.h"
#include "TargetInfo/SparcTargetInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetPassConfig.h"
#include "llvm/MC/TargetRegistry.h"
#include <optional>

Go to the source code of this file.


LLVM_EXTERNAL_VISIBILITY void LLVMInitializeSparcTarget ()
static std::string computeDataLayout (const Triple &T, bool is64Bit)
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)


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

Function Documentation

◆ computeDataLayout()

static std::string computeDataLayout ( const Triple T,
bool  is64Bit 

Definition at line 38 of file SparcTargetMachine.cpp.

References is64Bit(), and llvm::Triple::sparcel.

◆ getEffectiveRelocModel()

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

Definition at line 65 of file SparcTargetMachine.cpp.

References llvm::Reloc::Static.

◆ getEffectiveSparcCodeModel()

static CodeModel::Model getEffectiveSparcCodeModel ( std::optional< CodeModel::Model CM,
Reloc::Model  RM,
bool  Is64Bit,
bool  JIT 

◆ LLVMInitializeSparcTarget()

LLVM_EXTERNAL_VISIBILITY void 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")