Skip to content

Commit

Permalink
[docs] mention that DenseMap has a SmallDenseMap variant (#70677)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdesaulniers committed Oct 30, 2023
1 parent a1b4005 commit 6939411
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions llvm/docs/ProgrammersManual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2323,6 +2323,10 @@ construct, but cheap to compare against. The DenseMapInfo is responsible for
defining the appropriate comparison and hashing methods for each alternate key
type used.

DenseMap.h also contains a SmallDenseMap variant, that similar to
:ref:`SmallVector <dss_smallvector>` performs no heap allocation until the
number of elements in the template parameter N are exceeded.

.. _dss_valuemap:

llvm/IR/ValueMap.h
Expand Down

0 comments on commit 6939411

Please sign in to comment.