LLVM  8.0.1
Classes | Namespaces | Functions
Internalize.h File Reference
#include "llvm/ADT/StringSet.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/IR/PassManager.h"
#include <functional>
#include <set>
Include dependency graph for Internalize.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::InternalizePass
 A pass that internalizes all functions and variables other than those that must be preserved according to MustPreserveGV. More...
 

Namespaces

 llvm
 This class represents lattice values for constants.
 

Functions

bool llvm::internalizeModule (Module &TheModule, std::function< bool(const GlobalValue &)> MustPreserveGV, CallGraph *CG=nullptr)
 Helper function to internalize functions and variables in a Module. More...