Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DMetadata.h191 static MetadataAsValue *getIfExists(LLVMContext &Context, Metadata *MD);
434 static ReplaceableMetadataImpl *getIfExists(Metadata &MD);
480 static ValueAsMetadata *getIfExists(Value *V);
483 return cast_or_null<ConstantAsMetadata>(getIfExists(C)); in getConstantIfExists()
487 return cast_or_null<LocalAsMetadata>(getIfExists(Local)); in getLocalIfExists()
532 static ConstantAsMetadata *getIfExists(Constant *C) { in getIfExists() function
558 static LocalAsMetadata *getIfExists(Value *Local) { in getIfExists() function
1217 static inline MDTuple *getIfExists(LLVMContext &Context,
1504 static MDTuple *getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) {
1547 MDTuple *MDNode::getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) {
[all …]
H A DDebugInfoMetadata.h55 static CLASS *getIfExists(LLVMContext &Context, \
1520 static void getIfExists() = delete;
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DMetadata.cpp111 MetadataAsValue *MetadataAsValue::getIfExists(LLVMContext &Context, in getIfExists() function in MetadataAsValue
225 if (auto *R = ReplaceableMetadataImpl::getIfExists(MD)) in untrack()
235 if (auto *R = ReplaceableMetadataImpl::getIfExists(MD)) { in retrack()
461 ReplaceableMetadataImpl *ReplaceableMetadataImpl::getIfExists(Metadata &MD) { in getIfExists() function in ReplaceableMetadataImpl
514 ValueAsMetadata *ValueAsMetadata::getIfExists(Value *V) { in getIfExists() function in ValueAsMetadata
H A DDebugInfo.cpp52 auto *L = LocalAsMetadata::getIfExists(V); in findDbgDeclares()
55 auto *MDV = MetadataAsValue::getIfExists(V->getContext(), L); in findDbgDeclares()
71 auto *L = LocalAsMetadata::getIfExists(V); in findDVRDeclares()
105 if (auto *MDV = MetadataAsValue::getIfExists(Ctx, MD)) { in findDbgIntrinsics()
123 if (auto *L = LocalAsMetadata::getIfExists(V)) { in findDbgIntrinsics()
1812 auto *IDAsValue = MetadataAsValue::getIfExists(Ctx, ID); in getAssignmentMarkers()
H A DVerifier.cpp4879 if (auto *AsValue = MetadataAsValue::getIfExists(Context, MD)) { in visitDIAssignIDMetadata()