Lines Matching defs:Owner
123 void ReplaceableMetadataImpl::addRef(void *Ref, OwnerTy Owner) {
125 UseMap.insert(std::make_pair(Ref, std::make_pair(Owner, NextIndex)))
150 // Check that the references are direct if there's no owner.
153 "Reference without owner must be direct");
155 "Reference without owner must be direct");
177 OwnerTy Owner = Pair.second.first;
178 if (!Owner) {
189 if (Owner.is<MetadataAsValue *>()) {
190 Owner.get<MetadataAsValue *>()->handleChangedMetadata(MD);
194 // There's a Metadata owner -- dispatch.
195 Metadata *OwnerMD = Owner.get<Metadata *>();
226 auto Owner = Pair.second.first;
227 if (!Owner)
229 if (Owner.is<MetadataAsValue *>())
233 auto *OwnerMD = dyn_cast<MDNode>(Owner.get<Metadata *>());