Added "Profile" method to APFloat for use with FoldingSet.
authorTed Kremenek <kremenek@apple.com>
Mon, 11 Feb 2008 17:24:50 +0000 (17:24 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 11 Feb 2008 17:24:50 +0000 (17:24 +0000)
commit1f801fa5ada9cb40fb97ae755c282e91af54a1bc
tree892502fb68fc883c8ed89d9185f8cd586e8ef8a9
parent04feb51886805046e8b1af10b7d21bc1ef85f457
Added "Profile" method to APFloat for use with FoldingSet.

Added member template "Add" to FoldingSetNodeID that allows "adding" arbitrary
objects to a profile via dispatch to FoldingSetTrait<T>::Profile().

Removed FoldingSetNodeID::AddAPFloat and FoldingSetNodeID::APInt, as their
functionality is now replaced using the above mentioned member template.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46957 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/APFloat.h
include/llvm/ADT/FoldingSet.h
include/llvm/Support/AlignOf.h
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/Support/APFloat.cpp
lib/Support/FoldingSet.cpp