Home
last modified time | relevance | path

Searched refs:ReplaceableMetadataImpl (Results 1 – 7 of 7) 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/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DMetadata.h56 friend class ReplaceableMetadataImpl; variable
162 friend class ReplaceableMetadataImpl; variable
264 class ReplaceableMetadataImpl {
276 ReplaceableMetadataImpl(LLVMContext &Context) in ReplaceableMetadataImpl() function
279 ~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; variable
333 ReplaceableMetadataImpl::resolveAllUses(/* ResolveUsers */ false); in dropUsers()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DMetadata.h59 friend class ReplaceableMetadataImpl; variable
173 friend class ReplaceableMetadataImpl; variable
277 class ReplaceableMetadataImpl {
289 ReplaceableMetadataImpl(LLVMContext &Context) : Context(Context) {} in ReplaceableMetadataImpl() function
291 ~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; variable
345 ReplaceableMetadataImpl::resolveAllUses(/* ResolveUsers */ false); in dropUsers()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DMetadata.cpp158 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 …]
/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()
/external/swiftshader/third_party/llvm-7.0/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()