Skip to content
  1. Apr 16, 2010
  2. Apr 15, 2010
  3. Apr 04, 2010
  4. Apr 02, 2010
  5. Mar 31, 2010
  6. Mar 30, 2010
  7. Feb 15, 2010
  8. Jan 05, 2010
  9. Oct 06, 2009
  10. Oct 05, 2009
  11. Sep 15, 2009
  12. Sep 08, 2009
  13. Sep 03, 2009
  14. Sep 02, 2009
  15. Sep 01, 2009
  16. Aug 23, 2009
  17. Aug 18, 2009
  18. Aug 13, 2009
  19. Jul 30, 2009
  20. Jul 29, 2009
  21. Jul 28, 2009
  22. Jul 26, 2009
  23. Jul 25, 2009
  24. Jul 22, 2009
  25. Jul 03, 2009
  26. May 09, 2009
  27. Mar 19, 2009
  28. Mar 08, 2009
  29. Jan 12, 2009
  30. 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
  31. Nov 30, 2008
  32. Nov 29, 2008
    • Chris Lattner's avatar
      Introduce and use a new MemDepResult class to hold the results of a memdep · 7f9c8a0f
      Chris Lattner authored
      query.  This makes it crystal clear what cases can escape from MemDep that
      the clients have to handle.  This also gives the clients a nice simplified
      interface to it that is easy to poke at.
      
      This patch also makes DepResultTy and MemoryDependenceAnalysis::DepType
      private, yay.
      
      llvm-svn: 60231
      7f9c8a0f
    • Chris Lattner's avatar
      Reimplement the internal abstraction used by MemDep in terms · de04e117
      Chris Lattner authored
      of a pointer/int pair instead of a manually bitmangled pointer.
      This forces clients to think a little more about checking the 
      appropriate pieces and will be useful for internal 
      implementation improvements later.
      
      I'm not particularly happy with this.  After going through this
      I don't think that the clients of memdep should be exposed to
      the internal type at all.  I'll fix this in a subsequent commit.
      
      This has no functionality change.
      
      llvm-svn: 60230
      de04e117
  33. Nov 21, 2008
Loading