LLVM  17.0.0git
Macros | Functions
LoongArchTargetMachine.cpp File Reference
#include "LoongArchTargetMachine.h"
#include "LoongArch.h"
#include "LoongArchMachineFunctionInfo.h"
#include "MCTargetDesc/LoongArchBaseInfo.h"
#include "TargetInfo/LoongArchTargetInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
#include "llvm/CodeGen/TargetPassConfig.h"
#include "llvm/MC/TargetRegistry.h"
#include <optional>
Include dependency graph for LoongArchTargetMachine.cpp:

Go to the source code of this file.


#define DEBUG_TYPE   "loongarch"


LLVM_EXTERNAL_VISIBILITY void LLVMInitializeLoongArchTarget ()
static std::string computeDataLayout (const Triple &TT)
static Reloc::Model getEffectiveRelocModel (const Triple &TT, std::optional< Reloc::Model > RM)

Macro Definition Documentation


#define DEBUG_TYPE   "loongarch"

Definition at line 26 of file LoongArchTargetMachine.cpp.

Function Documentation

◆ computeDataLayout()

static std::string computeDataLayout ( const Triple TT)

Definition at line 37 of file LoongArchTargetMachine.cpp.

References assert().

◆ getEffectiveRelocModel()

static Reloc::Model getEffectiveRelocModel ( const Triple TT,
std::optional< Reloc::Model RM 

Definition at line 44 of file LoongArchTargetMachine.cpp.

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

◆ LLVMInitializeLoongArchTarget()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeLoongArchTarget ( )