LLVM  6.0.0svn
Macros | Functions | Variables
MachineCopyPropagation.cpp File Reference
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/iterator_range.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/Pass.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <iterator>
Include dependency graph for MachineCopyPropagation.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "machine-cp"
 

Functions

 STATISTIC (NumDeletes, "Number of dead copies deleted")
 
 INITIALIZE_PASS (MachineCopyPropagation, DEBUG_TYPE, "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

◆ DEBUG_TYPE

#define DEBUG_TYPE   "machine-cp"

Definition at line 38 of file MachineCopyPropagation.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( MachineCopyPropagation  ,
DEBUG_TYPE  ,
"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()

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

Variable Documentation

◆ Regs

const RegList& Regs