Searched refs:FileAndSize (Results 1 – 2 of 2) sorted by relevance
142 auto FileAndSize = FileSizes.rbegin(); in prune() local147 FileAndSize != FileSizes.rend()) { in prune()149 sys::fs::remove(FileAndSize->second); in prune()151 TotalSize -= FileAndSize->first; in prune()152 DEBUG(dbgs() << " - Remove " << FileAndSize->second << " (size " in prune()153 << FileAndSize->first << "), new occupancy is " << TotalSize in prune()155 ++FileAndSize; in prune()
230 auto FileAndSize = FileSizes.rbegin(); in pruneCache() local235 sys::fs::remove(FileAndSize->second); in pruneCache()237 TotalSize -= FileAndSize->first; in pruneCache()239 LLVM_DEBUG(dbgs() << " - Remove " << FileAndSize->second << " (size " in pruneCache()240 << FileAndSize->first << "), new occupancy is " in pruneCache()242 ++FileAndSize; in pruneCache()273 while (TotalSize > TotalSizeTarget && FileAndSize != FileSizes.rend()) in pruneCache()