1. 52e7108 Add support for a chain of stat caches in the FileManager, rather than by Douglas Gregor · 15 years ago
  2. 1eb4433 Remove tabs, and whitespace cleanups. by Mike Stump · 15 years ago
  3. 6cb7c1a Replace cerr with errs(). by Benjamin Kramer · 15 years ago
  4. 9378ba4 Move the on-disk hash table code into its own header. No functionality change. by Douglas Gregor · 16 years ago
  5. 22f0d09 PTHManager::Create(): by Ted Kremenek · 16 years ago
  6. 783bb74 Add back warning about a PTH file not containing any identifiers, but don't make by Ted Kremenek · 16 years ago
  7. 8fbc44d Allow PTH files with no identifiers. by Ted Kremenek · 16 years ago
  8. 1d20197 PTHManager::Create() now creates a PTHManager even if the PTH file contains no by Ted Kremenek · 16 years ago
  9. 6822863 Add PTHManager::getOriginalSourceFile(), a method that returns the name of the by Ted Kremenek · 16 years ago
  10. d578569 Move PTHStatCache within the anonymous namespace. by Ted Kremenek · 16 years ago
  11. 640f552 Fix another PTH warning that should not be a note. by Ted Kremenek · 16 years ago
  12. 395c59c Make PTH warnings actual warnings instead of 'notes'. by Ted Kremenek · 16 years ago
  13. ad6ce5c PTH: Cache directory and negative 'stat' calls. This gives us a 1% performance improvement on Cocoa.h (fsyntax-only+PTH). by Ted Kremenek · 16 years ago
  14. a4b44dd Add some boilerplate to the PTH file to prepare for the caching of stats for directories (and negative stats too). by Ted Kremenek · 16 years ago
  15. 03a2807 Fix gcc warning: gcc correctly notes that const-qualifying the return by Eli Friedman · 16 years ago
  16. 82320e9 Fix assertion when input is an empty string. by Daniel Dunbar · 16 years ago
  17. 5f747d1 Re-enable PTH stat caching. All tests pass now. by Ted Kremenek · 16 years ago
  18. d69ab87 Fix bad reading of bytes in ReadUnalignedLE64() (copy-paste error). by Ted Kremenek · 16 years ago
  19. c8b44f5 Temporarily disable PTH stat caching as it appears to be failing on some machines. by Ted Kremenek · 16 years ago
  20. 337edcd PTH: Cache stat information for files in the PTH file. Hook up FileManager by Ted Kremenek · 16 years ago
  21. a4bd8eb PTH: Have meta data be at the beginning of the PTH file, not the end. by Ted Kremenek · 16 years ago
  22. 7e3a004 PTH: Replace string identifier to persistent ID lookup with a hashtable. This is by Ted Kremenek · 16 years ago
  23. f1de464 PTH: Don't emit the PTH offset of the IdentifierInfo string data as that data is by Ted Kremenek · 16 years ago
  24. d8c0292 PTH: Replace ad hoc 'file name' -> 'PTH data' lookup table in the PTH file with an on-disk chained hash table. This data structure is implemented using templates, and will be used to replace similar data structures. This change leads to no visibile performance impact on Cocoa.h, but now we only pay a price for the table on order with the number of files accessed and not the number in the PTH file. by Ted Kremenek · 16 years ago
  25. 26555b1 Add more PTH diagnostics for invalid PTH files, etc. by Ted Kremenek · 16 years ago
  26. 8a6aec6 Enhance PTHManager::Create() to take an optional Diagnostic* argument that can be used to report issues such as a missing PTH file. by Ted Kremenek · 16 years ago
  27. 277faca PTH: Use Token::setLiteralData() to directly store a pointer to cached spelling data in the PTH file. This removes a ton of code for looking up spellings using sourcelocations in the PTH file. This simplifies both PTH-generation and reading. by Ted Kremenek · 16 years ago
  28. 4adc71a Silence warning. by Ted Kremenek · 16 years ago
  29. 67d1505 Add version number checking to PTH files. by Ted Kremenek · 16 years ago
  30. e1b6498 Embed the offset of the PTH table inside the prologue of the PTH file. This will help improve gradual versioning of PTH files instead of relying that the PTH table is at a fixed offset. by Ted Kremenek · 16 years ago
  31. de7aeef Check in the long promised SourceLocation rewrite. This lays the by Chris Lattner · 16 years ago
  32. 863c486 This is a follow-up to r62675: by Chris Lattner · 16 years ago
  33. fbc3338 Update comment. by Chris Lattner · 16 years ago
  34. 6f78c3b remove my gross #ifdef's, using portable abstractions now that the 32-bit by Chris Lattner · 16 years ago
  35. 5ff4317 remove Read8/Read24, which are dead. Rename Read16/Read32 to be more by Chris Lattner · 16 years ago
  36. b248d53 Fix <rdar://problem/6512717> by correctly reading the right offset in the token data in PTHLexer::getSourceLocation(). by Ted Kremenek · 16 years ago
  37. d0a6969 merge two checks for identifiers in the pth loop into one. by Chris Lattner · 16 years ago
  38. 6a170eb Add a bit to IdentifierInfo that acts as a simple predicate which by Chris Lattner · 16 years ago
  39. cdd8f21 Don't crash on empty PTH files. This fixes <rdar://problem/6512714>. by Ted Kremenek · 16 years ago
  40. 6353beb really we only need on Read24! by Chris Lattner · 16 years ago
  41. aff6ef8 revert my previous patch, it assumed endianness. by Chris Lattner · 16 years ago
  42. 2f6572b minor cleanups: now that tokens are 4-byte aligned in a PTH by Chris Lattner · 16 years ago
  43. ea9c26b Fix: <rdar://problem/6510344> [pth] PTH slows down regular lexer considerably (when it has substantial work) by Ted Kremenek · 16 years ago
  44. 7b78b7c PTH: Emitted tokens now consist of 12 bytes that are loaded used 3 32-bit loads. This reduces user time but increases system time because of the slightly larger PTH file. Although there is no performance win on Cocoa.h and -Eonly, overall this seems like a good step. by Ted Kremenek · 16 years ago
  45. 77ecb3a rearrange GetIdentifierInfo so that the fast path can be partially inlined into PTHLexer::Lex. This speeds up the user time of PTH -Eonly by another 2ms (4.4%) by Chris Lattner · 16 years ago
  46. 898a0bb rename some variables, only set a tokens identifierinfo if non-null. by Chris Lattner · 16 years ago
  47. f15674c On i386 and x86-64, just do unaligned loads by Chris Lattner · 16 years ago
  48. 1b5285e switch PTHLexer to use Read32 and friends instead of lots of inlined by Chris Lattner · 16 years ago
  49. da9d61c switch PTH lexer from using "const char*"s to "const unsigned char*"s by Chris Lattner · 16 years ago
  50. f056d92 simplify PTHManager::CreateLexer by Chris Lattner · 16 years ago
  51. 6b7b840 suck the call to "getSpellingLoc" that all clients do into by Chris Lattner · 16 years ago
  52. 2b2453a this massive patch introduces a simple new abstraction: it makes by Chris Lattner · 16 years ago
  53. df7c17a Change some terminology in SourceLocation: instead of referring to by Chris Lattner · 16 years ago
  54. e1deaac PTH: Fix termination condition in binary search. by Ted Kremenek · 16 years ago
  55. 72b1b15 IdentifierInfo: by Ted Kremenek · 16 years ago
  56. 293b4af PTH: Embed a persistentID side-table in the PTH file that is sorted in the by Ted Kremenek · 16 years ago
  57. 2839660 PTH: by Ted Kremenek · 16 years ago
  58. 7bd88aa Fix corner cases in PTH getSpelling() binary search. by Ted Kremenek · 16 years ago
  59. f02f6f0 PTH: Fix remaining cases where the spelling cache in the PTH file was being missed when it shouldn't. This shaves another 7% off PTH time for -Eonly on Cocoa.h by Ted Kremenek · 16 years ago
  60. 5f07426 Enhance PTH 'getSpelling' caching: by Ted Kremenek · 16 years ago
  61. defb709 Invert assertion condition. by Ted Kremenek · 16 years ago
  62. 32a8ad5 PTH: Hook up getSpelling() caching in PTHLexer. This results in a nice by Ted Kremenek · 16 years ago
  63. b70e3da PTH: by Ted Kremenek · 16 years ago
  64. 59d08cb PTH: Remove some methods and simplify some conditions in PTHLexer::Lex(). No big functionality change. by Ted Kremenek · 16 years ago
  65. 18d9afb PTH: Use 3 bytes instead of 4 bytes to encode the persistent ID for a token. by Ted Kremenek · 16 years ago
  66. 6b1c970 Cosmetics: rename a variable and tighten spacing. No functionality change. by Ted Kremenek · 16 years ago
  67. 8f174e1 PTH: by Ted Kremenek · 16 years ago
  68. 866bdf7 PTH: by Ted Kremenek · 16 years ago
  69. e5680f3 PTH: by Ted Kremenek · 16 years ago
  70. 80d2f30 Use '&' to test StartOfLine flag. by Ted Kremenek · 16 years ago
  71. 74c3e6e Rewrite PTHLexer::DiscardToEndOfLine() to not use GetToken and instead only read the bytes needed to determine if a token is not at the start of the line. by Ted Kremenek · 16 years ago
  72. 30a12ec Change PTHLexer::getSourceLocation() to not call GetToken() and instead just read the file offset in the token data buffer directly. by Ted Kremenek · 16 years ago
  73. b60d799 add a dropped word back by Chris Lattner · 16 years ago
  74. 1c13c4f Shadow CurPtr with a local variable in ReadToken. by Ted Kremenek · 16 years ago
  75. 41a2660 PTH: Added minor 'sibling jumping' optimization for iterating over the side table used for fast preprocessor block skipping. This has a minor performance improvement when preprocessing Cocoa.h, but can have some wins in pathologic cases. by Ted Kremenek · 16 years ago
  76. 268ee70 Added PTH optimization to not process entire blocks of tokens that appear in skipped preprocessor blocks. This improves PTH speed by 6%. The code for this optimization itself is not very optimized, and will get cleaned up. by Ted Kremenek · 16 years ago
  77. fb645b6 PTH: by Ted Kremenek · 16 years ago
  78. cd22344 PTHLexer: Keep track of the location of the last '#' token and provide the means to jump ahead in the token stream. by Ted Kremenek · 16 years ago
  79. 7415326 Remove unused ivar CurTokenIdx. by Ted Kremenek · 16 years ago
  80. cf58e62 Declare PerIDCache as IdentifierInfo** instead of void*. This is just cleaner. No performance change. by Ted Kremenek · 16 years ago
  81. 0e50b6e Remove unneeded assertion. by Ted Kremenek · 16 years ago
  82. 271b7af Use 'free' to release PerIDCache since it was allocated using calloc(). by Ted Kremenek · 16 years ago
  83. 6183e48 PTH: by Ted Kremenek · 16 years ago
  84. 0c6a77b - Remove PTHManager.cpp. Move all of its functions to PTHLexer.cpp since some of the internal methods are used by PTHLexer (their implementations are intertwined.) This enables some important inlining opportunities at -O3. by Ted Kremenek · 16 years ago
  85. 82a500b PTHLexer now owns the Token vector. by Ted Kremenek · 16 years ago
  86. d2bdeed In PTHLexer::DiscardToEndOfLine() use Lex() instead of AdvanceToken(). This handles transitions in the preprocessor state. by Ted Kremenek · 16 years ago
  87. cd4e2ae PTHLexer: by Ted Kremenek · 16 years ago
  88. 89d7ee9 PTHLexer: by Ted Kremenek · 16 years ago
  89. 31aba42 PTHLexer: by Ted Kremenek · 16 years ago
  90. d6f53dc Rewrote PTHLexer::Lex by digging through the sources of Lexer again. Now we can do basic macro expansion using the PTHLexer. by Ted Kremenek · 16 years ago
  91. 452e378 - Default initialize ParsingPreprocessorDirective, ParsingFilename, and by Ted Kremenek · 16 years ago
  92. 4d35da2 Add (untested) implementation of PTHLexer::isNextPPTokenLParen() and PTHLexer::DiscardToEndOfLine(). by Ted Kremenek · 16 years ago
  93. 2f1c024 Add stub for PTHLexer::isNextPPTokenLParen(). by Ted Kremenek · 16 years ago
  94. 17ff58a When using a PTHLexer, use DiscardToEndOfLine() instead of ReadToEndOfLine(). by Ted Kremenek · 16 years ago
  95. 41938c8 - Move static function IsNonPragmaNonMacroLexer into Preprocessor.h. by Ted Kremenek · 16 years ago
  96. 51881c5 Trivial tidying by Chris Lattner · 16 years ago
  97. d6a2e7d Move some diagnostic handling to PreprocessorLexer. by Ted Kremenek · 16 years ago
  98. 274b208 Add skeleton for PTH lexer. by Ted Kremenek · 16 years ago