Home
last modified time | relevance | path

Searched refs:MustPreserveGV (Results 1 – 4 of 4) sorted by relevance

/external/llvm/include/llvm/Transforms/IPO/
DInternalize.h39 const std::function<bool(const GlobalValue &)> MustPreserveGV; variable
56 InternalizePass(std::function<bool(const GlobalValue &)> MustPreserveGV) in InternalizePass() argument
57 : MustPreserveGV(std::move(MustPreserveGV)) {} in InternalizePass()
72 std::function<bool(const GlobalValue &)> MustPreserveGV,
74 return InternalizePass(std::move(MustPreserveGV))
/external/llvm/lib/Transforms/IPO/
DInternalize.cpp113 return MustPreserveGV(GV); in shouldPreserveGV()
240 InternalizePass::InternalizePass() : MustPreserveGV(PreserveAPIList()) {} in InternalizePass()
254 std::function<bool(const GlobalValue &)> MustPreserveGV; member in __anon65b6ccab0211::InternalizeLegacyPass
259 InternalizeLegacyPass() : ModulePass(ID), MustPreserveGV(PreserveAPIList()) {} in InternalizeLegacyPass()
261 InternalizeLegacyPass(std::function<bool(const GlobalValue &)> MustPreserveGV) in InternalizeLegacyPass() argument
262 : ModulePass(ID), MustPreserveGV(std::move(MustPreserveGV)) { in InternalizeLegacyPass()
273 return internalizeModule(M, MustPreserveGV, CG); in runOnModule()
292 std::function<bool(const GlobalValue &)> MustPreserveGV) { in createInternalizePass() argument
293 return new InternalizeLegacyPass(std::move(MustPreserveGV)); in createInternalizePass()
DFunctionImport.cpp518 auto MustPreserveGV = [&](const GlobalValue &GV) -> bool { in thinLTOInternalizeModule() local
558 llvm::internalizeModule(TheModule, MustPreserveGV); in thinLTOInternalizeModule()
/external/llvm/include/llvm/Transforms/
DIPO.h132 createInternalizePass(std::function<bool(const GlobalValue &)> MustPreserveGV);