Home
last modified time | relevance | path

Searched refs:getIfExists (Results 1 – 19 of 19) 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-10.0/llvm/include/llvm/IR/
DMetadata.h189 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
916 static inline MDTuple *getIfExists(LLVMContext &Context,
1145 static MDTuple *getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) {
1178 MDTuple *MDNode::getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) {
[all …]
DDebugInfoMetadata.h54 static CLASS *getIfExists(LLVMContext &Context, \
1208 static void getIfExists() = delete;
/external/llvm-project/llvm/include/llvm/IR/
DMetadata.h189 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
914 static inline MDTuple *getIfExists(LLVMContext &Context,
1143 static MDTuple *getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) {
1176 MDTuple *MDNode::getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) {
[all …]
DDebugInfoMetadata.h54 static CLASS *getIfExists(LLVMContext &Context, \
1405 static void getIfExists() = delete;
/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/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DMetadata.cpp113 MetadataAsValue *MetadataAsValue::getIfExists(LLVMContext &Context, in getIfExists() function in MetadataAsValue
172 if (auto *R = ReplaceableMetadataImpl::getIfExists(MD)) in untrack()
182 if (auto *R = ReplaceableMetadataImpl::getIfExists(MD)) { in retrack()
319 ReplaceableMetadataImpl *ReplaceableMetadataImpl::getIfExists(Metadata &MD) { in getIfExists() function in ReplaceableMetadataImpl
367 ValueAsMetadata *ValueAsMetadata::getIfExists(Value *V) { in getIfExists() function in ValueAsMetadata
/external/llvm-project/llvm/lib/IR/
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()
320 ReplaceableMetadataImpl *ReplaceableMetadataImpl::getIfExists(Metadata &MD) { in getIfExists() function in ReplaceableMetadataImpl
368 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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLocal.cpp1507 auto *L = LocalAsMetadata::getIfExists(V); in FindDbgAddrUses()
1510 auto *MDV = MetadataAsValue::getIfExists(V->getContext(), L); in FindDbgAddrUses()
1529 if (auto *L = LocalAsMetadata::getIfExists(V)) in findDbgValues()
1530 if (auto *MDV = MetadataAsValue::getIfExists(V->getContext(), L)) in findDbgValues()
1542 if (auto *L = LocalAsMetadata::getIfExists(V)) in findDbgUsers()
1543 if (auto *MDV = MetadataAsValue::getIfExists(V->getContext(), L)) in findDbgUsers()
1601 if (auto *L = LocalAsMetadata::getIfExists(AI)) in replaceDbgValueForAlloca()
1602 if (auto *MDV = MetadataAsValue::getIfExists(AI->getContext(), L)) in replaceDbgValueForAlloca()
/external/llvm-project/llvm/lib/Transforms/Utils/
DLocal.cpp1622 auto *L = LocalAsMetadata::getIfExists(V); in FindDbgAddrUses()
1625 auto *MDV = MetadataAsValue::getIfExists(V->getContext(), L); in FindDbgAddrUses()
1652 if (auto *L = LocalAsMetadata::getIfExists(V)) in findDbgValues()
1653 if (auto *MDV = MetadataAsValue::getIfExists(V->getContext(), L)) in findDbgValues()
1665 if (auto *L = LocalAsMetadata::getIfExists(V)) in findDbgUsers()
1666 if (auto *MDV = MetadataAsValue::getIfExists(V->getContext(), L)) in findDbgUsers()
1715 if (auto *L = LocalAsMetadata::getIfExists(AI)) in replaceDbgValueForAlloca()
1716 if (auto *MDV = MetadataAsValue::getIfExists(AI->getContext(), L)) in replaceDbgValueForAlloca()
/external/llvm-project/llvm/lib/Transforms/IPO/
DInliner.cpp214 if (auto *L = LocalAsMetadata::getIfExists(AI)) in mergeInlinedArrayAllocas()
215 if (auto *MDV = MetadataAsValue::getIfExists(AI->getContext(), L)) in mergeInlinedArrayAllocas()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DInliner.cpp224 if (auto *L = LocalAsMetadata::getIfExists(AI)) in mergeInlinedArrayAllocas()
225 if (auto *MDV = MetadataAsValue::getIfExists(AI->getContext(), L)) in mergeInlinedArrayAllocas()
/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/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/llvm-project/llvm/unittests/IR/
DMetadataTest.cpp194 MDNode *n4 = MDNode::getIfExists(Context, V); in TEST_F()
195 MDNode *n5 = MDNode::getIfExists(Context, c1); in TEST_F()
196 MDNode *n6 = MDNode::getIfExists(Context, c2); in TEST_F()