LLVM 20.0.0git
Macros | Functions
DeadMachineInstructionElim.cpp File Reference
#include "llvm/CodeGen/DeadMachineInstructionElim.h"
#include "llvm/ADT/PostOrderIterator.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/LiveRegUnits.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/InitializePasses.h"
#include "llvm/Pass.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"

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 79 of file DeadMachineInstructionElim.cpp.

References assert(), llvm::LivePhysRegs::available(), MI, and MRI.

◆ STATISTIC()

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

References MRI, and TII.