LLVM  6.0.0svn
Macros | Functions
OptimizePHIs.cpp File Reference
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/Statistic.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/TargetRegisterInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/Pass.h"
#include <cassert>
Include dependency graph for OptimizePHIs.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "opt-phis"
 

Functions

 STATISTIC (NumPHICycles, "Number of PHI cycles replaced")
 
 STATISTIC (NumDeadPHICycles, "Number of dead PHI cycles")
 
 INITIALIZE_PASS (OptimizePHIs, DEBUG_TYPE, "Optimize machine instruction PHIs", false, false) bool OptimizePHIs
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "opt-phis"

Definition at line 30 of file OptimizePHIs.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( OptimizePHIs  ,
DEBUG_TYPE  ,
"Optimize machine instruction PHIs"  ,
false  ,
false   
)

◆ STATISTIC() [1/2]

STATISTIC ( NumPHICycles  ,
"Number of PHI cycles replaced"   
)

◆ STATISTIC() [2/2]

STATISTIC ( NumDeadPHICycles  ,
"Number of dead PHI cycles"   
)