Searched refs:ReplaceableMetadataImpl (Results 1 – 3 of 3) sorted by relevance
45 friend class ReplaceableMetadataImpl; variable150 friend class ReplaceableMetadataImpl; variable252 class ReplaceableMetadataImpl {264 ReplaceableMetadataImpl(LLVMContext &Context) in ReplaceableMetadataImpl() function266 ~ReplaceableMetadataImpl() { in ~ReplaceableMetadataImpl()293 static ReplaceableMetadataImpl *getOrCreate(Metadata &MD);296 static ReplaceableMetadataImpl *getIfExists(Metadata &MD);312 class ValueAsMetadata : public Metadata, ReplaceableMetadataImpl {313 friend class ReplaceableMetadataImpl; variable320 ReplaceableMetadataImpl::resolveAllUses(/* ResolveUsers */ false); in dropUsers()[all …]
125 if (auto *R = ReplaceableMetadataImpl::getOrCreate(MD)) { in track()140 if (auto *R = ReplaceableMetadataImpl::getIfExists(MD)) in untrack()150 if (auto *R = ReplaceableMetadataImpl::getIfExists(MD)) { in retrack()162 return ReplaceableMetadataImpl::isReplaceable(MD); in isReplaceable()165 void ReplaceableMetadataImpl::addRef(void *Ref, OwnerTy Owner) { in addRef()176 void ReplaceableMetadataImpl::dropRef(void *Ref) { in dropRef()182 void ReplaceableMetadataImpl::moveRef(void *Ref, void *New, in moveRef()200 void ReplaceableMetadataImpl::replaceAllUsesWith(Metadata *MD) { in replaceAllUsesWith()248 void ReplaceableMetadataImpl::resolveAllUses(bool ResolveUsers) { in resolveAllUses()281 ReplaceableMetadataImpl *ReplaceableMetadataImpl::getOrCreate(Metadata &MD) { in getOrCreate()[all …]
38 ContextAndReplaceableUses CRU(make_unique<ReplaceableMetadataImpl>(Context)); in TEST()47 CRU.makeReplaceable(make_unique<ReplaceableMetadataImpl>(Context)); in TEST()55 auto ReplaceableUses = make_unique<ReplaceableMetadataImpl>(Context); in TEST()