reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
135 void reset(T *MD) { Ref.reset(static_cast<Metadata *>(MD)); }
lib/Bitcode/Reader/MetadataLoader.cpp217 OldMD.reset(MD); 244 MetadataPtrs[Idx].reset(MD);lib/IR/Metadata.cpp
1090 getNMDOps(Operands)[I].reset(New);
lib/Linker/IRMover.cpp1127 ValueMap.MD()[CU->getRawEnumTypes()].reset(nullptr); 1128 ValueMap.MD()[CU->getRawMacros()].reset(nullptr); 1129 ValueMap.MD()[CU->getRawRetainedTypes()].reset(nullptr); 1139 ValueMap.MD()[CU->getRawGlobalVariables()].reset(nullptr); 1172 ValueMap.MD()[CU->getRawImportedEntities()].reset(nullptr); 1551 SharedMDs[MD].reset(const_cast<MDNode *>(MD));lib/Transforms/Utils/CloneFunction.cpp
134 MD[SP->getUnit()].reset(SP->getUnit()); 135 MD[SP->getType()].reset(SP->getType()); 136 MD[SP->getFile()].reset(SP->getFile()); 140 MD[SP].reset(SP); 194 VMap.MD()[ISP].reset(ISP); 197 VMap.MD()[CU].reset(CU); 200 VMap.MD()[Type].reset(Type);lib/Transforms/Utils/ValueMapper.cpp
508 getVM().MD()[Key].reset(Val);
tools/clang/lib/CodeGen/CGDebugInfo.cpp475 DIFileCache[FileName.data()].reset(F); 1499 TypeCache[ThisPtr.getAsOpaquePtr()].reset(ThisPtrType); 1507 TypeCache[ThisPtr.getAsOpaquePtr()].reset(ThisPtrType); 1639 SPCache[Method->getCanonicalDecl()].reset(SP); 2074 TypeCache[TyPtr].reset(Res); 2149 TypeCache[TyPtr].reset(Res); 2254 RegionMap[Ty->getDecl()].reset(FwdDecl); 2285 RegionMap[Ty->getDecl()].reset(FwdDecl); 2440 ModuleCache[M].reset(DIMod); 2465 TypeCache[QTy.getAsOpaquePtr()].reset(RealDecl); 2469 RegionMap[Ty->getDecl()].reset(RealDecl); 2959 TypeCache[TyPtr].reset(Res); 3104 TypeCache[QTy.getAsOpaquePtr()].reset(Res); 3184 RegionMap[Ty->getDecl()].reset(RealDecl); 3185 TypeCache[QualType(Ty, 0).getAsOpaquePtr()].reset(RealDecl); 3563 RegionMap[D].reset(SP); 3620 DeclCache[D->getCanonicalDecl()].reset(SP); 3629 SPDefCache[FD].reset(SP); 3655 RegionMap[D].reset(SP); 4038 ParamCache[PD].reset(D); 4440 DeclCache[D->getCanonicalDecl()].reset(GVE); 4527 GV.reset(DBuilder.createGlobalVariableExpression( 4614 VH.reset(R); 4631 NamespaceCache[NSDecl].reset(NS);tools/clang/lib/CodeGen/CGVTables.cpp
124 VMap.MD()[DIS].reset(NewDIS);
unittests/IR/MetadataTest.cpp 849 Ref.reset(Temp.get());
unittests/Transforms/Utils/ValueMapperTest.cpp139 VM.MD()[Old].reset(New); 195 VM.MD()[S1].reset(S2); 249 VM.MD()[CAM].reset(N);