Lines Matching defs:MDs
1024 MDTuple *MDTuple::getImpl(LLVMContext &Context, ArrayRef<Metadata *> MDs,
1028 MDTupleInfo::KeyTy Key(MDs);
1038 return storeImpl(new (MDs.size(), Storage)
1039 MDTuple(Context, Storage, Hash, MDs),
1114 SmallSetVector<Metadata *, 4> MDs(A->op_begin(), A->op_end());
1115 MDs.insert(B->op_begin(), B->op_end());
1119 return getOrSelfReference(A->getContext(), MDs.getArrayRef());
1126 SmallSetVector<Metadata *, 4> MDs(A->op_begin(), A->op_end());
1128 MDs.remove_if([&](Metadata *MD) { return !BSet.count(MD); });
1132 return getOrSelfReference(A->getContext(), MDs.getArrayRef());
1143 SmallSetVector<Metadata *, 4> MDs;
1154 MDs.insert(MDOp);
1161 MDs.insert(MDOp);
1163 return MDs.empty() ? nullptr
1164 : getOrSelfReference(A->getContext(), MDs.getArrayRef());
1344 SmallVector<Metadata *, 4> MDs;
1345 MDs.reserve(EndPoints.size());
1347 MDs.push_back(ConstantAsMetadata::get(I));
1348 return MDNode::get(A->getContext(), MDs);
1468 void Value::getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const {
1470 getContext().pImpl->ValueMetadata.at(this).get(KindID, MDs);
1473 void Value::getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const {
1475 getMetadata(getContext().getMDKindID(Kind), MDs);
1479 SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const {
1484 Info.getAll(MDs);
1757 SmallVector<std::pair<unsigned, MDNode *>, 8> MDs;
1758 Other->getAllMetadata(MDs);
1759 for (auto &MD : MDs) {
1850 SmallVector<MDNode *, 1> MDs;
1851 getMetadata(LLVMContext::MD_dbg, MDs);
1852 for (MDNode *MD : MDs)