Skip to content
  1. Oct 27, 2009
    • Victor Hernandez's avatar
      Remove FreeInst. · de5ad42a
      Victor Hernandez authored
      Remove LowerAllocations pass.
      Update some more passes to treate free calls just like they were treating FreeInst.
      
      llvm-svn: 85176
      de5ad42a
  2. Oct 26, 2009
  3. Oct 23, 2009
  4. Oct 17, 2009
  5. Oct 12, 2009
  6. Sep 28, 2009
  7. Sep 04, 2009
    • Dan Gohman's avatar
      Revert 80959. It isn't sufficient to solve the full problem. And it · e4ca02da
      Dan Gohman authored
      introduced regressions in the Ocaml bindings tests.
      
      llvm-svn: 80969
      e4ca02da
    • Dan Gohman's avatar
      Remove the API for creating ConstantExprs with the nsw, nuw, inbounds, · 2a53b30f
      Dan Gohman authored
      and exact flags. Because ConstantExprs are uniqued, creating an
      expression with this flag causes all expressions with the same operands
      to have the same flag, which may not be safe. Add, sub, mul, and sdiv
      ConstantExprs are usually folded anyway, so the main interesting flag
      here is inbounds, and the constant folder already knows how to set the
      inbounds flag automatically in most cases, so there isn't an urgent need
      for the API support.
      
      This can be reconsidered in the future, but for now just removing these
      API bits eliminates a source of potential trouble with little downside.
      
      llvm-svn: 80959
      2a53b30f
  8. Aug 31, 2009
  9. Aug 26, 2009
  10. Aug 19, 2009
  11. Aug 17, 2009
  12. Aug 16, 2009
  13. Aug 14, 2009
  14. Jul 20, 2009
  15. Jul 17, 2009
  16. Jul 16, 2009
  17. Jul 10, 2009
  18. Jul 08, 2009
  19. Jul 06, 2009
  20. Jul 02, 2009
  21. Jul 01, 2009
  22. May 06, 2009
  23. Apr 13, 2009
  24. Mar 11, 2009
  25. Mar 07, 2009
    • Duncan Sands's avatar
      Introduce new linkage types linkonce_odr, weak_odr, common_odr · 12da8ce3
      Duncan Sands authored
      and extern_weak_odr.  These are the same as the non-odr versions,
      except that they indicate that the global will only be overridden
      by an *equivalent* global.  In C, a function with weak linkage can
      be overridden by a function which behaves completely differently.
      This means that IP passes have to skip weak functions, since any
      deductions made from the function definition might be wrong, since
      the definition could be replaced by something completely different
      at link time.   This is not allowed in C++, thanks to the ODR
      (One-Definition-Rule): if a function is replaced by another at
      link-time, then the new function must be the same as the original
      function.  If a language knows that a function or other global can
      only be overridden by an equivalent global, it can give it the
      weak_odr linkage type, and the optimizers will understand that it
      is alright to make deductions based on the function body.  The
      code generators on the other hand map weak and weak_odr linkage
      to the same thing.
      
      llvm-svn: 66339
      12da8ce3
  26. Dec 19, 2008
  27. Dec 17, 2008
  28. Nov 03, 2008
  29. Sep 25, 2008
    • Devang Patel's avatar
      Large mechanical patch. · 4c758ea3
      Devang Patel authored
      s/ParamAttr/Attribute/g
      s/PAList/AttrList/g
      s/FnAttributeWithIndex/AttributeWithIndex/g
      s/FnAttr/Attribute/g
      
      This sets the stage 
      - to implement function notes as function attributes and 
      - to distinguish between function attributes and return value attributes.
      
      This requires corresponding changes in llvm-gcc and clang.
      
      llvm-svn: 56622
      4c758ea3
  30. Aug 30, 2008
  31. Aug 17, 2008
    • Gordon Henriksen's avatar
      Rename some GC classes so that their roll will hopefully be clearer. · d930f913
      Gordon Henriksen authored
      In particular, Collector was confusing to implementors. Several
      thought that this compile-time class was the place to implement
      their runtime GC heap. Of course, it doesn't even exist at runtime.
      Specifically, the renames are:
      
        Collector               -> GCStrategy
        CollectorMetadata       -> GCFunctionInfo
        CollectorModuleMetadata -> GCModuleInfo
        CollectorRegistry       -> GCRegistry
        Function::getCollector  -> getGC (setGC, hasGC, clearGC)
      
      Several accessors and nested types have also been renamed to be
      consistent. These changes should be obvious.
      
      llvm-svn: 54899
      d930f913
Loading