LLVM  14.0.0git
Functions
SparcTargetMachine.cpp File Reference
#include "SparcTargetMachine.h"
#include "LeonPasses.h"
#include "Sparc.h"
#include "SparcTargetObjectFile.h"
#include "TargetInfo/SparcTargetInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetPassConfig.h"
#include "llvm/IR/LegacyPassManager.h"
#include "llvm/Support/TargetRegistry.h"
Include dependency graph for SparcTargetMachine.cpp:

Go to the source code of this file.

Functions

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeSparcTarget ()
 
static std::string computeDataLayout (const Triple &T, bool is64Bit)
 
static Reloc::Model getEffectiveRelocModel (Optional< Reloc::Model > RM)
 
static CodeModel::Model getEffectiveSparcCodeModel (Optional< CodeModel::Model > CM, Reloc::Model RM, bool Is64Bit, bool JIT)
 

Function Documentation

◆ computeDataLayout()

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

Definition at line 30 of file SparcTargetMachine.cpp.

References is64Bit(), llvm::MipsISD::Ret, llvm::Triple::sparcel, and T.

◆ getEffectiveRelocModel()

static Reloc::Model getEffectiveRelocModel ( Optional< Reloc::Model RM)
static

Definition at line 57 of file SparcTargetMachine.cpp.

References llvm::AArch64::RM, and llvm::Reloc::Static.

◆ getEffectiveSparcCodeModel()

static CodeModel::Model getEffectiveSparcCodeModel ( Optional< CodeModel::Model CM,
Reloc::Model  RM,
bool  Is64Bit,
bool  JIT 
)
static

◆ LLVMInitializeSparcTarget()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeSparcTarget ( )