Skip to content
  1. Jan 09, 2010
    • Chris Lattner's avatar
      "In order to ease automatic bindings generation, it would be helpful if... · 25963c61
      Chris Lattner authored
      "In order to ease automatic bindings generation, it would be helpful if boolean values were distinguishable from integers. The attached patch introduces "typedef int LLVMBool;", and uses LLVMBool instead of int throughout the C API, wherever a boolean value is called for."
      
      Patch by James Y Knight!
      
      llvm-svn: 93079
      25963c61
  2. Jan 05, 2010
    • Devang Patel's avatar
      Remove dead debug info intrinsics. · be94f239
      Devang Patel authored
       Intrinsic::dbg_stoppoint
       Intrinsic::dbg_region_start 
       Intrinsic::dbg_region_end 
       Intrinsic::dbg_func_start
      AutoUpgrade simply ignores these intrinsics now.
      
      llvm-svn: 92557
      be94f239
  3. Nov 23, 2009
    • Duncan Sands's avatar
      I forgot to update the prototype for LLVMBuildIntCast when correcting · 9d786d70
      Duncan Sands authored
      the body to not pass the name for the isSigned parameter.  However it
      seems that changing prototypes is a big-no-no, so here I revert the
      previous change and pass "true" for isSigned, meaning this always does
      a signed cast, which was the previous behaviour assuming the name was
      not NULL!  Some other C function needs to be introduced for the general
      case of signed or unsigned casts.  This hopefully unbreaks the ocaml
      binding.
      
      llvm-svn: 89648
      9d786d70
  4. 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
  5. Oct 26, 2009
  6. Oct 23, 2009
  7. Oct 17, 2009
  8. Oct 12, 2009
  9. Sep 28, 2009
  10. 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
  11. Aug 31, 2009
  12. Aug 26, 2009
  13. Aug 19, 2009
  14. Aug 17, 2009
  15. Aug 16, 2009
  16. Aug 14, 2009
  17. Jul 20, 2009
  18. Jul 17, 2009
  19. Jul 16, 2009
  20. Jul 10, 2009
  21. Jul 08, 2009
  22. Jul 06, 2009
  23. Jul 02, 2009
  24. Jul 01, 2009
  25. May 06, 2009
  26. Apr 13, 2009
  27. Mar 11, 2009
  28. 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
  29. Dec 19, 2008
  30. Dec 17, 2008
  31. Nov 03, 2008
Loading