Searched refs:LocalAsMetadata (Results 1 – 15 of 15) sorted by relevance
34 class LocalAsMetadata; variable64 SmallVector<const LocalAsMetadata *, 8> FunctionLocalMDs;162 const SmallVectorImpl<const LocalAsMetadata *> &getFunctionLocalMDs() const { in getFunctionLocalMDs()196 void EnumerateFunctionLocalMetadata(const LocalAsMetadata *Local);
352 if (isa<LocalAsMetadata>(MD->getMetadata())) in ValueEnumerator()511 assert(!isa<LocalAsMetadata>(MD) && "MDNodes cannot be function-local"); in EnumerateMDNodeOperands()547 const LocalAsMetadata *Local) { in EnumerateFunctionLocalMetadata()654 assert(!isa<LocalAsMetadata>(MD->getMetadata()) && in EnumerateOperandType()735 SmallVector<LocalAsMetadata *, 8> FnLocalMDVector; in incorporateFunction()741 if (auto *Local = dyn_cast<LocalAsMetadata>(MD->getMetadata())) in incorporateFunction()
847 assert(!(MD && isa<LocalAsMetadata>(MD)) && in WriteMDTuple()1367 const SmallVectorImpl<const LocalAsMetadata *> &MDs = in WriteFunctionLocalMetadata()
275 static LocalAsMetadata *getLocal(Value *Local) { in getLocal()276 return cast<LocalAsMetadata>(get(Local)); in getLocal()283 static LocalAsMetadata *getLocalIfExists(Value *Local) { in getLocalIfExists()284 return cast_or_null<LocalAsMetadata>(getIfExists(Local)); in getLocalIfExists()334 class LocalAsMetadata : public ValueAsMetadata {337 LocalAsMetadata(Value *Local) in LocalAsMetadata() function343 static LocalAsMetadata *get(Value *Local) { in get()346 static LocalAsMetadata *getIfExists(Value *Local) { in getIfExists()
79 HANDLE_METADATA_LEAF(LocalAsMetadata)
265 Entry = new LocalAsMetadata(V); in get()319 if (isa<LocalAsMetadata>(MD)) { in handleRAUW()
752 assert(!isa<LocalAsMetadata>(MD) && "Unexpected function-local metadata " in LLVMMDNodeInContext()758 return wrap(MetadataAsValue::get(Context, LocalAsMetadata::get(V))); in LLVMMDNodeInContext()
649 Assert(!isa<LocalAsMetadata>(Op), "Invalid operand for global metadata!", in visitMDNode()671 auto *L = dyn_cast<LocalAsMetadata>(&MD); in visitValueAsMetadata()
1993 assert((FromValue || !isa<LocalAsMetadata>(V)) && in WriteAsOperandInternal()
81 if (!isa<LocalAsMetadata>(MD) && (Flags & RF_NoModuleLevelChanges)) in MapValue()
1139 if (auto *L = LocalAsMetadata::getIfExists(V)) in FindAllocaDbgDeclare()
233 if (auto *L = LocalAsMetadata::getIfExists(AI)) in InlineCallIfPossible()
1063 if (auto *L = LocalAsMetadata::getIfExists(AI)) { in run()
1978 LocalAsMetadata::get(ValueList.getValueFwdRef(Record[1], Ty)), in parseMetadata()3906 if (isa<LocalAsMetadata>(Node)) in parseMetadataAttachment()
212 Metadata *const V = LocalAsMetadata::get(I); in TEST_F()