Searched refs:ReplaceableMetadataImpl (Results 1 – 7 of 7) 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 …]
56 friend class ReplaceableMetadataImpl; variable162 friend class ReplaceableMetadataImpl; variable264 class ReplaceableMetadataImpl {276 ReplaceableMetadataImpl(LLVMContext &Context) in ReplaceableMetadataImpl() function279 ~ReplaceableMetadataImpl() { in ~ReplaceableMetadataImpl()306 static ReplaceableMetadataImpl *getOrCreate(Metadata &MD);309 static ReplaceableMetadataImpl *getIfExists(Metadata &MD);325 class ValueAsMetadata : public Metadata, ReplaceableMetadataImpl {326 friend class ReplaceableMetadataImpl; variable333 ReplaceableMetadataImpl::resolveAllUses(/* ResolveUsers */ false); in dropUsers()[all …]
59 friend class ReplaceableMetadataImpl; variable173 friend class ReplaceableMetadataImpl; variable277 class ReplaceableMetadataImpl {289 ReplaceableMetadataImpl(LLVMContext &Context) : Context(Context) {} in ReplaceableMetadataImpl() function291 ~ReplaceableMetadataImpl() { in ~ReplaceableMetadataImpl()318 static ReplaceableMetadataImpl *getOrCreate(Metadata &MD);321 static ReplaceableMetadataImpl *getIfExists(Metadata &MD);337 class ValueAsMetadata : public Metadata, ReplaceableMetadataImpl {338 friend class ReplaceableMetadataImpl; variable345 ReplaceableMetadataImpl::resolveAllUses(/* ResolveUsers */ false); in dropUsers()[all …]
158 if (auto *R = ReplaceableMetadataImpl::getOrCreate(MD)) { in track()173 if (auto *R = ReplaceableMetadataImpl::getIfExists(MD)) in untrack()183 if (auto *R = ReplaceableMetadataImpl::getIfExists(MD)) { in retrack()195 return ReplaceableMetadataImpl::isReplaceable(MD); in isReplaceable()198 void ReplaceableMetadataImpl::addRef(void *Ref, OwnerTy Owner) { in addRef()209 void ReplaceableMetadataImpl::dropRef(void *Ref) { in dropRef()215 void ReplaceableMetadataImpl::moveRef(void *Ref, void *New, in moveRef()233 void ReplaceableMetadataImpl::replaceAllUsesWith(Metadata *MD) { in replaceAllUsesWith()281 void ReplaceableMetadataImpl::resolveAllUses(bool ResolveUsers) { in resolveAllUses()314 ReplaceableMetadataImpl *ReplaceableMetadataImpl::getOrCreate(Metadata &MD) { in getOrCreate()[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()