Home
last modified time | relevance | path

Searched refs:FileAndSize (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Support/
DCachePruning.cpp142 auto FileAndSize = FileSizes.rbegin(); in prune() local
147 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DCachePruning.cpp230 auto FileAndSize = FileSizes.rbegin(); in pruneCache() local
235 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()