LLVM 17.0.0git
Classes | Namespaces | Functions
Internalize.h File Reference
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/StringSet.h"
#include "llvm/IR/PassManager.h"
#include <functional>
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

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Functions

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