Skip to content
  1. Aug 06, 2010
  2. Jul 28, 2010
  3. Jul 22, 2010
  4. Jul 02, 2010
  5. Jun 25, 2010
  6. Jun 24, 2010
  7. Jun 22, 2010
  8. Apr 17, 2010
  9. Apr 16, 2010
  10. Apr 15, 2010
  11. Feb 11, 2010
  12. Jan 05, 2010
  13. Jan 03, 2010
  14. Dec 02, 2009
  15. Nov 10, 2009
  16. Nov 07, 2009
  17. Nov 05, 2009
  18. Oct 28, 2009
  19. Oct 27, 2009
  20. Oct 24, 2009
  21. Sep 02, 2009
  22. Jul 24, 2009
  23. May 09, 2009
  24. Jan 12, 2009
  25. Dec 07, 2008
  26. Dec 06, 2008
  27. Dec 05, 2008
    • Chris Lattner's avatar
      Make a few major changes to memdep and its clients: · 0e3d6337
      Chris Lattner authored
      1. Merge the 'None' result into 'Normal', making loads
         and stores return their dependencies on allocations as Normal.
      2. Split the 'Normal' result into 'Clobber' and 'Def' to
         distinguish between the cases when memdep knows the value is
         produced from when we just know if may be changed.
      3. Move some of the logic for determining whether readonly calls
         are CSEs into memdep instead of it being in GVN.  This still
         leaves verification that the arguments are hte same to GVN to
         let it know about value equivalences in different contexts.
      4. Change memdep's call/call dependency analysis to use 
         getModRefInfo(CallSite,CallSite) instead of doing something 
         very weak.  This only really matters for things like DSA, but
         someday maybe we'll have some other decent context sensitive
         analyses :)
      5. This reimplements the guts of memdep to handle the new results.
      6. This simplifies GVN significantly:
         a) readonly call CSE is slightly simpler
         b) I eliminated the "getDependencyFrom" chaining for load 
            elimination and load CSE doesn't have to worry about 
            volatile (they are always clobbers) anymore.
         c) GVN no longer does any 'lastLoad' caching, leaving it to 
            memdep.
      7. The logic in DSE is simplified a bit and sped up.  A potentially
         unsafe case was eliminated.
      
      llvm-svn: 60607
      0e3d6337
Loading