LLVM API Documentation

StackSlotColoring.cpp File Reference

#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>

Include dependency graph for StackSlotColoring.cpp:

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 Documentation

#define DEBUG_TYPE   "stackcoloring"

Definition at line 14 of file StackSlotColoring.cpp.


Function Documentation

STATISTIC ( NumEliminated  ,
"Number of stack slots eliminated due to coloring"   
)


Variable Documentation

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 37 of file StackSlotColoring.cpp.

Referenced by LowerFORMAL_ARGUMENTS().

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.

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]