Searched refs:getIfExists (Results 1 – 5 of 5) sorted by relevance
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | Metadata.h | 189 static MetadataAsValue *getIfExists(LLVMContext &Context, Metadata *MD); 323 static ReplaceableMetadataImpl *getIfExists(Metadata &MD); 369 static ValueAsMetadata *getIfExists(Value *V); 372 return cast_or_null<ConstantAsMetadata>(getIfExists(C)); in getConstantIfExists() 376 return cast_or_null<LocalAsMetadata>(getIfExists(Local)); in getLocalIfExists() 414 static ConstantAsMetadata *getIfExists(Constant *C) { in getIfExists() function 440 static LocalAsMetadata *getIfExists(Value *Local) { in getIfExists() function 908 static inline MDTuple *getIfExists(LLVMContext &Context, 1137 static MDTuple *getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) { 1170 MDTuple *MDNode::getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) { [all …]
|
| H A D | DebugInfoMetadata.h | 55 static CLASS *getIfExists(LLVMContext &Context, \ 1254 static void getIfExists() = delete;
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Metadata.cpp | 114 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() 320 ReplaceableMetadataImpl *ReplaceableMetadataImpl::getIfExists(Metadata &MD) { in getIfExists() function in ReplaceableMetadataImpl 368 ValueAsMetadata *ValueAsMetadata::getIfExists(Value *V) { in getIfExists() function in ValueAsMetadata
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 1478 auto *L = LocalAsMetadata::getIfExists(V); in FindDbgAddrUses() 1481 auto *MDV = MetadataAsValue::getIfExists(V->getContext(), L); in FindDbgAddrUses() 1500 if (auto *L = LocalAsMetadata::getIfExists(V)) in findDbgValues() 1501 if (auto *MDV = MetadataAsValue::getIfExists(V->getContext(), L)) in findDbgValues() 1513 if (auto *L = LocalAsMetadata::getIfExists(V)) in findDbgUsers() 1514 if (auto *MDV = MetadataAsValue::getIfExists(V->getContext(), L)) in findDbgUsers() 1577 if (auto *L = LocalAsMetadata::getIfExists(AI)) in replaceDbgValueForAlloca() 1578 if (auto *MDV = MetadataAsValue::getIfExists(AI->getContext(), L)) in replaceDbgValueForAlloca()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/IPO/ |
| H A D | Inliner.cpp | 225 if (auto *L = LocalAsMetadata::getIfExists(AI)) in mergeInlinedArrayAllocas() 226 if (auto *MDV = MetadataAsValue::getIfExists(AI->getContext(), L)) in mergeInlinedArrayAllocas()
|