reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
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); 250 : public DefaultFoldingSetTrait<T> {}; 369 FoldingSetTrait<T>::Profile(X, TempID); 375 FoldingSetTrait<T>::Profile(X, 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/TableGen/Record.h
871 TernOpInit(const TernOpInit &) = delete; 872 TernOpInit &operator=(const TernOpInit &) = delete; 872 TernOpInit &operator=(const TernOpInit &) = delete; 878 static TernOpInit *get(TernaryOp opc, Init *lhs, 888 return TernOpInit::get(getOpcode(), Operands[0], Operands[1], Operands[2],lib/TableGen/Record.cpp
1054 TernOpInit *TernOpInit::get(TernaryOp Opc, Init *LHS, Init *MHS, Init *RHS, 1056 static FoldingSet<TernOpInit> ThePool; 1062 if (TernOpInit *I = ThePool.FindNodeOrInsertPos(ID, IP)) 1065 TernOpInit *I = new(Allocator) TernOpInit(Opc, LHS, MHS, RHS, Type); 1065 TernOpInit *I = new(Allocator) TernOpInit(Opc, LHS, MHS, RHS, Type); 1242 return (TernOpInit::get(getOpcode(), lhs, mhs, rhs, getType()))lib/TableGen/TGParser.cpp
1361 return (TernOpInit::get(TernOpInit::FOREACH, LHS, MHS, RHS, OutType)) 1361 return (TernOpInit::get(TernOpInit::FOREACH, LHS, MHS, RHS, OutType)) 1368 TernOpInit::TernaryOp Code; 1376 Code = TernOpInit::DAG; 1381 Code = TernOpInit::IF; 1384 Code = TernOpInit::SUBST; 1503 return (TernOpInit::get(Code, LHS, MHS, RHS, Type))->Fold(CurRec);