Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DMetadata.h175 static MetadataAsValue *getIfExists(LLVMContext &Context, Metadata *MD);
309 static ReplaceableMetadataImpl *getIfExists(Metadata &MD);
353 static ValueAsMetadata *getIfExists(Value *V);
355 return cast_or_null<ConstantAsMetadata>(getIfExists(C)); in getConstantIfExists()
358 return cast_or_null<LocalAsMetadata>(getIfExists(Local)); in getLocalIfExists()
396 static ConstantAsMetadata *getIfExists(Constant *C) { in getIfExists() function
422 static LocalAsMetadata *getIfExists(Value *Local) { in getIfExists() function
873 static inline MDTuple *getIfExists(LLVMContext &Context,
1103 static MDTuple *getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) {
1136 MDTuple *MDNode::getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) {
[all …]
/external/llvm/include/llvm/IR/
DMetadata.h163 static MetadataAsValue *getIfExists(LLVMContext &Context, Metadata *MD);
296 static ReplaceableMetadataImpl *getIfExists(Metadata &MD);
339 static ValueAsMetadata *getIfExists(Value *V);
341 return cast_or_null<ConstantAsMetadata>(getIfExists(C)); in getConstantIfExists()
344 return cast_or_null<LocalAsMetadata>(getIfExists(Local)); in getLocalIfExists()
381 static ConstantAsMetadata *getIfExists(Constant *C) { in getIfExists() function
406 static LocalAsMetadata *getIfExists(Value *Local) { in getIfExists() function
851 static inline MDTuple *getIfExists(LLVMContext &Context,
1077 static MDTuple *getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) {
1109 MDTuple *MDNode::getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) {
[all …]
DDebugInfoMetadata.h37 static CLASS *getIfExists(LLVMContext &Context, \
1045 static void getIfExists() = delete;
/external/swiftshader/third_party/LLVM/include/llvm/
DMetadata.h127 static MDNode *getIfExists(LLVMContext &Context, ArrayRef<Value*> Vals);
/external/llvm/lib/Transforms/IPO/
DInliner.cpp181 if (auto *L = LocalAsMetadata::getIfExists(AI)) in InlineCallIfPossible()
182 if (auto *MDV = MetadataAsValue::getIfExists(AI->getContext(), L)) in InlineCallIfPossible()
/external/llvm/lib/IR/
DMetadata.cpp81 MetadataAsValue *MetadataAsValue::getIfExists(LLVMContext &Context, in getIfExists() function in MetadataAsValue
140 if (auto *R = ReplaceableMetadataImpl::getIfExists(MD)) in untrack()
150 if (auto *R = ReplaceableMetadataImpl::getIfExists(MD)) { in retrack()
287 ReplaceableMetadataImpl *ReplaceableMetadataImpl::getIfExists(Metadata &MD) { in getIfExists() function in ReplaceableMetadataImpl
328 ValueAsMetadata *ValueAsMetadata::getIfExists(Value *V) { in getIfExists() function in ValueAsMetadata
/external/llvm/lib/Transforms/Scalar/
DLoopRotation.cpp143 if (auto *VAM = ValueAsMetadata::getIfExists(OrigHeaderVal)) { in RewriteUsesOfClonedInstructions()
144 if (auto *MAV = MetadataAsValue::getIfExists(C, VAM)) { in RewriteUsesOfClonedInstructions()
/external/llvm/lib/Transforms/Utils/
DLocal.cpp1185 if (auto *L = LocalAsMetadata::getIfExists(V)) in FindAllocaDbgDeclare()
1186 if (auto *MDV = MetadataAsValue::getIfExists(V->getContext(), L)) in FindAllocaDbgDeclare()
1283 if (auto *L = LocalAsMetadata::getIfExists(AI)) in replaceDbgValueForAlloca()
1284 if (auto *MDV = MetadataAsValue::getIfExists(AI->getContext(), L)) in replaceDbgValueForAlloca()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DMetadata.cpp245 MDNode *MDNode::getIfExists(LLVMContext &Context, ArrayRef<Value*> Vals) { in getIfExists() function in MDNode
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLocal.cpp881 if (MDNode *DebugNode = MDNode::getIfExists(V->getContext(), V)) in FindAllocaDbgDeclare()
/external/llvm/unittests/IR/
DMetadataTest.cpp192 MDNode *n4 = MDNode::getIfExists(Context, V); in TEST_F()
193 MDNode *n5 = MDNode::getIfExists(Context, c1); in TEST_F()
194 MDNode *n6 = MDNode::getIfExists(Context, c2); in TEST_F()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DScalarReplAggregates.cpp937 if (MDNode *DebugNode = MDNode::getIfExists(AI->getContext(), AI)) { in run()