LLVM API Documentation
#include "llvm/CodeGen/Passes.h"#include "llvm/CodeGen/LiveStackAnalysis.h"#include "llvm/CodeGen/MachineFrameInfo.h"#include "llvm/CodeGen/PseudoSourceValue.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/Compiler.h"#include "llvm/Support/Debug.h"#include "llvm/ADT/BitVector.h"#include "llvm/ADT/SmallVector.h"#include "llvm/ADT/Statistic.h"#include <vector>
Go to the source code of this file.
Defines | |
| #define | DEBUG_TYPE "stackcoloring" |
Functions | |
| STATISTIC (NumEliminated,"Number of stack slots eliminated due to coloring") | |
| FunctionPass * | llvm::createStackSlotColoringPass () |
| createStackSlotColoringPass - This pass performs stack slot coloring. | |
Variables | |
| static cl::opt< bool > | DisableSharing ("no-stack-slot-sharing", cl::init(false), cl::Hidden, cl::desc("Surpress slot sharing during stack coloring")) |
| static RegisterPass < StackSlotColoring > | X ("stack-slot-coloring","Stack Slot Coloring") |
| #define DEBUG_TYPE "stackcoloring" |
Definition at line 14 of file StackSlotColoring.cpp.
| STATISTIC | ( | NumEliminated | , | |
| "Number of stack slots eliminated due to coloring" | ||||
| ) |
Definition at line 53 of file StackSlotColoring.cpp.
Definition at line 62 of file StackSlotColoring.cpp.
cl::opt<bool> DisableSharing("no-stack-slot-sharing", cl::init(false), cl::Hidden, cl::desc("Surpress slot sharing during stack coloring")) [static] |
char ID [static] |
Definition at line 65 of file StackSlotColoring.cpp.
Definition at line 38 of file StackSlotColoring.cpp.
| int NextColor |
Definition at line 56 of file StackSlotColoring.cpp.
Definition at line 44 of file StackSlotColoring.cpp.
| SmallVector<unsigned, 16> OrigSizes |
Definition at line 47 of file StackSlotColoring.cpp.
| std::vector<LiveInterval*> SSIntervals |
Definition at line 41 of file StackSlotColoring.cpp.
Definition at line 59 of file StackSlotColoring.cpp.
RegisterPass<StackSlotColoring> X("stack-slot-coloring","Stack Slot Coloring") [static] |