LLVM 22.0.0git
StackSlotColoring.cpp File Reference

Go to the source code of this file.

Classes

struct  false::IntervalSorter

Namespaces

namespace  false

Macros

#define DEBUG_TYPE   "stack-slot-coloring"

Functions

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

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< int > DCELimit ("ssc-dce-limit", cl::init(-1), cl::Hidden)
 DEBUG_TYPE
Stack Slot Coloring
Stack Slot false

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "stack-slot-coloring"

Definition at line 50 of file StackSlotColoring.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( StackSlotColoringLegacy ,
DEBUG_TYPE ,
"Stack Slot Coloring" ,
false ,
false  )

◆ STATISTIC() [1/2]

STATISTIC ( NumDead ,
"Number of trivially dead stack accesses eliminated"  )

References TII.

◆ STATISTIC() [2/2]

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

Variable Documentation

◆ Coloring

Stack Slot Coloring

Definition at line 201 of file StackSlotColoring.cpp.

◆ DCELimit

cl::opt< int > DCELimit("ssc-dce-limit", cl::init(-1), cl::Hidden) ( "ssc-dce-limit" ,
cl::init(-1) ,
cl::Hidden  )
static

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 201 of file StackSlotColoring.cpp.

◆ DisableSharing

cl::opt< bool > DisableSharing("no-stack-slot-sharing", cl::init(false), cl::Hidden, cl::desc("Suppress slot sharing during stack coloring")) ( "no-stack-slot-sharing" ,
cl::init(false) ,
cl::Hidden ,
cl::desc("Suppress slot sharing during stack coloring")  )
static

◆ false

Stack Slot false

Definition at line 202 of file StackSlotColoring.cpp.