LLVM API Documentation
#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"
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 DEBUG_TYPE "phi-opt" |
Definition at line 26 of file OptimizePHIs.cpp.
INITIALIZE_PASS | ( | OptimizePHIs | , |
"opt-phis" | , | ||
"Optimize machine instruction PHIs" | , | ||
false | , | ||
false | |||
) |
Definition at line 62 of file OptimizePHIs.cpp.
STATISTIC | ( | NumPHICycles | , |
"Number of PHI cycles replaced" | |||
) |
STATISTIC | ( | NumDeadPHICycles | , |
"Number of dead PHI cycles" | |||
) |