Skip to content
  1. Mar 03, 2009
  2. Mar 02, 2009
  3. Feb 18, 2009
  4. Feb 17, 2009
  5. Feb 15, 2009
  6. Jan 28, 2009
  7. Jan 25, 2009
  8. Jan 23, 2009
  9. Jan 22, 2009
  10. Jan 18, 2009
    • Duncan Sands's avatar
      BasicAliasAnalysis and FunctionAttrs were both · e0aa0d67
      Duncan Sands authored
      doing very similar pointer capture analysis.
      Factor out the common logic.  The new version
      is from FunctionAttrs since it does a better
      job than the version in BasicAliasAnalysis
      
      llvm-svn: 62461
      e0aa0d67
  11. Jan 15, 2009
  12. Jan 14, 2009
  13. Jan 13, 2009
  14. Jan 12, 2009
  15. Jan 09, 2009
  16. Jan 07, 2009
  17. Jan 05, 2009
  18. Jan 03, 2009
  19. Jan 02, 2009
    • Duncan Sands's avatar
      Load tracking means that the value analyzed may · c7affb0a
      Duncan Sands authored
      not have pointer type.  In particular, it may
      be the condition argument for a select or a GEP
      index.  While I was unable to construct a testcase
      for which some bits of the original pointer are
      captured due to one of these, it's very very close
      to being possible - so play safe and exclude these
      possibilities.
      
      llvm-svn: 61580
      c7affb0a
    • Duncan Sands's avatar
      When calculating 'nocapture' argument attributes, allow · b193a37c
      Duncan Sands authored
      the argument to be stored to an alloca by tracking uses
      of the alloca.  This occurs 4 times (out of 7121, 0.05%)
      in MultiSource/Applications, so may not be worth it.  On
      the other hand, it is easy to do and fairly cheap.  The
      functions it helps are: W_addcom and W_addlit in spiff;
      process_args (argv) in d (make_dparser); ercPixConcealIMB
      in JM/ldecod.
      
      llvm-svn: 61570
      b193a37c
    • Duncan Sands's avatar
      Improve comments and reorganize a bit - no functionality · cefc8604
      Duncan Sands authored
      change.
      
      llvm-svn: 61569
      cefc8604
    • Nick Lewycky's avatar
      Make adding nocapture a bit stronger. FreeInst is nocapture. Also, · 7e82055e
      Nick Lewycky authored
      functions that don't write can't leak a pointer except through 
      the return value, so a void readonly function is implicitly nocapture.
      
      Test these, and add a test that verifies that f1 calling f2 with an 
      otherwise dead pointer gets both of them marked nocapture.
      
      llvm-svn: 61552
      7e82055e
  20. Jan 01, 2009
  21. Dec 31, 2008
Loading