Home
last modified time | relevance | path

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

/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()
DBitcodeWriter.cpp1320 assert(!(MD && isa<LocalAsMetadata>(MD)) && in writeMDTuple()
/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/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/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()
DAsmWriter.cpp2047 assert((FromValue || !isa<LocalAsMetadata>(V)) && in WriteAsOperandInternal()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2229 LocalAsMetadata::get(ValueList.getValueFwdRef(Record[1], Ty)), in parseMetadata()
4323 if (isa<LocalAsMetadata>(Node)) in parseMetadataAttachment()
/external/llvm/unittests/IR/
DMetadataTest.cpp214 Metadata *const V = LocalAsMetadata::get(I); in TEST_F()