Skip to content
  1. Nov 04, 2008
  2. Nov 03, 2008
  3. Nov 02, 2008
  4. Oct 31, 2008
  5. Oct 30, 2008
  6. Oct 29, 2008
  7. Oct 28, 2008
  8. Oct 27, 2008
    • Torok Edwin's avatar
      export an ID for the instructionNamer, allowing analysis/transformation passes · ca97b42e
      Torok Edwin authored
      that need it to require it by ID.
      
      llvm-svn: 58238
      ca97b42e
    • Chris Lattner's avatar
      Rewrite all the 'PromoteLocallyUsedAlloca[s]' logic. With the power of · 59b56913
      Chris Lattner authored
      LargeBlockInfo, we can now dramatically simplify their implementation
      and speed them up at the same time.  Now the code has time proportional
      to the number of uses of the alloca, not the size of the block.
      
      This also eliminates code that tried to batch up different allocas which
      are used in the same blocks, and eliminates the 'retry list' logic which
      was baroque and no unneccesary.  In addition to being a speedup for crazy
      cases, this is also a nice cleanup:
      
      PromoteMemoryToRegister.cpp |  270 +++++++++++++++-----------------------------
       1 file changed, 96 insertions(+), 174 deletions(-)
      
      llvm-svn: 58229
      59b56913
    • Chris Lattner's avatar
      Add a new LargeBlockInfo helper, which is just a wrapper around · f594ecc4
      Chris Lattner authored
      a trivial dense map.  Use this in RewriteSingleStoreAlloca to
      avoid aggressively rescanning blocks over and over again.  This
      fixes PR2925, speeding up mem2reg on the testcase in that bug
      from 4.56s to 0.02s in a debug build on my machine.
      
      llvm-svn: 58227
      f594ecc4
  9. Oct 24, 2008
  10. Oct 23, 2008
    • Daniel Dunbar's avatar
      Change create*Pass factory functions to return Pass* instead of · 7f39e2d8
      Daniel Dunbar authored
      LoopPass*.
       - Although less precise, this means they can be used in clients
         without RTTI (who would otherwise need to include LoopPass.h, which
         eventually includes things using dynamic_cast). This was the
         simplest solution that presented itself, but I am happy to use a
         better one if available.
      
      llvm-svn: 58010
      7f39e2d8
  11. Oct 21, 2008
  12. Oct 17, 2008
  13. Oct 16, 2008
    • Dan Gohman's avatar
      Teach instcombine's visitLoad to scan back several instructions · bc027840
      Dan Gohman authored
      to find opportunities for store-to-load forwarding or load CSE,
      in the same way that visitStore scans back to do DSE. Also, define
      a new helper function for testing whether the addresses of two
      memory accesses are known to have the same value, and use it in
      both visitStore and visitLoad.
      
      These two changes allow instcombine to eliminate loads in code
      produced by front-ends that frequently emit obviously redundant
      addressing for memory references.
      
      llvm-svn: 57608
      bc027840
  14. Oct 14, 2008
  15. Oct 13, 2008
  16. Oct 12, 2008
  17. Oct 11, 2008
  18. Oct 10, 2008
  19. Oct 09, 2008
  20. Oct 08, 2008
Loading