LLVM 20.0.0git
|
#include "llvm/CodeGen/OptimizePHIs.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/InitializePasses.h"
#include "llvm/Pass.h"
#include <cassert>
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 (OptimizePHIsLegacy, DEBUG_TYPE, "Optimize machine instruction PHIs", false, false) PreservedAnalyses OptimizePHIsPass | |
#define DEBUG_TYPE "opt-phis" |
Definition at line 29 of file OptimizePHIs.cpp.
INITIALIZE_PASS | ( | OptimizePHIsLegacy | , |
DEBUG_TYPE | , | ||
"Optimize machine instruction PHIs" | , | ||
false | , | ||
false | |||
) |
Definition at line 78 of file OptimizePHIs.cpp.
References llvm::PreservedAnalyses::all(), llvm::getMachineFunctionPassPreservedAnalyses(), and OP.