LLVM API Documentation
#include "PrologEpilogInserter.h"#include "llvm/ADT/DenseMap.h"#include "llvm/ADT/PostOrderIterator.h"#include "llvm/ADT/STLExtras.h"#include "llvm/ADT/SparseBitVector.h"#include "llvm/ADT/Statistic.h"#include "llvm/CodeGen/MachineDominators.h"#include "llvm/CodeGen/MachineFrameInfo.h"#include "llvm/CodeGen/MachineInstr.h"#include "llvm/CodeGen/MachineLoopInfo.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/Compiler.h"#include "llvm/Support/Debug.h"#include "llvm/Target/TargetMachine.h"#include "llvm/Target/TargetRegisterInfo.h"#include <sstream>
Go to the source code of this file.
Defines | |
| #define | DEBUG_TYPE "shrink-wrap" |
Enumerations | |
| enum | ShrinkWrapDebugLevel { Disabled, BasicInfo, Iterations, Details } |
Functions | |
| STATISTIC (numSRReduced,"Number of CSR spills+restores reduced.") | |
Variables | |
| static cl::opt< bool > | ShrinkWrapping ("shrink-wrap", cl::desc("Shrink wrap callee-saved register spills/restores")) |
| static cl::opt< std::string > | ShrinkWrapFunc ("shrink-wrap-func", cl::Hidden, cl::desc("Shrink wrap the specified function"), cl::value_desc("funcname"), cl::init("")) |
| static cl::opt< enum ShrinkWrapDebugLevel > | ShrinkWrapDebugging ("shrink-wrap-dbg", cl::Hidden, cl::desc("Print shrink wrapping debugging information"), cl::values(clEnumVal(Disabled,"disable debug output"), clEnumVal(BasicInfo,"print basic DF sets"), clEnumVal(Iterations,"print SR sets for each iteration"), clEnumVal(Details,"print all DF sets"), clEnumValEnd)) |
| #define DEBUG_TYPE "shrink-wrap" |
Definition at line 35 of file ShrinkWrapping.cpp.
| enum ShrinkWrapDebugLevel |
Definition at line 72 of file ShrinkWrapping.cpp.
| STATISTIC | ( | numSRReduced | , |
| "Number of CSR spills+restores reduced." | |||
| ) |
cl::opt<enum ShrinkWrapDebugLevel> ShrinkWrapDebugging("shrink-wrap-dbg", cl::Hidden, cl::desc("Print shrink wrapping debugging information"), cl::values(clEnumVal(Disabled,"disable debug output"),clEnumVal(BasicInfo,"print basic DF sets"),clEnumVal(Iterations,"print SR sets for each iteration"),clEnumVal(Details,"print all DF sets"),clEnumValEnd)) [static] |
cl::opt<std::string> ShrinkWrapFunc("shrink-wrap-func", cl::Hidden, cl::desc("Shrink wrap the specified function"), cl::value_desc("funcname"), cl::init("")) [static] |
Referenced by llvm::PEI::getAnalysisUsage().
cl::opt<bool> ShrinkWrapping("shrink-wrap", cl::desc("Shrink wrap callee-saved register spills/restores")) [static] |
Referenced by llvm::PEI::getAnalysisUsage().