LLVM
13.0.0git
|
#include "llvm/Transforms/IPO/Internalize.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/StringSet.h"
#include "llvm/Analysis/CallGraph.h"
#include "llvm/IR/Module.h"
#include "llvm/InitializePasses.h"
#include "llvm/Pass.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/LineIterator.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Transforms/IPO.h"
#include "llvm/Transforms/Utils/GlobalStatus.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") | |
INITIALIZE_PASS (InternalizeLegacyPass, "internalize", "Internalize Global Symbols", false, false) ModulePass *llvm | |
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) |
#define DEBUG_TYPE "internalize" |
Definition at line 38 of file Internalize.cpp.
INITIALIZE_PASS | ( | InternalizeLegacyPass | , |
"internalize" | , | ||
"Internalize Global Symbols" | , | ||
false | , | ||
false | |||
) |
Definition at line 281 of file Internalize.cpp.
STATISTIC | ( | NumGlobals | , |
"Number of global vars internalized" | |||
) |
|
static |