Home
last modified time | relevance | path

Searched refs:LocalAsMetadata (Results 1 – 25 of 32) sorted by relevance

12

/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.h35 class LocalAsMetadata; variable
280 const LocalAsMetadata *Local);
281 void EnumerateFunctionLocalMetadata(unsigned F, const LocalAsMetadata *Local);
DValueEnumerator.cpp378 if (isa<LocalAsMetadata>(MD->getMetadata())) in ValueEnumerator()
545 const Function &F, const LocalAsMetadata *Local) { in EnumerateFunctionLocalMetadata()
662 unsigned F, const LocalAsMetadata *Local) { in EnumerateFunctionLocalMetadata()
943 SmallVector<LocalAsMetadata *, 8> FnLocalMDVector; in incorporateFunction()
949 if (auto *Local = dyn_cast<LocalAsMetadata>(MD->getMetadata())) in incorporateFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Writer/
DValueEnumerator.h35 class LocalAsMetadata; variable
290 const LocalAsMetadata *Local);
291 void EnumerateFunctionLocalMetadata(unsigned F, const LocalAsMetadata *Local);
DValueEnumerator.cpp412 if (isa<LocalAsMetadata>(MD->getMetadata())) in ValueEnumerator()
578 const Function &F, const LocalAsMetadata *Local) { in EnumerateFunctionLocalMetadata()
695 unsigned F, const LocalAsMetadata *Local) { in EnumerateFunctionLocalMetadata()
979 SmallVector<LocalAsMetadata *, 8> FnLocalMDVector; in incorporateFunction()
985 if (auto *Local = dyn_cast<LocalAsMetadata>(MD->getMetadata())) in incorporateFunction()
/external/llvm/include/llvm/IR/
DMetadata.h335 static LocalAsMetadata *getLocal(Value *Local) { in getLocal()
336 return cast<LocalAsMetadata>(get(Local)); in getLocal()
343 static LocalAsMetadata *getLocalIfExists(Value *Local) { in getLocalIfExists()
344 return cast_or_null<LocalAsMetadata>(getIfExists(Local)); in getLocalIfExists()
394 class LocalAsMetadata : public ValueAsMetadata {
397 LocalAsMetadata(Value *Local) in LocalAsMetadata() function
403 static LocalAsMetadata *get(Value *Local) { in get()
406 static LocalAsMetadata *getIfExists(Value *Local) { in getIfExists()
DMetadata.def79 HANDLE_METADATA_LEAF(LocalAsMetadata)
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DMetadata.h349 static LocalAsMetadata *getLocal(Value *Local) { in getLocal()
350 return cast<LocalAsMetadata>(get(Local)); in getLocal()
357 static LocalAsMetadata *getLocalIfExists(Value *Local) { in getLocalIfExists()
358 return cast_or_null<LocalAsMetadata>(getIfExists(Local)); in getLocalIfExists()
409 class LocalAsMetadata : public ValueAsMetadata {
412 LocalAsMetadata(Value *Local) in LocalAsMetadata() function
418 static LocalAsMetadata *get(Value *Local) { in get()
422 static LocalAsMetadata *getIfExists(Value *Local) { in getIfExists()
DMetadata.def79 HANDLE_METADATA_LEAF(LocalAsMetadata)
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DMetadata.h363 static LocalAsMetadata *getLocal(Value *Local) { in getLocal()
364 return cast<LocalAsMetadata>(get(Local)); in getLocal()
373 static LocalAsMetadata *getLocalIfExists(Value *Local) { in getLocalIfExists()
374 return cast_or_null<LocalAsMetadata>(getIfExists(Local)); in getLocalIfExists()
425 class LocalAsMetadata : public ValueAsMetadata {
428 LocalAsMetadata(Value *Local) in LocalAsMetadata() function
434 static LocalAsMetadata *get(Value *Local) { in get()
438 static LocalAsMetadata *getIfExists(Value *Local) { in getIfExists()
DMetadata.def79 HANDLE_METADATA_LEAF(LocalAsMetadata)
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DValueMapperTest.cpp277 auto *LAM = LocalAsMetadata::get(&A); in TEST()
294 auto *LAM = LocalAsMetadata::get(&A); in TEST()
344 EXPECT_TRUE(isa<LocalAsMetadata>(MDA->getMetadata())); in TEST()
/external/llvm/unittests/Transforms/Utils/
DValueMapperTest.cpp277 auto *LAM = LocalAsMetadata::get(&A); in TEST()
294 auto *LAM = LocalAsMetadata::get(&A); in TEST()
344 EXPECT_TRUE(isa<LocalAsMetadata>(MDA->getMetadata())); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DValueMapper.cpp382 if (auto *LAM = dyn_cast<LocalAsMetadata>(MD)) { in mapValue()
823 assert(!isa<LocalAsMetadata>(MD) && "Unexpected local metadata"); in mapMetadata()
DLocal.cpp1486 auto *L = LocalAsMetadata::getIfExists(V); in FindDbgAddrUses()
1508 if (auto *L = LocalAsMetadata::getIfExists(V)) in findDbgValues()
1521 if (auto *L = LocalAsMetadata::getIfExists(V)) in findDbgUsers()
1585 if (auto *L = LocalAsMetadata::getIfExists(AI)) in replaceDbgValueForAlloca()
/external/llvm/lib/Transforms/IPO/
DInliner.cpp181 if (auto *L = LocalAsMetadata::getIfExists(AI)) in InlineCallIfPossible()
/external/llvm/lib/Transforms/Utils/
DValueMapper.cpp381 if (auto *LAM = dyn_cast<LocalAsMetadata>(MD)) { in mapValue()
808 assert(!isa<LocalAsMetadata>(MD) && "Unexpected local metadata"); in mapMetadata()
DLocal.cpp1185 if (auto *L = LocalAsMetadata::getIfExists(V)) in FindAllocaDbgDeclare()
1283 if (auto *L = LocalAsMetadata::getIfExists(AI)) in replaceDbgValueForAlloca()
/external/llvm/lib/IR/
DMetadata.cpp322 Entry = new LocalAsMetadata(V); in get()
376 if (isa<LocalAsMetadata>(MD)) { in handleRAUW()
DCore.cpp842 assert(!isa<LocalAsMetadata>(MD) && "Unexpected function-local metadata " in LLVMMDNodeInContext()
848 return wrap(MetadataAsValue::get(Context, LocalAsMetadata::get(V))); in LLVMMDNodeInContext()
DVerifier.cpp708 Assert(!isa<LocalAsMetadata>(Op), "Invalid operand for global metadata!", in visitMDNode()
730 auto *L = dyn_cast<LocalAsMetadata>(&MD); in visitValueAsMetadata()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DMetadata.cpp362 Entry = new LocalAsMetadata(V); in get()
414 if (isa<LocalAsMetadata>(MD)) { in handleRAUW()
DCore.cpp1020 assert(!isa<LocalAsMetadata>(MD) && "Unexpected function-local metadata " in LLVMMDNodeInContext()
1026 return wrap(MetadataAsValue::get(Context, LocalAsMetadata::get(V))); in LLVMMDNodeInContext()
DVerifier.cpp790 Assert(!isa<LocalAsMetadata>(Op), "Invalid operand for global metadata!", in visitMDNode()
812 auto *L = dyn_cast<LocalAsMetadata>(&MD); in visitValueAsMetadata()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DInliner.cpp216 if (auto *L = LocalAsMetadata::getIfExists(AI)) in mergeInlinedArrayAllocas()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DMetadataLoader.cpp1082 LocalAsMetadata::get(ValueList.getValueFwdRef(Record[1], Ty)), in parseOneMetadata()
1884 if (isa<LocalAsMetadata>(Node)) in parseMetadataAttachment()

12