summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-02-12 03:26:59 +0000
committerTed Kremenek <kremenek@apple.com>2009-02-12 03:26:59 +0000
commita5c2c27ebd5c714105b526b0317a192bf75f1659 (patch)
tree4949f08c4a7ccd100911ebaeaf765872bd75353a /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentb92c4d72a7fee4cb18f5917f2456fd0713d52d60 (diff)
downloadbcm5719-llvm-a5c2c27ebd5c714105b526b0317a192bf75f1659.tar.gz
bcm5719-llvm-a5c2c27ebd5c714105b526b0317a192bf75f1659.zip
PTH: Cache stat information for files in the PTH file. Hook up FileManager
to use this stat information in the PTH file using a 'StatSysCallCache' object. Performance impact (Cocoa.h, PTH): - number of stat calls reduces from 1230 to 425 - fsyntax-only: time improves by 4.2% We can reduce the number of stat calls to almost zero by caching negative stat calls and directory stat calls in the PTH file as well. llvm-svn: 64353
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud