LLVM API Documentation
#include "llvm/CodeGen/Passes.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/Pass.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetSubtargetInfo.h"
Go to the source code of this file.
Defines | |
#define | DEBUG_TYPE "codegen-dce" |
Functions | |
STATISTIC (NumDeletes,"Number of dead instructions deleted") | |
INITIALIZE_PASS (DeadMachineInstructionElim,"dead-mi-elimination","Remove dead machine instructions", false, false) bool DeadMachineInstructionElim |
#define DEBUG_TYPE "codegen-dce" |
Definition at line 27 of file DeadMachineInstructionElim.cpp.
INITIALIZE_PASS | ( | DeadMachineInstructionElim | , |
"dead-mi-elimination" | , | ||
"Remove dead machine instructions" | , | ||
false | , | ||
false | |||
) |
Definition at line 53 of file DeadMachineInstructionElim.cpp.
References llvm::MachineOperand::getReg(), llvm::MachineOperand::isDef(), llvm::TargetRegisterInfo::isPhysicalRegister(), llvm::MachineOperand::isReg(), and TII.
STATISTIC | ( | NumDeletes | , |
"Number of dead instructions deleted" | |||
) |