Skip to content
  1. Feb 17, 2009
  2. Feb 16, 2009
  3. Feb 14, 2009
  4. 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
  5. Nov 26, 2008
  6. Nov 18, 2008
  7. Nov 17, 2008
  8. Nov 16, 2008
  9. Nov 03, 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. Sep 10, 2008
  12. Sep 09, 2008
  13. Sep 05, 2008
  14. Sep 04, 2008
  15. Aug 06, 2008
  16. Jun 22, 2008
  17. Jun 13, 2008
  18. May 23, 2008
  19. May 16, 2008
  20. May 13, 2008
  21. Apr 06, 2008
  22. Dec 29, 2007
  23. Oct 22, 2007
  24. Sep 10, 2007
  25. 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
  26. Aug 21, 2007
  27. Jun 27, 2007
  28. Jun 19, 2007
    • Dan Gohman's avatar
      Rename ScalarEvolution::deleteInstructionFromRecords to · 32f53bbd
      Dan Gohman authored
      deleteValueFromRecords and loosen the types to all it to accept
      Value* instead of just Instruction*, since this is what
      ScalarEvolution uses internally anyway. This allows more flexibility
      for future uses.
      
      llvm-svn: 37657
      32f53bbd
  29. Jun 15, 2007
  30. Jun 06, 2007
  31. May 06, 2007
  32. May 03, 2007
  33. May 02, 2007
Loading