LLVM  4.0.0
Macros | Functions | Variables
MachineCopyPropagation.cpp File Reference
#include "llvm/CodeGen/Passes.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineFunction.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/TargetRegisterInfo.h"
#include "llvm/Target/TargetSubtargetInfo.h"
Include dependency graph for MachineCopyPropagation.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "codegen-cp"
 

Functions

 STATISTIC (NumDeletes,"Number of dead copies deleted")
 
 INITIALIZE_PASS (MachineCopyPropagation,"machine-cp","Machine Copy Propagation Pass", false, false) static void removeRegsFromMap(Reg2MIMap &Map
 Remove any entry in Map where the register is a subregister or equal to a register contained in Regs. More...
 

Variables

const RegList & Regs
 

Macro Definition Documentation

#define DEBUG_TYPE   "codegen-cp"

Definition at line 30 of file MachineCopyPropagation.cpp.

Function Documentation

INITIALIZE_PASS ( MachineCopyPropagation  ,
"machine-cp"  ,
"Machine Copy Propagation Pass ,
false  ,
false   
)

Remove any entry in Map where the register is a subregister or equal to a register contained in Regs.

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

Variable Documentation

const RegList& Regs