Lines Matching refs:SFS
135 SmallVector<std::unique_ptr<StableFunctionMap::StableFunctionEntry>> &SFS) { in removeIdenticalIndexPair() argument
136 auto &RSF = SFS[0]; in removeIdenticalIndexPair()
137 unsigned StableFunctionCount = SFS.size(); in removeIdenticalIndexPair()
143 auto &SF = SFS[J]; in removeIdenticalIndexPair()
158 for (auto &SF : SFS) in removeIdenticalIndexPair()
164 &SFS) { in isProfitable()
165 unsigned StableFunctionCount = SFS.size(); in isProfitable()
169 unsigned InstCount = SFS[0]->InstCount; in isProfitable()
175 for (auto &SF : SFS) { in isProfitable()
196 LLVM_DEBUG(dbgs() << "isProfitable: Hash = " << SFS[0]->Hash << ", " in isProfitable()
206 auto &[StableHash, SFS] = *It; in finalize()
209 llvm::stable_sort(SFS, [&](const std::unique_ptr<StableFunctionEntry> &L, in finalize()
215 auto &RSF = SFS[0]; in finalize()
218 unsigned StableFunctionCount = SFS.size(); in finalize()
220 auto &SF = SFS[I]; in finalize()
248 removeIdenticalIndexPair(SFS); in finalize()
250 if (!isProfitable(SFS)) in finalize()