ΒΆinline bool internalizeModule(
    llvm::Module& TheModule,
    std::function<bool(const GlobalValue&)>
        MustPreserveGV,
    llvm::CallGraph* CG = nullptr)

Description

Helper function to internalize functions and variables in a Module.

Declared at: llvm/include/llvm/Transforms/IPO/Internalize.h:79

Parameters

llvm::Module& TheModule
std::function<bool(const GlobalValue&)> MustPreserveGV
llvm::CallGraph* CG = nullptr