LLVM 20.0.0git
Macros | Functions | Variables
Internalize.cpp File Reference
#include "llvm/Transforms/IPO/Internalize.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/StringSet.h"
#include "llvm/Analysis/CallGraph.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/GlobPattern.h"
#include "llvm/Support/LineIterator.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/TargetParser/Triple.h"
#include "llvm/Transforms/IPO.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "internalize"
 

Functions

 STATISTIC (NumAliases, "Number of aliases internalized")
 
 STATISTIC (NumFunctions, "Number of functions internalized")
 
 STATISTIC (NumGlobals, "Number of global vars internalized")
 

Variables

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)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "internalize"

Definition at line 37 of file Internalize.cpp.

Function Documentation

◆ STATISTIC() [1/3]

STATISTIC ( NumAliases  ,
"Number of aliases internalized"   
)

◆ STATISTIC() [2/3]

STATISTIC ( NumFunctions  ,
"Number of functions internalized"   
)

◆ STATISTIC() [3/3]

STATISTIC ( NumGlobals  ,
"Number of global vars internalized"   
)

Variable Documentation

◆ APIFile

cl::opt< std::string > APIFile("internalize-public-api-file", cl::value_desc("filename"), cl::desc("A file containing list of symbol names to preserve")) ( "internalize-public-api-file"  ,
cl::value_desc("filename")  ,
cl::desc("A file containing list of symbol names to preserve")   
)
static

◆ APIList

cl::list< std::string > APIList("internalize-public-api-list", cl::value_desc("list"), cl::desc("A list of symbol names to preserve"), cl::CommaSeparated) ( "internalize-public-api-list"  ,
cl::value_desc("list")  ,
cl::desc("A list of symbol names to preserve")  ,
cl::CommaSeparated   
)
static