LLVM 22.0.0git
MachineLateInstrsCleanup.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "machine-latecleanup"

Functions

 STATISTIC (NumRemoved, "Number of redundant instructions removed.")
 INITIALIZE_PASS (MachineLateInstrsCleanupLegacy, DEBUG_TYPE, "Machine Late Instructions Cleanup Pass", false, false) bool MachineLateInstrsCleanupLegacy
static bool isCandidate (const MachineInstr *MI, Register &DefedReg, Register FrameReg)

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "machine-latecleanup"

Definition at line 34 of file MachineLateInstrsCleanup.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( MachineLateInstrsCleanupLegacy ,
DEBUG_TYPE ,
"Machine Late Instructions Cleanup Pass" ,
false ,
false  )

Definition at line 94 of file MachineLateInstrsCleanup.cpp.

References DEBUG_TYPE.

◆ isCandidate()

◆ STATISTIC()

STATISTIC ( NumRemoved ,
"Number of redundant instructions removed."  )

References MI, Reg, TII, and TRI.