LLVM 22.0.0git
DeadMachineInstructionElim.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "dead-mi-elimination"

Functions

 STATISTIC (NumDeletes, "Number of dead instructions deleted")
 INITIALIZE_PASS (DeadMachineInstructionElim, DEBUG_TYPE, "Remove dead machine instructions", false, false) bool DeadMachineInstructionElimImpl

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "dead-mi-elimination"

Definition at line 27 of file DeadMachineInstructionElim.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( DeadMachineInstructionElim ,
DEBUG_TYPE ,
"Remove dead machine instructions" ,
false ,
false  )

Definition at line 78 of file DeadMachineInstructionElim.cpp.

References DEBUG_TYPE, llvm::LivePhysRegs::init(), MRI, runImpl(), and TII.

◆ STATISTIC()

STATISTIC ( NumDeletes ,
"Number of dead instructions deleted"  )

References MRI, and TII.