LLVM API Documentation

Classes | Namespaces | Defines | Functions | Variables
StackSlotColoring.cpp File Reference
#include "llvm/CodeGen/Passes.h"
#include "llvm/ADT/BitVector.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/LiveIntervalAnalysis.h"
#include "llvm/CodeGen/LiveStackAnalysis.h"
#include "llvm/CodeGen/MachineBlockFrequencyInfo.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineMemOperand.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/PseudoSourceValue.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetSubtargetInfo.h"
#include <vector>
Include dependency graph for StackSlotColoring.cpp:

Go to the source code of this file.

Classes

struct  false::IntervalSorter

Namespaces

namespace  false

Defines

#define DEBUG_TYPE   "stackslotcoloring"

Functions

 STATISTIC (NumEliminated,"Number of stack slots eliminated due to coloring")
 STATISTIC (NumDead,"Number of trivially dead stack accesses eliminated")
 INITIALIZE_PASS_BEGIN (StackSlotColoring,"stack-slot-coloring","Stack Slot Coloring", false, false) INITIALIZE_PASS_END(StackSlotColoring

Variables

static cl::opt< boolDisableSharing ("no-stack-slot-sharing", cl::init(false), cl::Hidden, cl::desc("Suppress slot sharing during stack coloring"))
static cl::opt< intDCELimit ("ssc-dce-limit", cl::init(-1), cl::Hidden)
stack slot coloring
stack slot Stack Slot Coloring
stack slot Stack Slot false

Define Documentation

#define DEBUG_TYPE   "stackslotcoloring"

Definition at line 36 of file StackSlotColoring.cpp.


Function Documentation

INITIALIZE_PASS_BEGIN ( StackSlotColoring  ,
"stack-slot-coloring ,
"Stack Slot Coloring ,
false  ,
false   
)
STATISTIC ( NumEliminated  ,
"Number of stack slots eliminated due to coloring  
)
STATISTIC ( NumDead  ,
"Number of trivially dead stack accesses eliminated"   
)

Variable Documentation

stack slot coloring

Definition at line 125 of file StackSlotColoring.cpp.

stack slot Stack Slot Coloring

Definition at line 125 of file StackSlotColoring.cpp.

cl::opt<int> DCELimit("ssc-dce-limit", cl::init(-1), cl::Hidden) [static]
cl::opt<bool> DisableSharing("no-stack-slot-sharing", cl::init(false), cl::Hidden, cl::desc("Suppress slot sharing during stack coloring")) [static]
stack slot Stack Slot false

Definition at line 125 of file StackSlotColoring.cpp.