clang-1/lib
Douglas Gregor 83941df274 Load the selector table lazily from the PCH file.
This results in a 10% speedup on the Cocoa-prefixed "Hello, World!",
all of which is (not surprisingly) user time. There was a tiny
reduction in the size of the PCH file for Cocoa.h, because certain
selectors aren't being written twice.

I'm using two new tricks here that I'd like to replicate elsewhere:
  (1) The selectors not used in the global method pool are packed into
  the blob after the global method pool's on-disk hash table and
  stored as keys, so that all selectors are in the same blob.
  (2) We record the offsets of each selector key when we write it into
  the global method pool (or after it, in the same blob). The offset
  table is written as a blob, so that we don't need to pack/unpack a
  SmallVector with its contents.




git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70055 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-25 17:48:32 +00:00
..
AST fix PR4049, a crash on invalid, by making sema install the right number of 2009-04-25 06:12:16 +00:00
Analysis Hook up attribute 'objc_ownership_retain' to the analyzer. This attribute allows 2009-04-25 01:21:50 +00:00
Basic some arm triples have weird characters in them, just fuzzy match 2009-04-23 04:22:04 +00:00
CodeGen Fix pointer addressing and array subscripting of Objective-C interface 2009-04-25 05:08:32 +00:00
Driver Revert my PCH change. I'm happy now 2009-04-25 07:18:06 +00:00
Frontend Load the selector table lazily from the PCH file. 2009-04-25 17:48:32 +00:00
Headers Fix tyop in SSSE3 header (6808876). 2009-04-20 20:31:10 +00:00
Lex Add PCH support for #import. 2009-04-24 20:03:17 +00:00
Parse This is a pretty big cleanup for how invalid decl/type are handle. 2009-04-25 08:06:05 +00:00
Rewrite Change Lexer::MeasureTokenLength to take a LangOptions reference. 2009-04-14 23:22:57 +00:00
Sema Change SemaType's "GetTypeForDeclarator" and "ConvertDeclSpecToType" to 2009-04-25 08:47:54 +00:00
CMakeLists.txt Really fix cmake style builds. 2009-03-24 17:52:34 +00:00
Makefile Stub out some structure for C++ driver. 2009-03-02 19:59:07 +00:00