Searched refs:LocalAsMetadata (Results 1 – 17 of 17) sorted by relevance
35 class LocalAsMetadata; variable280 const LocalAsMetadata *Local);281 void EnumerateFunctionLocalMetadata(unsigned F, const LocalAsMetadata *Local);
378 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()
1320 assert(!(MD && isa<LocalAsMetadata>(MD)) && in writeMDTuple()
335 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() function403 static LocalAsMetadata *get(Value *Local) { in get()406 static LocalAsMetadata *getIfExists(Value *Local) { in getIfExists()
79 HANDLE_METADATA_LEAF(LocalAsMetadata)
349 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() function418 static LocalAsMetadata *get(Value *Local) { in get()422 static LocalAsMetadata *getIfExists(Value *Local) { in getIfExists()
277 auto *LAM = LocalAsMetadata::get(&A); in TEST()294 auto *LAM = LocalAsMetadata::get(&A); in TEST()344 EXPECT_TRUE(isa<LocalAsMetadata>(MDA->getMetadata())); in TEST()
181 if (auto *L = LocalAsMetadata::getIfExists(AI)) in InlineCallIfPossible()
381 if (auto *LAM = dyn_cast<LocalAsMetadata>(MD)) { in mapValue()808 assert(!isa<LocalAsMetadata>(MD) && "Unexpected local metadata"); in mapMetadata()
1185 if (auto *L = LocalAsMetadata::getIfExists(V)) in FindAllocaDbgDeclare()1283 if (auto *L = LocalAsMetadata::getIfExists(AI)) in replaceDbgValueForAlloca()
322 Entry = new LocalAsMetadata(V); in get()376 if (isa<LocalAsMetadata>(MD)) { in handleRAUW()
842 assert(!isa<LocalAsMetadata>(MD) && "Unexpected function-local metadata " in LLVMMDNodeInContext()848 return wrap(MetadataAsValue::get(Context, LocalAsMetadata::get(V))); in LLVMMDNodeInContext()
708 Assert(!isa<LocalAsMetadata>(Op), "Invalid operand for global metadata!", in visitMDNode()730 auto *L = dyn_cast<LocalAsMetadata>(&MD); in visitValueAsMetadata()
2047 assert((FromValue || !isa<LocalAsMetadata>(V)) && in WriteAsOperandInternal()
2229 LocalAsMetadata::get(ValueList.getValueFwdRef(Record[1], Ty)), in parseMetadata()4323 if (isa<LocalAsMetadata>(Node)) in parseMetadataAttachment()
214 Metadata *const V = LocalAsMetadata::get(I); in TEST_F()