[PATCH] D30713: Add support for DenseMap/DenseSet count and find using const pointers

Daniel Berlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 7 12:04:20 PST 2017


dberlin created this revision.
Herald added a subscriber: mzolotukhin.

Similar to SmallPtrSet, this makes find and count work with both const
referneces and const pointers.


https://reviews.llvm.org/D30713

Files:
  include/llvm/ADT/DenseMap.h
  include/llvm/ADT/DenseSet.h
  include/llvm/Support/type_traits.h
  lib/Transforms/Vectorize/LoopVectorize.cpp
  unittests/ADT/DenseMapTest.cpp
  unittests/ADT/DenseSetTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30713.90908.patch
Type: text/x-patch
Size: 6025 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170307/a562e883/attachment.bin>


More information about the llvm-commits mailing list