LLVM: lib/Target/Hexagon/HexagonTargetObjectFile.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define DEBUG_TYPE "hexagon-sdata"
#define TRACE_TO(s, X) s << X
#define TRACE(X)
Variables
static cl::opt< unsigned > SmallDataThreshold ("hexagon-small-data-threshold", cl::init(8), cl::Hidden, cl::desc("The maximum size of an object in the sdata section"))
static cl::opt< bool > NoSmallDataSorting ("mno-sort-sda", cl::init(false), cl::Hidden, cl::desc("Disable small data sections sorting"))
static cl::opt< bool > StaticsInSData ("hexagon-statics-in-small-data", cl::Hidden, cl::desc("Allow static variables in .sdata"))
static cl::opt< bool > TraceGVPlacement ("trace-gv-placement", cl::Hidden, cl::init(false), cl::desc("Trace global value placement"))
static cl::opt< bool > EmitJtInText ("hexagon-emit-jt-text", cl::Hidden, cl::init(false), cl::desc("Emit hexagon jump tables in function section"))
static cl::opt< bool > EmitLutInText ("hexagon-emit-lut-text", cl::Hidden, cl::init(false), cl::desc("Emit hexagon lookup tables in function section"))

DEBUG_TYPE

#define DEBUG_TYPE "hexagon-sdata"

TRACE

Value:

do { \

TRACE_TO(errs(), X); \

} else { \

} \

} while (false)

static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")

static cl::opt< bool > TraceGVPlacement("trace-gv-placement", cl::Hidden, cl::init(false), cl::desc("Trace global value placement"))

raw_ostream & dbgs()

dbgs() - This returns a reference to a raw_ostream for debugging messages.

raw_fd_ostream & errs()

This returns a reference to a raw_ostream for standard error.

Definition at line 72 of file HexagonTargetObjectFile.cpp.

TRACE_TO

| #define TRACE_TO | ( | | s, | | --------------------------------------------------------------------- | ----------------------------------------------------------------------- | | -- | | | X | | | | | ) | s << X | | |

getSectionSuffixForSize()

isSmallDataSection()

EmitJtInText

cl::opt< bool > EmitJtInText("hexagon-emit-jt-text", cl::Hidden, cl::init(false), cl::desc("Emit hexagon jump tables in function section")) ( "hexagon-emit-jt-text" , cl::Hidden , cl::init(false) , cl::desc("Emit hexagon jump tables in function section") ) static

EmitLutInText

NoSmallDataSorting

cl::opt< bool > NoSmallDataSorting("mno-sort-sda", cl::init(false), cl::Hidden, cl::desc("Disable small data sections sorting")) ( "mno-sort-sda" , cl::init(false) , cl::Hidden , cl::desc("Disable small data sections sorting") ) static

SmallDataThreshold

cl::opt< unsigned > SmallDataThreshold("hexagon-small-data-threshold", cl::init(8), cl::Hidden, cl::desc("The maximum size of an object in the sdata section")) ( "hexagon-small-data-threshold" , cl::init(8) , cl::Hidden , cl::desc("The maximum size of an object in the sdata section") ) static

StaticsInSData

cl::opt< bool > StaticsInSData("hexagon-statics-in-small-data", cl::Hidden, cl::desc("Allow static variables in .sdata")) ( "hexagon-statics-in-small-data" , cl::Hidden , cl::desc("Allow static variables in .sdata") ) static

TraceGVPlacement

cl::opt< bool > TraceGVPlacement("trace-gv-placement", cl::Hidden, cl::init(false), cl::desc("Trace global value placement")) ( "trace-gv-placement" , cl::Hidden , cl::init(false) , cl::desc("Trace global value placement") ) static