Lines Matching refs:getContext

69   getType()->getContext().pImpl->MetadataAsValues.erase(MD);  in ~MetadataAsValue()
122 LLVMContext &Context = getContext(); in handleChangedMetadata()
371 auto &Context = V->getContext(); in get()
389 return V->getContext().pImpl->ValuesAsMetadata.lookup(V); in getIfExists()
395 auto &Store = V->getType()->getContext().pImpl->ValuesAsMetadata; in handleDeletion()
417 LLVMContext &Context = From->getType()->getContext(); in handleRAUW()
813 return uniquifyImpl(SubclassThis, getContext().pImpl->CLASS##s); \ in uniquify()
825 getContext().pImpl->CLASS##s.erase(cast<CLASS>(this)); \ in eraseFromStore()
874 getContext().pImpl->DistinctMDNodes.push_back(this); in storeDistinctInContext()
925 return getOrSelfReference(A->getContext(), MDs.getArrayRef()); in concatenate()
938 return getOrSelfReference(A->getContext(), MDs.getArrayRef()); in intersect()
970 : getOrSelfReference(A->getContext(), MDs.getArrayRef()); in getMostGenericAliasScope()
1090 return MDNode::get(A->getContext(), MDs); in getMostGenericRange()
1200 const auto &Info = getContext().pImpl->ValueMetadata[this]; in getMetadata()
1208 const auto &Info = getContext().pImpl->ValueMetadata[this]; in getMetadata()
1210 return Info.lookup(getContext().getMDKindID(Kind)); in getMetadata()
1215 getContext().pImpl->ValueMetadata[this].get(KindID, MDs); in getMetadata()
1220 getMetadata(getContext().getMDKindID(Kind), MDs); in getMetadata()
1226 assert(getContext().pImpl->ValueMetadata.count(this) && in getAllMetadata()
1228 const auto &Info = getContext().pImpl->ValueMetadata.find(this)->second; in getAllMetadata()
1239 auto &Info = getContext().pImpl->ValueMetadata[this]; in setMetadata()
1248 assert((HasMetadata == (getContext().pImpl->ValueMetadata.count(this) > 0)) && in setMetadata()
1252 auto &Info = getContext().pImpl->ValueMetadata[this]; in setMetadata()
1258 getContext().pImpl->ValueMetadata.erase(this); in setMetadata()
1265 setMetadata(getContext().getMDKindID(Kind), Node); in setMetadata()
1272 getContext().pImpl->ValueMetadata[this].insert(KindID, MD); in addMetadata()
1276 addMetadata(getContext().getMDKindID(Kind), MD); in addMetadata()
1284 auto &Store = getContext().pImpl->ValueMetadata[this]; in eraseMetadata()
1294 assert(getContext().pImpl->ValueMetadata.count(this) && in clearMetadata()
1296 getContext().pImpl->ValueMetadata.erase(this); in clearMetadata()
1303 setMetadata(getContext().getMDKindID(Kind), Node); in setMetadata()
1307 return getMetadataImpl(getContext().getMDKindID(Kind)); in getMetadataImpl()
1323 auto &MetadataStore = getContext().pImpl->ValueMetadata; in dropUnknownNonDebugMetadata()
1350 MDBuilder MDB(getContext()); in addAnnotationMetadata()
1366 MDNode *MD = MDTuple::get(getContext(), Names); in addAnnotationMetadata()
1469 *MDNode::get(getContext(), {NewOffsetMD, TypeId})); in copyMetadata()
1491 E = DIExpression::get(getContext(), Elements); in copyMetadata()
1492 Attachment = DIGlobalVariableExpression::get(getContext(), GV, E); in copyMetadata()
1501 *MDTuple::get(getContext(), in addTypeMetadata()
1503 Type::getInt64Ty(getContext()), Offset)), in addTypeMetadata()
1512 *MDNode::get(getContext(), in setVCallVisibilityMetadata()
1514 Type::getInt64Ty(getContext()), Visibility))})); in setVCallVisibilityMetadata()