|
LLVM
3.7.0
|
#include "llvm/ADT/Statistic.h"#include "llvm/CodeGen/MachineBlockFrequencyInfo.h"#include "llvm/CodeGen/MachineDominators.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineFrameInfo.h"#include "llvm/CodeGen/MachineLoopInfo.h"#include "llvm/CodeGen/MachinePostDominators.h"#include "llvm/CodeGen/Passes.h"#include "llvm/CodeGen/RegisterClassInfo.h"#include "llvm/Support/Debug.h"#include "llvm/Target/TargetFrameLowering.h"#include "llvm/Target/TargetInstrInfo.h"#include "llvm/Target/TargetSubtargetInfo.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "shrink-wrap" |
Functions | |
| STATISTIC (NumFunc,"Number of functions") | |
| STATISTIC (NumCandidates,"Number of shrink-wrapping candidates") | |
| STATISTIC (NumCandidatesDropped,"Number of shrink-wrapping candidates dropped because of frequency") | |
| INITIALIZE_PASS_BEGIN (ShrinkWrap,"shrink-wrap","Shrink Wrap Pass", false, false) bool ShrinkWrap | |
| for (const MachineOperand &MO:MI.operands()) | |
| template<typename ListOfBBs , typename DominanceAnalysis > | |
| MachineBasicBlock * | FindIDom (MachineBasicBlock &Block, ListOfBBs BBs, DominanceAnalysis &Dom) |
| Helper function to find the immediate (post) dominator. More... | |
Variables | |
| return | false |
| #define DEBUG_TYPE "shrink-wrap" |
Definition at line 72 of file ShrinkWrap.cpp.
| MachineBasicBlock* FindIDom | ( | MachineBasicBlock & | Block, |
| ListOfBBs | BBs, | ||
| DominanceAnalysis & | Dom | ||
| ) |
Helper function to find the immediate (post) dominator.
Definition at line 217 of file ShrinkWrap.cpp.
| for | ( | const MachineOperand &MO:MI. | operands() | ) |
Definition at line 194 of file ShrinkWrap.cpp.
References llvm::dbgs(), DEBUG, and llvm::TargetRegisterInfo::isPhysicalRegister().
Definition at line 180 of file ShrinkWrap.cpp.
References llvm::dbgs(), and DEBUG.
| STATISTIC | ( | NumFunc | , |
| "Number of functions" | |||
| ) |
| STATISTIC | ( | NumCandidates | , |
| "Number of shrink-wrapping candidates" | |||
| ) |
| STATISTIC | ( | NumCandidatesDropped | , |
| "Number of shrink-wrapping candidates dropped because of frequency" | |||
| ) |
| return false |
Definition at line 212 of file ShrinkWrap.cpp.
1.8.6