Skip to content
  1. Dec 18, 2008
  2. Dec 17, 2008
  3. Dec 12, 2008
    • Ted Kremenek's avatar
      PTH: Added minor 'sibling jumping' optimization for iterating over the side... · 877556f4
      Ted Kremenek authored
      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.
      
      llvm-svn: 60966
      877556f4
    • Ted Kremenek's avatar
      Added PTH optimization to not process entire blocks of tokens that appear in... · 56572ab9
      Ted Kremenek authored
      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.
      
      llvm-svn: 60956
      56572ab9
    • Ted Kremenek's avatar
      PTH: · 864eb392
      Ted Kremenek authored
      - Added a side-table per each token-cached file with the preprocessor conditional stack.  This tracks what #if's are matched with what #endifs and where their respective tokens are in the PTH file.  This will allow for quick skipping of excluded conditional branches in the Preprocessor.
      - Performance testing shows the addition of this information (without actually utilizing it) leads to no performance regressions.
      
      llvm-svn: 60911
      864eb392
  4. Dec 11, 2008
  5. Dec 10, 2008
  6. Dec 04, 2008
  7. Dec 03, 2008
    • Ted Kremenek's avatar
      PTH: · 73a4d287
      Ted Kremenek authored
      Use an array instead of a DenseMap to cache persistent IDs -> IdentifierInfo*.  This leads to a 4% speedup at -fsyntax-only using PTH.
      
      llvm-svn: 60452
      73a4d287
    • Ted Kremenek's avatar
      - Remove PTHManager.cpp. Move all of its functions to PTHLexer.cpp since some... · 33eeabda
      Ted Kremenek authored
      - 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.
      
      - Don't construct an std::vector<Token> prior to feeding PTH tokens to the Preprocessor.  Stream them off the PTH file directly.
      
      llvm-svn: 60447
      33eeabda
  8. Nov 27, 2008
  9. Nov 22, 2008
  10. Nov 21, 2008
    • Ted Kremenek's avatar
      PTHLexer: · 53ab374d
      Ted Kremenek authored
      - Move out logic for handling the end-of-file to LexEndOfFile (to match the Lexer) class.  The logic now mirrors the Lexer class more, which allows us to pass most of the Preprocessor test cases.
      
      llvm-svn: 59768
      53ab374d
  11. Nov 20, 2008
  12. Nov 19, 2008
  13. Nov 16, 2008
  14. Nov 13, 2008
  15. Nov 12, 2008
Loading