Home
last modified time | relevance | path

Searched refs:ReplaceableMetadataImpl (Results 1 – 3 of 3) sorted by relevance

/external/llvm/include/llvm/IR/
DMetadata.h45 friend class ReplaceableMetadataImpl; variable
150 friend class ReplaceableMetadataImpl; variable
252 class ReplaceableMetadataImpl {
264 ReplaceableMetadataImpl(LLVMContext &Context) in ReplaceableMetadataImpl() function
266 ~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; variable
320 ReplaceableMetadataImpl::resolveAllUses(/* ResolveUsers */ false); in dropUsers()
[all …]
/external/llvm/lib/IR/
DMetadata.cpp125 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 …]
/external/llvm/unittests/IR/
DMetadataTest.cpp38 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()