LLVM  16.0.0git
Macros | Functions
LoongArchTargetMachine.cpp File Reference
#include "LoongArchTargetMachine.h"
#include "LoongArch.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 dependency graph for LoongArchTargetMachine.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "loongarch"
 

Functions

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

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "loongarch"

Definition at line 24 of file LoongArchTargetMachine.cpp.

Function Documentation

◆ computeDataLayout()

static std::string computeDataLayout ( const Triple TT)
static

Definition at line 34 of file LoongArchTargetMachine.cpp.

References assert().

◆ getEffectiveRelocModel()

static Reloc::Model getEffectiveRelocModel ( const Triple TT,
Optional< Reloc::Model RM 
)
static

Definition at line 41 of file LoongArchTargetMachine.cpp.

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

◆ LLVMInitializeLoongArchTarget()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeLoongArchTarget ( )