- 52e7108 Add support for a chain of stat caches in the FileManager, rather than by Douglas Gregor · 15 years ago
- 1eb4433 Remove tabs, and whitespace cleanups. by Mike Stump · 15 years ago
- 6cb7c1a Replace cerr with errs(). by Benjamin Kramer · 15 years ago
- 9378ba4 Move the on-disk hash table code into its own header. No functionality change. by Douglas Gregor · 16 years ago
- 22f0d09 PTHManager::Create(): by Ted Kremenek · 16 years ago
- 783bb74 Add back warning about a PTH file not containing any identifiers, but don't make by Ted Kremenek · 16 years ago
- 8fbc44d Allow PTH files with no identifiers. by Ted Kremenek · 16 years ago
- 1d20197 PTHManager::Create() now creates a PTHManager even if the PTH file contains no by Ted Kremenek · 16 years ago
- 6822863 Add PTHManager::getOriginalSourceFile(), a method that returns the name of the by Ted Kremenek · 16 years ago
- d578569 Move PTHStatCache within the anonymous namespace. by Ted Kremenek · 16 years ago
- 640f552 Fix another PTH warning that should not be a note. by Ted Kremenek · 16 years ago
- 395c59c Make PTH warnings actual warnings instead of 'notes'. by Ted Kremenek · 16 years ago
- 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
- 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
- 03a2807 Fix gcc warning: gcc correctly notes that const-qualifying the return by Eli Friedman · 16 years ago
- 82320e9 Fix assertion when input is an empty string. by Daniel Dunbar · 16 years ago
- 5f747d1 Re-enable PTH stat caching. All tests pass now. by Ted Kremenek · 16 years ago
- d69ab87 Fix bad reading of bytes in ReadUnalignedLE64() (copy-paste error). by Ted Kremenek · 16 years ago
- c8b44f5 Temporarily disable PTH stat caching as it appears to be failing on some machines. by Ted Kremenek · 16 years ago
- 337edcd PTH: Cache stat information for files in the PTH file. Hook up FileManager by Ted Kremenek · 16 years ago
- a4bd8eb PTH: Have meta data be at the beginning of the PTH file, not the end. by Ted Kremenek · 16 years ago
- 7e3a004 PTH: Replace string identifier to persistent ID lookup with a hashtable. This is by Ted Kremenek · 16 years ago
- f1de464 PTH: Don't emit the PTH offset of the IdentifierInfo string data as that data is by Ted Kremenek · 16 years ago
- 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
- 26555b1 Add more PTH diagnostics for invalid PTH files, etc. by Ted Kremenek · 16 years ago
- 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
- 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
- 4adc71a Silence warning. by Ted Kremenek · 16 years ago
- 67d1505 Add version number checking to PTH files. by Ted Kremenek · 16 years ago
- 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
- de7aeef Check in the long promised SourceLocation rewrite. This lays the by Chris Lattner · 16 years ago
- 863c486 This is a follow-up to r62675: by Chris Lattner · 16 years ago
- fbc3338 Update comment. by Chris Lattner · 16 years ago
- 6f78c3b remove my gross #ifdef's, using portable abstractions now that the 32-bit by Chris Lattner · 16 years ago
- 5ff4317 remove Read8/Read24, which are dead. Rename Read16/Read32 to be more by Chris Lattner · 16 years ago
- b248d53 Fix <rdar://problem/6512717> by correctly reading the right offset in the token data in PTHLexer::getSourceLocation(). by Ted Kremenek · 16 years ago
- d0a6969 merge two checks for identifiers in the pth loop into one. by Chris Lattner · 16 years ago
- 6a170eb Add a bit to IdentifierInfo that acts as a simple predicate which by Chris Lattner · 16 years ago
- cdd8f21 Don't crash on empty PTH files. This fixes <rdar://problem/6512714>. by Ted Kremenek · 16 years ago
- 6353beb really we only need on Read24! by Chris Lattner · 16 years ago
- aff6ef8 revert my previous patch, it assumed endianness. by Chris Lattner · 16 years ago
- 2f6572b minor cleanups: now that tokens are 4-byte aligned in a PTH by Chris Lattner · 16 years ago
- ea9c26b Fix: <rdar://problem/6510344> [pth] PTH slows down regular lexer considerably (when it has substantial work) by Ted Kremenek · 16 years ago
- 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
- 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
- 898a0bb rename some variables, only set a tokens identifierinfo if non-null. by Chris Lattner · 16 years ago
- f15674c On i386 and x86-64, just do unaligned loads by Chris Lattner · 16 years ago
- 1b5285e switch PTHLexer to use Read32 and friends instead of lots of inlined by Chris Lattner · 16 years ago
- da9d61c switch PTH lexer from using "const char*"s to "const unsigned char*"s by Chris Lattner · 16 years ago
- f056d92 simplify PTHManager::CreateLexer by Chris Lattner · 16 years ago
- 6b7b840 suck the call to "getSpellingLoc" that all clients do into by Chris Lattner · 16 years ago
- 2b2453a this massive patch introduces a simple new abstraction: it makes by Chris Lattner · 16 years ago
- df7c17a Change some terminology in SourceLocation: instead of referring to by Chris Lattner · 16 years ago
- e1deaac PTH: Fix termination condition in binary search. by Ted Kremenek · 16 years ago
- 72b1b15 IdentifierInfo: by Ted Kremenek · 16 years ago
- 293b4af PTH: Embed a persistentID side-table in the PTH file that is sorted in the by Ted Kremenek · 16 years ago
- 2839660 PTH: by Ted Kremenek · 16 years ago
- 7bd88aa Fix corner cases in PTH getSpelling() binary search. by Ted Kremenek · 16 years ago
- 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
- 5f07426 Enhance PTH 'getSpelling' caching: by Ted Kremenek · 16 years ago
- defb709 Invert assertion condition. by Ted Kremenek · 16 years ago
- 32a8ad5 PTH: Hook up getSpelling() caching in PTHLexer. This results in a nice by Ted Kremenek · 16 years ago
- b70e3da PTH: by Ted Kremenek · 16 years ago
- 59d08cb PTH: Remove some methods and simplify some conditions in PTHLexer::Lex(). No big functionality change. by Ted Kremenek · 16 years ago
- 18d9afb PTH: Use 3 bytes instead of 4 bytes to encode the persistent ID for a token. by Ted Kremenek · 16 years ago
- 6b1c970 Cosmetics: rename a variable and tighten spacing. No functionality change. by Ted Kremenek · 16 years ago
- 8f174e1 PTH: by Ted Kremenek · 16 years ago
- 866bdf7 PTH: by Ted Kremenek · 16 years ago
- e5680f3 PTH: by Ted Kremenek · 16 years ago
- 80d2f30 Use '&' to test StartOfLine flag. by Ted Kremenek · 16 years ago
- 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
- 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
- b60d799 add a dropped word back by Chris Lattner · 16 years ago
- 1c13c4f Shadow CurPtr with a local variable in ReadToken. by Ted Kremenek · 16 years ago
- 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
- 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
- fb645b6 PTH: by Ted Kremenek · 16 years ago
- 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
- 7415326 Remove unused ivar CurTokenIdx. by Ted Kremenek · 16 years ago
- cf58e62 Declare PerIDCache as IdentifierInfo** instead of void*. This is just cleaner. No performance change. by Ted Kremenek · 16 years ago
- 0e50b6e Remove unneeded assertion. by Ted Kremenek · 16 years ago
- 271b7af Use 'free' to release PerIDCache since it was allocated using calloc(). by Ted Kremenek · 16 years ago
- 6183e48 PTH: by Ted Kremenek · 16 years ago
- 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
- 82a500b PTHLexer now owns the Token vector. by Ted Kremenek · 16 years ago
- d2bdeed In PTHLexer::DiscardToEndOfLine() use Lex() instead of AdvanceToken(). This handles transitions in the preprocessor state. by Ted Kremenek · 16 years ago
- cd4e2ae PTHLexer: by Ted Kremenek · 16 years ago
- 89d7ee9 PTHLexer: by Ted Kremenek · 16 years ago
- 31aba42 PTHLexer: by Ted Kremenek · 16 years ago
- 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
- 452e378 - Default initialize ParsingPreprocessorDirective, ParsingFilename, and by Ted Kremenek · 16 years ago
- 4d35da2 Add (untested) implementation of PTHLexer::isNextPPTokenLParen() and PTHLexer::DiscardToEndOfLine(). by Ted Kremenek · 16 years ago
- 2f1c024 Add stub for PTHLexer::isNextPPTokenLParen(). by Ted Kremenek · 16 years ago
- 17ff58a When using a PTHLexer, use DiscardToEndOfLine() instead of ReadToEndOfLine(). by Ted Kremenek · 16 years ago
- 41938c8 - Move static function IsNonPragmaNonMacroLexer into Preprocessor.h. by Ted Kremenek · 16 years ago
- 51881c5 Trivial tidying by Chris Lattner · 16 years ago
- d6a2e7d Move some diagnostic handling to PreprocessorLexer. by Ted Kremenek · 16 years ago
- 274b208 Add skeleton for PTH lexer. by Ted Kremenek · 16 years ago