]> granicus.if.org Git - clang/commit
add an abbreviation for common PARM_VAR_DECL. All but 9 of the
authorChris Lattner <sabre@nondot.org>
Mon, 27 Apr 2009 07:35:58 +0000 (07:35 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 27 Apr 2009 07:35:58 +0000 (07:35 +0000)
commitea5ce4705df0743093925585d8edc80e0d8fe3ff
tree779e91bfc778df9ce8bb0487f9e55ff7c8ecf0ea
parentc47be9e5dda1dfcf65ee7a33f35198a16d239b84
add an abbreviation for common PARM_VAR_DECL.  All but 9 of the
parm var decls in leopard cocoa.h end up using this abbreviation,
which shrinks the bitcode file by about 50K: 7217736->7167120.

Before:
  Block ID #12 (DECLS_BLOCK):
      Num Instances: 1
         Total Size: 2.23595e+07b/2.79494e+06B/698736W
          % of file: 38.7233
      Num SubBlocks: 0
        Num Abbrevs: 0
        Num Records: 139387
      % Abbrev Recs: 0

After:
  Block ID #12 (DECLS_BLOCK):
      Num Instances: 1
         Total Size: 2.02405e+07b/2.53006e+06B/632516W
          % of file: 35.301
      Num SubBlocks: 0
        Num Abbrevs: 1
        Num Records: 139387
      % Abbrev Recs: 19.2902

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70199 91177308-0d34-0410-b5e6-96231b3b80d8
clang.xcodeproj/project.pbxproj
include/clang/AST/Decl.h
include/clang/Frontend/PCHWriter.h
lib/Frontend/PCHWriter.cpp
lib/Frontend/PCHWriterDecl.cpp