Searched refs:MustPreserveGV (Results 1 – 4 of 4) sorted by relevance
38 const std::function<bool(const GlobalValue &)> MustPreserveGV; variable55 InternalizePass(std::function<bool(const GlobalValue &)> MustPreserveGV) in InternalizePass() argument56 : MustPreserveGV(std::move(MustPreserveGV)) {} in InternalizePass()71 std::function<bool(const GlobalValue &)> MustPreserveGV,73 return InternalizePass(std::move(MustPreserveGV))
110 return MustPreserveGV(GV); in shouldPreserveGV()237 InternalizePass::InternalizePass() : MustPreserveGV(PreserveAPIList()) {} in InternalizePass()251 std::function<bool(const GlobalValue &)> MustPreserveGV; member in __anon44c79ad60211::InternalizeLegacyPass256 InternalizeLegacyPass() : ModulePass(ID), MustPreserveGV(PreserveAPIList()) {} in InternalizeLegacyPass()258 InternalizeLegacyPass(std::function<bool(const GlobalValue &)> MustPreserveGV) in InternalizeLegacyPass() argument259 : ModulePass(ID), MustPreserveGV(std::move(MustPreserveGV)) { in InternalizeLegacyPass()270 return internalizeModule(M, MustPreserveGV, CG); in runOnModule()289 std::function<bool(const GlobalValue &)> MustPreserveGV) { in createInternalizePass() argument290 return new InternalizeLegacyPass(std::move(MustPreserveGV)); in createInternalizePass()
1052 auto MustPreserveGV = [&](const GlobalValue &GV) -> bool { in thinLTOInternalizeModule() local1083 internalizeModule(TheModule, MustPreserveGV); in thinLTOInternalizeModule()
130 createInternalizePass(std::function<bool(const GlobalValue &)> MustPreserveGV);