reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/FoldingSet.h
  221   static void Profile(const T &X, FoldingSetNodeID &ID) {
  224   static void Profile(T &X, FoldingSetNodeID &ID) {
  232   static inline bool Equals(T &X, const FoldingSetNodeID &ID, unsigned IDHash,
  240   static inline unsigned ComputeHash(T &X, FoldingSetNodeID &TempID);
  410   using iterator = FoldingSetIterator<T>;
  415   using const_iterator = FoldingSetIterator<const T>;
  420   using bucket_iterator = FoldingSetBucketIterator<T>;
  432   bool RemoveNode(T *N) { return FoldingSetBase::RemoveNode(N); }
  437   T *GetOrInsertNode(T *N) {
  437   T *GetOrInsertNode(T *N) {
  444   T *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos) {
  451   void InsertNode(T *N, void *InsertPos) {
  457   void InsertNode(T *N) {
  473 template <class T> class FoldingSet final : public FoldingSetImpl<T> {
  474   using Super = FoldingSetImpl<T>;
  480     T *TN = static_cast<T *>(N);
  481     FoldingSetTrait<T>::Profile(*TN, ID);
  488     T *TN = static_cast<T *>(N);
  489     return FoldingSetTrait<T>::Equals(*TN, ID, IDHash, TempID);
  495     T *TN = static_cast<T *>(N);
  496     return FoldingSetTrait<T>::ComputeHash(*TN, TempID);
include/llvm/CodeGen/SelectionDAG.h
  113 template<> struct FoldingSetTrait<SDVTListNode> : DefaultFoldingSetTrait<SDVTListNode> {
  114   static void Profile(const SDVTListNode &X, FoldingSetNodeID& ID) {
  118   static bool Equals(const SDVTListNode &X, const FoldingSetNodeID &ID,
  125   static unsigned ComputeHash(const SDVTListNode &X, FoldingSetNodeID &TempID) {
 1743   FoldingSet<SDVTListNode> VTListMap;
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 7369   SDVTListNode *Result = VTListMap.FindNodeOrInsertPos(ID, IP);
 7374     Result = new (Allocator) SDVTListNode(ID.Intern(Allocator), Array, 2);
 7388   SDVTListNode *Result = VTListMap.FindNodeOrInsertPos(ID, IP);
 7394     Result = new (Allocator) SDVTListNode(ID.Intern(Allocator), Array, 3);
 7409   SDVTListNode *Result = VTListMap.FindNodeOrInsertPos(ID, IP);
 7416     Result = new (Allocator) SDVTListNode(ID.Intern(Allocator), Array, 4);
 7431   SDVTListNode *Result = VTListMap.FindNodeOrInsertPos(ID, IP);
 7435     Result = new (Allocator) SDVTListNode(ID.Intern(Allocator), Array, NumVTs);