LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions
OptimizePHIs.cpp File Reference
#include "llvm/CodeGen/Passes.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/IR/Function.h"
#include "llvm/Target/TargetInstrInfo.h"
Include dependency graph for OptimizePHIs.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "phi-opt"
 

Functions

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

Macro Definition Documentation

#define DEBUG_TYPE   "phi-opt"

Definition at line 15 of file OptimizePHIs.cpp.

Function Documentation

INITIALIZE_PASS ( OptimizePHIs  ,
"opt-phis"  ,
"Optimize machine instruction PHIs"  ,
false  ,
false   
)

Definition at line 60 of file OptimizePHIs.cpp.

References I, MRI, and TII.

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