Lines Matching defs:MDs

1030 MDTuple *MDTuple::getImpl(LLVMContext &Context, ArrayRef<Metadata *> MDs,
1034 MDTupleInfo::KeyTy Key(MDs);
1044 return storeImpl(new (MDs.size(), Storage)
1045 MDTuple(Context, Storage, Hash, MDs),
1120 SmallSetVector<Metadata *, 4> MDs(A->op_begin(), A->op_end());
1121 MDs.insert(B->op_begin(), B->op_end());
1125 return getOrSelfReference(A->getContext(), MDs.getArrayRef());
1132 SmallSetVector<Metadata *, 4> MDs(A->op_begin(), A->op_end());
1134 MDs.remove_if([&](Metadata *MD) { return !BSet.count(MD); });
1138 return getOrSelfReference(A->getContext(), MDs.getArrayRef());
1149 SmallSetVector<Metadata *, 4> MDs;
1160 MDs.insert(MDOp);
1167 MDs.insert(MDOp);
1169 return MDs.empty() ? nullptr
1170 : getOrSelfReference(A->getContext(), MDs.getArrayRef());
1350 SmallVector<Metadata *, 4> MDs;
1351 MDs.reserve(EndPoints.size());
1353 MDs.push_back(ConstantAsMetadata::get(I));
1354 return MDNode::get(A->getContext(), MDs);
1383 SmallVector<Metadata *> MDs;
1385 MDs.push_back(ConstantAsMetadata::get(
1387 MDs.push_back(ConstantAsMetadata::get(
1391 return MDNode::get(A->getContext(), MDs);
1511 void Value::getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const {
1513 getContext().pImpl->ValueMetadata.at(this).get(KindID, MDs);
1516 void Value::getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const {
1518 getMetadata(getContext().getMDKindID(Kind), MDs);
1522 SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const {
1527 Info.getAll(MDs);
1800 SmallVector<std::pair<unsigned, MDNode *>, 8> MDs;
1801 Other->getAllMetadata(MDs);
1802 for (auto &MD : MDs) {
1893 SmallVector<MDNode *, 1> MDs;
1894 getMetadata(LLVMContext::MD_dbg, MDs);
1895 for (MDNode *MD : MDs)