Lines Matching refs:Libcalls
388 ArrayRef<StringRef> Libcalls, in applyRestriction() argument
414 std::binary_search(Libcalls.begin(), Libcalls.end(), GV.getName())) in applyRestriction()
432 static void accumulateAndSortLibcalls(std::vector<StringRef> &Libcalls, in accumulateAndSortLibcalls() argument
442 Libcalls.push_back(TLI.getName(F)); in accumulateAndSortLibcalls()
458 Libcalls.push_back(Name); in accumulateAndSortLibcalls()
461 array_pod_sort(Libcalls.begin(), Libcalls.end()); in accumulateAndSortLibcalls()
462 Libcalls.erase(std::unique(Libcalls.begin(), Libcalls.end()), in accumulateAndSortLibcalls()
463 Libcalls.end()); in accumulateAndSortLibcalls()
479 std::vector<StringRef> Libcalls; in applyScopeRestrictions() local
483 accumulateAndSortLibcalls(Libcalls, TLI, *mergedModule, *TargetMach); in applyScopeRestrictions()
487 applyRestriction(*f, Libcalls, MustPreserveList, AsmUsed, Mangler); in applyScopeRestrictions()
490 applyRestriction(*v, Libcalls, MustPreserveList, AsmUsed, Mangler); in applyScopeRestrictions()
493 applyRestriction(*a, Libcalls, MustPreserveList, AsmUsed, Mangler); in applyScopeRestrictions()