collectUsedGlobalVariables: migrate SmallPtrSetImpl overload to SmallVecImpl overload...
authorFangrui Song <i@maskray.me>
Wed, 24 Feb 2021 00:09:05 +0000 (16:09 -0800)
committerFangrui Song <i@maskray.me>
Wed, 24 Feb 2021 00:09:06 +0000 (16:09 -0800)
commitef312951fd6b4a255baf3cff27439c9ed8751651
tree4b88de287cef66f68fce79ad4497e54763cde88a
parented02f52d288fb4d8f9049868afa6af84a980cbc3
collectUsedGlobalVariables: migrate SmallPtrSetImpl overload to SmallVecImpl overload after D97128

And delete the SmallPtrSetImpl overload.

While here, decrease inline element counts from 8 to 4. See D97128 for the choice.

Reviewed By: tejohnson

Differential Revision: https://reviews.llvm.org/D97257
llvm/include/llvm/IR/Module.h
llvm/include/llvm/Transforms/Utils/FunctionImportUtils.h
llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
llvm/lib/IR/Module.cpp
llvm/lib/Object/IRSymtab.cpp
llvm/lib/Transforms/IPO/GlobalOpt.cpp
llvm/lib/Transforms/IPO/Internalize.cpp