Searched refs:ReplaceableMetadataImpl (Results 1 – 4 of 4) sorted by relevance
19 ReplaceableMetadataImpl *ReplaceableMetadataImpl::get(Metadata &MD) { in get()29 if (auto *R = ReplaceableMetadataImpl::get(MD)) { in track()38 if (auto *R = ReplaceableMetadataImpl::get(MD)) in untrack()46 if (auto *R = ReplaceableMetadataImpl::get(MD)) { in retrack()54 return ReplaceableMetadataImpl::get(const_cast<Metadata &>(MD)); in isReplaceable()
123 void ReplaceableMetadataImpl::addRef(void *Ref, OwnerTy Owner) { in addRef()134 void ReplaceableMetadataImpl::dropRef(void *Ref) { in dropRef()140 void ReplaceableMetadataImpl::moveRef(void *Ref, void *New, in moveRef()158 void ReplaceableMetadataImpl::replaceAllUsesWith(Metadata *MD) { in replaceAllUsesWith()209 void ReplaceableMetadataImpl::resolveAllUses(bool ResolveUsers) { in resolveAllUses()434 this->Context.makeReplaceable(make_unique<ReplaceableMetadataImpl>(Context)); in MDNode()
43 friend class ReplaceableMetadataImpl; variable173 friend class ReplaceableMetadataImpl; variable204 class ReplaceableMetadataImpl {216 ReplaceableMetadataImpl(LLVMContext &Context) in ReplaceableMetadataImpl() function218 ~ReplaceableMetadataImpl() { in ~ReplaceableMetadataImpl()241 static ReplaceableMetadataImpl *get(Metadata &MD);252 class ValueAsMetadata : public Metadata, ReplaceableMetadataImpl {253 friend class ReplaceableMetadataImpl; variable260 ReplaceableMetadataImpl::resolveAllUses(/* ResolveUsers */ false); in dropUsers()265 : Metadata(ID, Uniqued), ReplaceableMetadataImpl(V->getContext()), V(V) { in ValueAsMetadata()[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()