LLVM 17.0.0git
|
#include "LoongArchTargetMachine.h"
#include "LoongArch.h"
#include "LoongArchMachineFunctionInfo.h"
#include "LoongArchTargetTransformInfo.h"
#include "MCTargetDesc/LoongArchBaseInfo.h"
#include "TargetInfo/LoongArchTargetInfo.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
#include "llvm/CodeGen/TargetPassConfig.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Transforms/Scalar.h"
#include <optional>
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, std::optional< Reloc::Model > RM) |
Variables | |
static cl::opt< bool > | EnableLoopDataPrefetch ("loongarch-enable-loop-data-prefetch", cl::Hidden, cl::desc("Enable the loop data prefetch pass"), cl::init(false)) |
#define DEBUG_TYPE "loongarch" |
Definition at line 29 of file LoongArchTargetMachine.cpp.
Definition at line 45 of file LoongArchTargetMachine.cpp.
References assert().
|
static |
Definition at line 52 of file LoongArchTargetMachine.cpp.
References llvm::Reloc::Static.
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeLoongArchTarget | ( | ) |
Definition at line 31 of file LoongArchTargetMachine.cpp.
References llvm::PassRegistry::getPassRegistry(), llvm::getTheLoongArch32Target(), llvm::getTheLoongArch64Target(), llvm::initializeLoongArchDAGToDAGISelPass(), llvm::initializeLoongArchPreRAExpandPseudoPass(), X, and Y.