LLVM 22.0.0git
RISCVDeadRegisterDefinitions.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "riscv-dead-defs"
#define RISCV_DEAD_REG_DEF_NAME   "RISC-V Dead register definitions"

Functions

 STATISTIC (NumDeadDefsReplaced, "Number of dead definitions replaced")
 INITIALIZE_PASS (RISCVDeadRegisterDefinitions, DEBUG_TYPE, RISCV_DEAD_REG_DEF_NAME, false, false) FunctionPass *llvm

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "riscv-dead-defs"

Definition at line 22 of file RISCVDeadRegisterDefinitions.cpp.

◆ RISCV_DEAD_REG_DEF_NAME

#define RISCV_DEAD_REG_DEF_NAME   "RISC-V Dead register definitions"

Definition at line 23 of file RISCVDeadRegisterDefinitions.cpp.

Referenced by INITIALIZE_PASS().

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( RISCVDeadRegisterDefinitions ,
DEBUG_TYPE ,
RISCV_DEAD_REG_DEF_NAME ,
false ,
false  )

◆ STATISTIC()

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