Skip to content
  1. Oct 19, 2010
    • Owen Anderson's avatar
      Get rid of static constructors for pass registration. Instead, every pass... · 6c18d1aa
      Owen Anderson authored
      Get rid of static constructors for pass registration.  Instead, every pass exposes an initializeMyPassFunction(), which
      must be called in the pass's constructor.  This function uses static dependency declarations to recursively initialize
      the pass's dependencies.
      
      Clients that only create passes through the createFooPass() APIs will require no changes.  Clients that want to use the
      CommandLine options for passes will need to manually call the appropriate initialization functions in PassInitialization.h
      before parsing commandline arguments.
      
      I have tested this with all standard configurations of clang and llvm-gcc on Darwin.  It is possible that there are problems
      with the static dependencies that will only be visible with non-standard options.  If you encounter any crash in pass
      registration/creation, please send the testcase to me directly.
      
      llvm-svn: 116820
      6c18d1aa
  2. Oct 13, 2010
  3. Oct 12, 2010
  4. Oct 08, 2010
  5. Sep 01, 2010
  6. Aug 29, 2010
  7. Aug 06, 2010
  8. Jul 22, 2010
  9. Jun 24, 2010
  10. Jun 09, 2010
  11. Apr 20, 2010
  12. Apr 05, 2010
  13. Apr 03, 2010
  14. Mar 10, 2010
  15. Feb 16, 2010
  16. Feb 15, 2010
  17. Feb 02, 2010
  18. Jan 05, 2010
  19. Dec 18, 2009
  20. Dec 09, 2009
  21. Nov 25, 2009
  22. Nov 24, 2009
  23. Nov 06, 2009
  24. Nov 05, 2009
  25. Nov 01, 2009
  26. Oct 20, 2009
  27. Oct 14, 2009
  28. Oct 13, 2009
  29. Sep 09, 2009
  30. Sep 08, 2009
    • Dan Gohman's avatar
      Re-apply r80926, with fixes: keep the domtree informed of new blocks · 3ddbc242
      Dan Gohman authored
      that get created during loop unswitching, and fix SplitBlockPredecessors'
      LCSSA updating code to create new PHIs instead of trying to just move
      existing ones.
      
      Also, optimize Loop::verifyLoop, since it gets called a lot. Use
      searches on a sorted list of blocks instead of calling the "contains"
      function, as is done in other places in the Loop class, since "contains"
      does a linear search. Also, don't call verifyLoop from LoopSimplify or
      LCSSA, as the PassManager is already calling verifyLoop as part of
      LoopInfo's verifyAnalysis.
      
      llvm-svn: 81221
      3ddbc242
  31. Sep 06, 2009
Loading