Go to the source code of this file.
|
static cl::opt< std::string > | APIFile ("internalize-public-api-file", cl::value_desc("filename"), cl::desc("A file containing list of symbol names to preserve")) |
|
static cl::list< std::string > | APIList ("internalize-public-api-list", cl::value_desc("list"), cl::desc("A list of symbol names to preserve"), cl::CommaSeparated) |
|
#define DEBUG_TYPE "internalize" |
INITIALIZE_PASS |
( |
InternalizePass |
, |
|
|
"internalize" |
, |
|
|
"Internalize Global Symbols" |
, |
|
|
false |
, |
|
|
false |
|
|
) |
| |
static bool shouldInternalize |
( |
const GlobalValue & |
GV, |
|
|
const std::set< std::string > & |
ExternalNames |
|
) |
| |
|
static |
STATISTIC |
( |
NumAliases |
, |
|
|
"Number of aliases internalized" |
|
|
) |
| |
STATISTIC |
( |
NumFunctions |
, |
|
|
"Number of functions internalized" |
|
|
) |
| |
STATISTIC |
( |
NumGlobals |
, |
|
|
"Number of global vars internalized" |
|
|
) |
| |
cl::opt<std::string> APIFile("internalize-public-api-file", cl::value_desc("filename"), cl::desc("A file containing list of symbol names to preserve")) |
|
static |
cl::list<std::string> APIList("internalize-public-api-list", cl::value_desc("list"), cl::desc("A list of symbol names to preserve"), cl::CommaSeparated) |
|
static |