Skip to content
  1. Mar 21, 2013
  2. Feb 20, 2013
  3. Dec 03, 2012
    • Chandler Carruth's avatar
      Use the new script to sort the includes of every file under lib. · ed0881b2
      Chandler Carruth authored
      Sooooo many of these had incorrect or strange main module includes.
      I have manually inspected all of these, and fixed the main module
      include to be the nearest plausible thing I could find. If you own or
      care about any of these source files, I encourage you to take some time
      and check that these edits were sensible. I can't have broken anything
      (I strictly added headers, and reordered them, never removed), but they
      may not be the headers you'd really like to identify as containing the
      API being implemented.
      
      Many forward declarations and missing includes were added to a header
      files to allow them to parse cleanly when included first. The main
      module rule does in fact have its merits. =]
      
      llvm-svn: 169131
      ed0881b2
  4. Sep 27, 2012
  5. Jul 11, 2012
  6. Jun 08, 2012
  7. Mar 14, 2012
  8. Mar 12, 2012
  9. Mar 11, 2012
  10. Mar 04, 2012
    • Chandler Carruth's avatar
      Replace the hashing functions on APInt and APFloat with overloads of the · 71bd7d1e
      Chandler Carruth authored
      new hash_value infrastructure, and replace their implementations using
      hash_combine. This removes a complete copy of Jenkin's lookup3 hash
      function (which is both significantly slower and lower quality than the
      one implemented in hash_combine) along with a somewhat scary xor-only
      hash function.
      
      Now that APInt and APFloat can be passed directly to hash_combine,
      simplify the rest of the LLVMContextImpl hashing to use the new
      infrastructure.
      
      llvm-svn: 152004
      71bd7d1e
  11. Feb 24, 2012
  12. Jan 28, 2012
  13. Dec 22, 2011
  14. Dec 16, 2011
  15. Dec 01, 2011
  16. Nov 23, 2011
  17. Oct 08, 2011
  18. Sep 20, 2011
  19. Sep 19, 2011
  20. Sep 14, 2011
  21. Jul 18, 2011
  22. Jun 15, 2011
    • Ted Kremenek's avatar
      add option for literal formatting to APInt::toString() · b05f02e9
      Ted Kremenek authored
      toString() now takes an optional bool argument that,
      depending on the radix, adds the appropriate prefix
      to the integer's string representation that makes it into a
      meaningful C literal, e.g.:
      
      hexademical: '-f' becomes '-0xf'
      octal: '77' becomes '077'
      binary: '110' becomes '0b110'
      
      Patch by nobled@dreamwidth.org!
      
      llvm-svn: 133032
      b05f02e9
  23. May 22, 2011
  24. Apr 15, 2011
  25. Mar 27, 2011
  26. Mar 17, 2011
  27. Feb 21, 2011
    • Cameron Zwarich's avatar
      The signed version of our "magic number" computation for the integer approximation · 8731d0cc
      Cameron Zwarich authored
      of a constant had a minor typo introduced when copying it from the book, which
      caused it to favor negative approximations over positive approximations in many
      cases. Positive approximations require fewer operations beyond the multiplication.
      
      In the case of division by 3, we still generate code that is a single instruction
      larger than GCC's code.
      
      llvm-svn: 126097
      8731d0cc
  28. Dec 07, 2010
  29. Dec 04, 2010
  30. Dec 01, 2010
  31. Nov 30, 2010
  32. Nov 18, 2010
  33. Oct 14, 2010
  34. Aug 18, 2010
Loading