Skip to content
  1. Apr 15, 2009
  2. Feb 24, 2009
  3. Feb 23, 2009
  4. Feb 18, 2009
  5. Feb 17, 2009
  6. Feb 16, 2009
  7. Feb 14, 2009
  8. Feb 12, 2009
    • Dan Gohman's avatar
      Teach IndVarSimplify to optimize code using the C "int" type for · eb6be650
      Dan Gohman authored
      loop induction on LP64 targets. When the induction variable is
      used in addressing, IndVars now is usually able to inserst a
      64-bit induction variable and eliminates the sign-extending cast.
      This is also useful for code using C "short" types for
      induction variables on targets with 32-bit addressing.
      
      Inserting a wider induction variable is easy; the tricky part is
      determining when trunc(sext(i)) expressions are no-ops. This
      requires range analysis of the loop trip count. A common case is
      when the original loop iteration starts at 0 and exits when the
      induction variable is signed-less-than a fixed value; this case
      is now handled.
      
      This replaces IndVarSimplify's OptimizeCanonicalIVType. It was
      doing the same optimization, but it was limited to loops with
      constant trip counts, because it was running after the loop
      rewrite, and the information about the original induction
      variable is lost by that point.
      
      Rename ScalarEvolution's executesAtLeastOnce to
      isLoopGuardedByCond, generalize it to be able to test for
      ICMP_NE conditions, and move it to be a public function so that
      IndVars can use it.
      
      llvm-svn: 64407
      eb6be650
  9. Nov 26, 2008
  10. Nov 18, 2008
  11. Nov 17, 2008
  12. Nov 16, 2008
  13. Nov 03, 2008
  14. 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
  15. Sep 10, 2008
  16. Sep 09, 2008
  17. Sep 05, 2008
  18. Sep 04, 2008
  19. Aug 06, 2008
  20. Jun 22, 2008
  21. Jun 13, 2008
  22. May 23, 2008
  23. May 16, 2008
  24. May 13, 2008
  25. Apr 06, 2008
  26. Dec 29, 2007
  27. Oct 22, 2007
  28. Sep 10, 2007
  29. Sep 04, 2007
    • David Greene's avatar
      · c656cbb8
      David Greene authored
      Update GEP constructors to use an iterator interface to fix
      GLIBCXX_DEBUG issues.
      
      llvm-svn: 41697
      c656cbb8
Loading