Searched refs:mustPreserveGV (Results 1 – 5 of 5) sorted by relevance
365 llvm::function_ref<bool(const GlobalValue &)> mustPreserveGV) { in preserveDiscardableGVs() argument378 if (!mustPreserveGV(GV)) in preserveDiscardableGVs()418 auto mustPreserveGV = [&](const GlobalValue &GV) -> bool { in applyScopeRestrictions() local434 preserveDiscardableGVs(*MergedModule, mustPreserveGV); in applyScopeRestrictions()460 internalizeModule(*MergedModule, mustPreserveGV); in applyScopeRestrictions()
368 llvm::function_ref<bool(const GlobalValue &)> mustPreserveGV) { in preserveDiscardableGVs() argument372 !mustPreserveGV(GV)) in preserveDiscardableGVs()404 auto mustPreserveGV = [&](const GlobalValue &GV) -> bool { in applyScopeRestrictions() local419 preserveDiscardableGVs(*MergedModule, mustPreserveGV); in applyScopeRestrictions()445 internalizeModule(*MergedModule, mustPreserveGV); in applyScopeRestrictions()
342 static bool mustPreserveGV(const GlobalValue &GV) { in mustPreserveGV() function370 PM.add(createInternalizePass(mustPreserveGV)); in adjustPassManager()384 PM.add(createInternalizePass(mustPreserveGV)); in adjustPassManager()
203 llvm::function_ref<bool(const GlobalValue &)> mustPreserveGV);
195 llvm::function_ref<bool(const GlobalValue &)> mustPreserveGV);