|
LLVM 22.0.0git
|
#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 | |
| #define DEBUG_TYPE "dead-mi-elimination" |
Definition at line 27 of file DeadMachineInstructionElim.cpp.
| 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 | ( | NumDeletes | , |
| "Number of dead instructions deleted" | ) |