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


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


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


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