Lines Matching refs:Libcalls
321 ArrayRef<StringRef> Libcalls, in applyRestriction() argument
347 std::binary_search(Libcalls.begin(), Libcalls.end(), GV.getName())) in applyRestriction()
365 static void accumulateAndSortLibcalls(std::vector<StringRef> &Libcalls, in accumulateAndSortLibcalls() argument
375 Libcalls.push_back(TLI.getName(F)); in accumulateAndSortLibcalls()
391 Libcalls.push_back(Name); in accumulateAndSortLibcalls()
394 array_pod_sort(Libcalls.begin(), Libcalls.end()); in accumulateAndSortLibcalls()
395 Libcalls.erase(std::unique(Libcalls.begin(), Libcalls.end()), in accumulateAndSortLibcalls()
396 Libcalls.end()); in accumulateAndSortLibcalls()
411 std::vector<StringRef> Libcalls; in applyScopeRestrictions() local
415 accumulateAndSortLibcalls(Libcalls, TLI, *MergedModule, *TargetMach); in applyScopeRestrictions()
418 applyRestriction(f, Libcalls, MustPreserveList, AsmUsed, Mangler); in applyScopeRestrictions()
420 applyRestriction(v, Libcalls, MustPreserveList, AsmUsed, Mangler); in applyScopeRestrictions()
422 applyRestriction(a, Libcalls, MustPreserveList, AsmUsed, Mangler); in applyScopeRestrictions()