LLVM: lib/Target/LoongArch/LoongArchTargetMachine.cpp File Reference (original ) (raw )Go to the source code of this file.
Variables
static cl::opt < bool >
EnableLoongArchDeadRegisterElimination ("loongarch-enable-dead-defs", cl::Hidden, cl::desc ("Enable the pass that removes dead" " definitons and replaces stores to" " them with stores to r0"), cl::init(true))
static cl::opt < bool >
EnableLoopDataPrefetch ("loongarch-enable-loop-data -prefetch", cl::Hidden, cl::desc ("Enable the loop data prefetch pass"), cl::init(false))
static cl::opt < bool >
EnableMergeBaseOffset ("loongarch-enable-merge -offset", cl::desc ("Enable the merge base offset pass"), cl::init(true), cl::Hidden)
static cl::opt < bool >
EnableSinkFold ("loongarch-enable-sink -fold", cl::desc ("Enable sinking and folding of instruction copies"), cl::init(true), cl::Hidden)
◆ DEBUG_TYPE#define DEBUG_TYPE "loongarch"
◆ getEffectiveLoongArchCodeModel()◆ getEffectiveRelocModel()◆ LLVMInitializeLoongArchTarget()Definition at line 34 of file LoongArchTargetMachine.cpp .
References llvm::PassRegistry::getPassRegistry() , llvm::getTheLoongArch32Target() , llvm::getTheLoongArch64Target() , llvm::initializeLoongArchDAGToDAGISelLegacyPass() , llvm::initializeLoongArchDeadRegisterDefinitionsPass() , llvm::initializeLoongArchExpandAtomicPseudoPass() , llvm::initializeLoongArchExpandPseudoPass() , llvm::initializeLoongArchMergeBaseOffsetOptPass() , llvm::initializeLoongArchOptWInstrsPass() , llvm::initializeLoongArchPreRAExpandPseudoPass() , X , and Y .
◆ EnableLoongArchDeadRegisterElimination
cl::opt < bool > EnableLoongArchDeadRegisterElimination("loongarch-enable-dead-defs", cl::Hidden, cl::desc ("Enable the pass that removes dead" " definitons and replaces stores to" " them with stores to r0"), cl::init(true)) ( "loongarch-enable-dead-defs" , cl::Hidden , cl::desc ("Enable the pass that removes dead" " definitons and replaces stores to" " them with stores to r0") , cl::init(true) )
static
◆ EnableLoopDataPrefetch◆ EnableMergeBaseOffset
cl::opt < bool > EnableMergeBaseOffset("loongarch-enable-merge -offset", cl::desc ("Enable the merge base offset pass"), cl::init(true), cl::Hidden) ( "loongarch-enable-merge -offset" , cl::desc ("Enable the merge base offset pass") , cl::init(true) , cl::Hidden )
static
◆ EnableSinkFold
cl::opt < bool > EnableSinkFold("loongarch-enable-sink -fold", cl::desc ("Enable sinking and folding of instruction copies"), cl::init(true), cl::Hidden) ( "loongarch-enable-sink -fold" , cl::desc ("Enable sinking and folding of instruction copies") , cl::init(true) , cl::Hidden )
static