Searched refs:MustPreserveGV (Results 1 – 4 of 4) sorted by relevance
39 const std::function<bool(const GlobalValue &)> MustPreserveGV; variable56 InternalizePass(std::function<bool(const GlobalValue &)> MustPreserveGV) in InternalizePass() argument57 : MustPreserveGV(std::move(MustPreserveGV)) {} in InternalizePass()72 std::function<bool(const GlobalValue &)> MustPreserveGV,74 return InternalizePass(std::move(MustPreserveGV))
113 return MustPreserveGV(GV); in shouldPreserveGV()240 InternalizePass::InternalizePass() : MustPreserveGV(PreserveAPIList()) {} in InternalizePass()254 std::function<bool(const GlobalValue &)> MustPreserveGV; member in __anon65b6ccab0211::InternalizeLegacyPass259 InternalizeLegacyPass() : ModulePass(ID), MustPreserveGV(PreserveAPIList()) {} in InternalizeLegacyPass()261 InternalizeLegacyPass(std::function<bool(const GlobalValue &)> MustPreserveGV) in InternalizeLegacyPass() argument262 : 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() argument293 return new InternalizeLegacyPass(std::move(MustPreserveGV)); in createInternalizePass()
518 auto MustPreserveGV = [&](const GlobalValue &GV) -> bool { in thinLTOInternalizeModule() local558 llvm::internalizeModule(TheModule, MustPreserveGV); in thinLTOInternalizeModule()
132 createInternalizePass(std::function<bool(const GlobalValue &)> MustPreserveGV);