Lines Matching refs:ID
163 Node *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos);
194 virtual void GetNodeProfile(Node *N, FoldingSetNodeID &ID) const = 0;
197 virtual bool NodeEquals(Node *N, const FoldingSetNodeID &ID, unsigned IDHash,
212 static void Profile(const T &X, FoldingSetNodeID &ID) { in Profile()
213 X.Profile(ID); in Profile()
215 static void Profile(T &X, FoldingSetNodeID &ID) { in Profile()
216 X.Profile(ID); in Profile()
223 static inline bool Equals(T &X, const FoldingSetNodeID &ID, unsigned IDHash,
249 static void Profile(T &X, FoldingSetNodeID &ID, Ctx Context) { in Profile()
250 X.Profile(ID, Context); in Profile()
252 static inline bool Equals(T &X, const FoldingSetNodeID &ID, unsigned IDHash,
319 void AddNodeID(const FoldingSetNodeID &ID);
360 DefaultFoldingSetTrait<T>::Equals(T &X, const FoldingSetNodeID &ID, in Equals() argument
364 return TempID == ID; in Equals()
375 const FoldingSetNodeID &ID, in Equals() argument
380 return TempID == ID; in Equals()
400 void GetNodeProfile(Node *N, FoldingSetNodeID &ID) const override { in GetNodeProfile() argument
402 FoldingSetTrait<T>::Profile(*TN, ID); in GetNodeProfile()
406 bool NodeEquals(Node *N, const FoldingSetNodeID &ID, unsigned IDHash, in NodeEquals() argument
409 return FoldingSetTrait<T>::Equals(*TN, ID, IDHash, TempID); in NodeEquals()
451 T *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos) { in FindNodeOrInsertPos() argument
452 return static_cast<T *>(FoldingSetImpl::FindNodeOrInsertPos(ID, InsertPos)); in FindNodeOrInsertPos()
478 FoldingSetNodeID &ID) const override { in GetNodeProfile() argument
480 ContextualFoldingSetTrait<T, Ctx>::Profile(*TN, ID, Context); in GetNodeProfile()
482 bool NodeEquals(FoldingSetImpl::Node *N, const FoldingSetNodeID &ID, in NodeEquals() argument
485 return ContextualFoldingSetTrait<T, Ctx>::Equals(*TN, ID, IDHash, TempID, in NodeEquals()
530 T *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos) { in FindNodeOrInsertPos() argument
531 return static_cast<T *>(FoldingSetImpl::FindNodeOrInsertPos(ID, InsertPos)); in FindNodeOrInsertPos()
564 T *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos) { in FindNodeOrInsertPos() argument
565 return Set.FindNodeOrInsertPos(ID, InsertPos); in FindNodeOrInsertPos()
702 void Profile(FoldingSetNodeID &ID) { FoldingSetTrait<T>::Profile(data, ID); } in Profile() argument
720 explicit FastFoldingSetNode(const FoldingSetNodeID &ID) : FastID(ID) {} in FastFoldingSetNode() argument
722 void Profile(FoldingSetNodeID &ID) const { in Profile() argument
723 ID.AddNodeID(FastID); in Profile()
731 static inline void Profile(T *X, FoldingSetNodeID &ID) {
732 ID.AddPointer(X);
738 llvm::FoldingSetNodeID &ID) {
739 ID.Add(P.first);
740 ID.Add(P.second);