LLVM API Documentation

Defines | 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 "llvm/Target/TargetSubtargetInfo.h"
Include dependency graph for OptimizePHIs.cpp:

Go to the source code of this file.

Defines

#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

Define Documentation

#define DEBUG_TYPE   "phi-opt"

Definition at line 26 of file OptimizePHIs.cpp.


Function Documentation

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

Definition at line 62 of file OptimizePHIs.cpp.

References I, and TII.

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