Searched refs:AnonymousNameInit (Results 1 – 2 of 2) sorted by relevance
661 class AnonymousNameInit : public TypedInit {664 explicit AnonymousNameInit(RecordKeeper &RK, unsigned V) in AnonymousNameInit() function668 AnonymousNameInit(const AnonymousNameInit &) = delete;669 AnonymousNameInit &operator=(const AnonymousNameInit &) = delete;675 static AnonymousNameInit *get(RecordKeeper &RK, unsigned);
611 AnonymousNameInit *AnonymousNameInit::get(RecordKeeper &RK, unsigned V) { in get()612 return new (RK.getImpl().Allocator) AnonymousNameInit(RK, V); in get()615 StringInit *AnonymousNameInit::getNameInit() const { in getNameInit()619 std::string AnonymousNameInit::getAsString() const { in getAsString()623 Init *AnonymousNameInit::resolveReferences(Resolver &R) const { in resolveReferences()628 if (auto *Anonymous = dyn_cast<AnonymousNameInit>(New)) in resolveReferences()845 auto *Anonymous = dyn_cast<AnonymousNameInit>(CurRec->getNameInit()); in Fold()2064 auto *Anonymous = dyn_cast<AnonymousNameInit>(CurRec->getNameInit()); in Fold()3179 return AnonymousNameInit::get(*this, getImpl().AnonCounter++); in getNewAnonymousName()