Home
last modified time | relevance | path

Searched refs:getIfExists (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DMetadata.h191 static MetadataAsValue *getIfExists(LLVMContext &Context, Metadata *MD);
328 static ReplaceableMetadataImpl *getIfExists(Metadata &MD);
374 static ValueAsMetadata *getIfExists(Value *V);
377 return cast_or_null<ConstantAsMetadata>(getIfExists(C)); in getConstantIfExists()
381 return cast_or_null<LocalAsMetadata>(getIfExists(Local)); in getLocalIfExists()
423 static ConstantAsMetadata *getIfExists(Constant *C) { in getIfExists() function
449 static LocalAsMetadata *getIfExists(Value *Local) { in getIfExists() function
941 static inline MDTuple *getIfExists(LLVMContext &Context,
1169 static MDTuple *getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) {
1202 MDTuple *MDNode::getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) {
[all …]
H A DDebugInfoMetadata.h56 static CLASS *getIfExists(LLVMContext &Context, \
1412 static void getIfExists() = delete;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DDebugInfo.cpp51 auto *L = LocalAsMetadata::getIfExists(V); in FindDbgAddrUses()
54 auto *MDV = MetadataAsValue::getIfExists(V->getContext(), L); in FindDbgAddrUses()
85 if (auto *L = LocalAsMetadata::getIfExists(V)) { in findDbgValues()
86 if (auto *MDV = MetadataAsValue::getIfExists(V->getContext(), L)) { in findDbgValues()
92 if (auto *MDV = MetadataAsValue::getIfExists(V->getContext(), AL)) { in findDbgValues()
112 if (auto *L = LocalAsMetadata::getIfExists(V)) { in findDbgUsers()
113 if (auto *MDV = MetadataAsValue::getIfExists(V->getContext(), L)) { in findDbgUsers()
119 if (auto *MDV = MetadataAsValue::getIfExists(V->getContext(), AL)) { in findDbgUsers()
H A DMetadata.cpp114 MetadataAsValue *MetadataAsValue::getIfExists(LLVMContext &Context, in getIfExists() function in MetadataAsValue
173 if (auto *R = ReplaceableMetadataImpl::getIfExists(MD)) in untrack()
183 if (auto *R = ReplaceableMetadataImpl::getIfExists(MD)) { in retrack()
333 ReplaceableMetadataImpl *ReplaceableMetadataImpl::getIfExists(Metadata &MD) { in getIfExists() function in ReplaceableMetadataImpl
381 ValueAsMetadata *ValueAsMetadata::getIfExists(Value *V) { in getIfExists() function in ValueAsMetadata
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DInliner.cpp203 if (auto *L = LocalAsMetadata::getIfExists(AI)) in mergeInlinedArrayAllocas()
204 if (auto *MDV = MetadataAsValue::getIfExists(AI->getContext(), L)) in mergeInlinedArrayAllocas()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DLocal.cpp1710 if (auto *L = LocalAsMetadata::getIfExists(AI)) in replaceDbgValueForAlloca()
1711 if (auto *MDV = MetadataAsValue::getIfExists(AI->getContext(), L)) in replaceDbgValueForAlloca()