LLVM 20.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>

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.