LLVM 24.0.0git
LoongArchDeadRegisterDefinitions.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "loongarch-dead-register-definitions"
#define LoongArch_DEAD_REG_DEF_NAME   "LoongArch Dead register definitions"

Functions

 STATISTIC (NumDeadDefsReplaced, "Number of dead definitions replaced")
 INITIALIZE_PASS (LoongArchDeadRegisterDefinitionsLegacy, DEBUG_TYPE, LoongArch_DEAD_REG_DEF_NAME, false, false) FunctionPass *llvm
static bool runDeadRegisterDefinitions (MachineFunction &MF, LiveIntervals &LIS)

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "loongarch-dead-register-definitions"

Definition at line 25 of file LoongArchDeadRegisterDefinitions.cpp.

◆ LoongArch_DEAD_REG_DEF_NAME

#define LoongArch_DEAD_REG_DEF_NAME   "LoongArch Dead register definitions"

Definition at line 26 of file LoongArchDeadRegisterDefinitions.cpp.

Referenced by INITIALIZE_PASS().

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( LoongArchDeadRegisterDefinitionsLegacy ,
DEBUG_TYPE ,
LoongArch_DEAD_REG_DEF_NAME ,
false ,
false  )

◆ runDeadRegisterDefinitions()

◆ STATISTIC()

STATISTIC ( NumDeadDefsReplaced ,
"Number of dead definitions replaced"  )