Skip to content
  1. May 05, 2007
    • Anton Korobeynikov's avatar
      Emit sections/directives in the proper order. This fixes PR1376. Also, · 4db00903
      Anton Korobeynikov authored
      some small cleanup was made.
      
      llvm-svn: 36780
      4db00903
    • Chris Lattner's avatar
      add an abbrev for loads. This shrinks the function block about 50K, from: · b80751dc
      Chris Lattner authored
        Block ID #12 (FUNCTION_BLOCK):
            Num Instances: 2344
               Total Size: 8.8434e+06b/1.10542e+06B/276356W
                % of file: 35.6726
             Average Size: 3772.78b/471.598B/117.899W
        Tot/Avg SubBlocks: 4065/1.73422
          Tot/Avg Abbrevs: 0/0
          Tot/Avg Records: 128487/54.8153
            % Abbrev Recs: 0
      
      to:
      
       Block ID #12 (FUNCTION_BLOCK):
            Num Instances: 2344
               Total Size: 8.44518e+06b/1.05565e+06B/263912W
                % of file: 34.6203
             Average Size: 3602.89b/450.362B/112.59W
        Tot/Avg SubBlocks: 4065/1.73422
          Tot/Avg Abbrevs: 0/0
          Tot/Avg Records: 128487/54.8153
            % Abbrev Recs: 22.2077
      
      llvm-svn: 36779
      b80751dc
    • Chris Lattner's avatar
      add abbrevs for the constants tables. This shrinks it from 4.49755e6 bits · da5e5d21
      Chris Lattner authored
      to 3.85972e6 bits in kc++
      
      llvm-svn: 36778
      da5e5d21
    • Chris Lattner's avatar
      Add abbreviations to the TYPE_BLOCK for pointers, functions, structs and arrays. · ccee7063
      Chris Lattner authored
      This shrinks the type_block of kc++ from 139901 bits to 99389 bits (0.55% to 0.39%
      of the file), a 40% reduction.
      
      This shrink the record from:
      
        Block ID #10 (TYPE_BLOCK):
            Num Instances: 1
               Total Size: 139901b/17487.6B/4371.91W
                % of file: 0.549306
              Num Abbrevs: 0
              Num Records: 3203
            % Abbrev Recs: 0
      
      to:
      
        Block ID #10 (TYPE_BLOCK):
            Num Instances: 1
               Total Size: 99389b/12423.6B/3105.91W
                % of file: 0.390862
              Num Abbrevs: 4
              Num Records: 3203
            % Abbrev Recs: 99.6566
      
      With a common histogram of:
      
             Code Histogram:
                      1613    POINTER
                      1100    FUNCTION
                      255     STRUCT
                      224     ARRAY
                      5       INTEGER
                      2       OPAQUE
                      1       LABEL
                      1       DOUBLE
                      1       VOID
                      1       NUMENTRY
      
      llvm-svn: 36776
      ccee7063
    • Chris Lattner's avatar
      Fix InstCombine/2007-05-04-Crash.ll and PR1384 · 5c827bda
      Chris Lattner authored
      llvm-svn: 36775
      5c827bda
    • Chris Lattner's avatar
      add a char6 abbrev for bbnames and value names. This represents each character · e760d6f4
      Chris Lattner authored
      with 6 bits where possible.  This shrinks kc++ from 3324164B to 3183584B.  The
      old VST was:
      
        Block ID #14 (VALUE_SYMTAB):
               Total Size: 1.26713e+07b/1.58391e+06B/395978W
             Average Size: 5403.53b/675.442B/168.86W
                % of file: 47.6484
      
      The new one is:
      
        Block ID #14 (VALUE_SYMTAB):
               Total Size: 1.15467e+07b/1.44334e+06B/360834W
             Average Size: 4923.96b/615.495B/153.874W
                % of file: 45.3368
      
      This is 11% smaller than the VST in the bytecode format.
      
      llvm-svn: 36771
      e760d6f4
    • Chris Lattner's avatar
      add an abbreviation for the type symtab, this shrinks the TST from 175197 bits · de05f6be
      Chris Lattner authored
      to 103165 bits:
      
      Old:
        Block ID #13 (TYPE_SYMTAB):
            Num Instances: 1
               Total Size: 175197b/21899.6B/5474.91W
             Average Size: 175197b/21899.6B/5474.91W
                % of file: 0.657023
        Tot/Avg SubBlocks: 0/0
          Tot/Avg Abbrevs: 0/0
          Tot/Avg Records: 255/255
            % Abbrev Recs: 0
      
      New:
        Block ID #13 (TYPE_SYMTAB):
            Num Instances: 1
               Total Size: 103165b/12895.6B/3223.91W
             Average Size: 103165b/12895.6B/3223.91W
                % of file: 0.387937
        Tot/Avg SubBlocks: 0/0
          Tot/Avg Abbrevs: 1/1
          Tot/Avg Records: 255/255
            % Abbrev Recs: 100
      
      llvm-svn: 36769
      de05f6be
    • Chris Lattner's avatar
      Implement support for globally associating abbrevs with block IDs, which · 982ec1ed
      Chris Lattner authored
      relieves us from having to emit the abbrevs into each instance of the block.
      This shrinks kc.bit from 3368K to 3333K, but will be a more significant win
      once instructions are abbreviated.
      
      The VST went from:
      
        Block ID #14 (VALUE_SYMTAB):
            Num Instances: 2345
               Total Size: 1.29508e+07b/1.61885e+06B/404713W
             Average Size: 5522.73b/690.342B/172.585W
                % of file: 48.0645
        Tot/Avg SubBlocks: 0/0
          Tot/Avg Abbrevs: 7035/3
          Tot/Avg Records: 120924/51.5667
            % Abbrev Recs: 100
      
      to:
      
        Block ID #14 (VALUE_SYMTAB):
            Num Instances: 2345
               Total Size: 1.26713e+07b/1.58391e+06B/395978W
             Average Size: 5403.53b/675.442B/168.86W
                % of file: 47.5198
        Tot/Avg SubBlocks: 0/0
          Tot/Avg Abbrevs: 0/0
          Tot/Avg Records: 120924/51.5667
            % Abbrev Recs: 100
      
      because we didn't emit the same 3 abbrevs 2345 times :)
      
      llvm-svn: 36767
      982ec1ed
    • Lauro Ramos Venancio's avatar
      Add a processor. · 8f819908
      Lauro Ramos Venancio authored
      llvm-svn: 36765
      8f819908
  2. May 04, 2007
Loading