LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Internalize.cpp File Reference

#include "llvm/Transforms/IPO.h"
#include "llvm/Pass.h"
#include "llvm/Module.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/ADT/Statistic.h"
#include <fstream>
#include <set>

Include dependency graph for Internalize.cpp:

Go to the source code of this file.

Functions

ModulePassllvm::createInternalizePass ()


Variable Documentation

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]
 

Statistic NumFunctions("internalize","Number of functions internalized") [static]
 

Statistic NumGlobals("internalize","Number of global vars internalized") [static]
 

RegisterOpt<InternalizePass> X("internalize","Internalize Global Symbols") [static]