Skip to content
  1. May 18, 2012
  2. May 16, 2012
  3. May 15, 2012
  4. May 14, 2012
  5. May 12, 2012
  6. May 09, 2012
  7. Apr 29, 2012
  8. Apr 26, 2012
  9. Apr 25, 2012
    • Benjamin Kramer's avatar
      Reapply the SmallMap patch with a fix. · 31f2704a
      Benjamin Kramer authored
      Comparing ~0UL with an unsigned will always return false when long is 64 bits long.
      
      llvm-svn: 155568
      31f2704a
    • Eric Christopher's avatar
      Revert "First implementation of:" · 4ff88c67
      Eric Christopher authored
      This reverts commit 76271a3366731d4c372fdebcd8d3437e6e09a61b.
      
      as it's breaking the bots.
      
      llvm-svn: 155562
      4ff88c67
    • Stepan Dyatkovskiy's avatar
      First implementation of: · 7ce39cdb
      Stepan Dyatkovskiy authored
      - FlatArrayMap. Very simple map container that uses flat array inside.
      - MultiImplMap. Map container interface, that has two modes, one for small amount of elements and one for big amount.
      - SmallMap. SmallMap is DenseMap compatible MultiImplMap. It uses FlatArrayMap for small mode, and DenseMap for big mode. 
      
      Also added unittests for new classes and update for ProgrammersManual.
      For more details about new classes see ProgrammersManual and comments in sourcecode.
      
      llvm-svn: 155557
      7ce39cdb
  10. Apr 20, 2012
    • Andrew Trick's avatar
      SparseSet: Add support for key-derived indexes and arbitrary key types. · 1eb4a0da
      Andrew Trick authored
      This nicely handles the most common case of virtual register sets, but
      also handles anticipated cases where we will map pointers to IDs.
      
      The goal is not to develop a completely generic SparseSet
      template. Instead we want to handle the expected uses within llvm
      without any template antics in the client code. I'm adding a bit of
      template nastiness here, and some assumption about expected usage in
      order to make the client code very clean.
      
      The expected common uses cases I'm designing for:
      - integer keys that need to be reindexed, and may map to additional
        data
      - densely numbered objects where we want pointer keys because no
        number->object map exists.
      
      llvm-svn: 155227
      1eb4a0da
  11. Apr 17, 2012
  12. Apr 16, 2012
  13. Apr 15, 2012
  14. Apr 04, 2012
  15. Apr 02, 2012
  16. Mar 31, 2012
  17. Mar 30, 2012
  18. Mar 29, 2012
  19. Mar 28, 2012
  20. Mar 22, 2012
    • Chandler Carruth's avatar
      Revert a series of commits to MCJIT to get the build working in CMake · e26dafeb
      Chandler Carruth authored
      (and hopefully on Windows). The bots have been down most of the day
      because of this, and it's not clear to me what all will be required to
      fix it.
      
      The commits started with r153205, then r153207, r153208, and r153221.
      The first commit seems to be the real culprit, but I couldn't revert
      a smaller number of patches.
      
      When resubmitting, r153207 and r153208 should be folded into r153205,
      they were simple build fixes.
      
      llvm-svn: 153241
      e26dafeb
  21. Mar 21, 2012
  22. Mar 15, 2012
  23. Mar 14, 2012
  24. Mar 13, 2012
  25. Mar 11, 2012
  26. Mar 07, 2012
    • Chandler Carruth's avatar
      Add support to the hashing infrastructure for automatically hashing both · 2bd66afa
      Chandler Carruth authored
      integral and enumeration types. This is accomplished with a bit of
      template type trait magic. Thanks to Richard Smith for the core idea
      here to detect viable types by detecting the set of types which can be
      default constructed in a template parameter.
      
      This is used (in conjunction with a system for detecting nullptr_t
      should it exist) to provide an is_integral_or_enum type trait that
      doesn't need a whitelist or direct compiler support.
      
      With this, the hashing is extended to the more general facility. This
      will be used in a subsequent commit to hashing more things, but I wanted
      to make sure the type trait magic went through the build bots separately
      in case other compilers don't like this formulation.
      
      llvm-svn: 152217
      2bd66afa
  27. Mar 06, 2012
  28. Mar 04, 2012
  29. Mar 03, 2012
  30. Mar 02, 2012
    • Chandler Carruth's avatar
      Simplify the pair optimization. Rather than using complex type traits, · 627e8623
      Chandler Carruth authored
      just ensure that the number of bytes in the pair is the sum of the bytes
      in each side of the pair. As long as thats true, there are no extra
      bytes that might be padding.
      
      Also add a few tests that previously would have slipped through the
      checking. The more accurate checking mechanism catches these and ensures
      they are handled conservatively correctly.
      
      Thanks to Duncan for prodding me to do this right and more simply.
      
      llvm-svn: 151891
      627e8623
Loading