Home
last modified time | relevance | path

Searched refs:TypeCache (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/CodeGen/
DCodeGenTypes.cpp244 if (TypeCache.count(ED->getTypeForDecl())) { in UpdateCompletedType()
249 TypeCache.clear(); in UpdateCompletedType()
307 llvm::DenseMap<const Type *, llvm::Type *>::iterator TCI = TypeCache.find(Ty); in ConvertType()
309 if (TCI != TypeCache.end()) in ConvertType()
538 TypeCache.clear(); in ConvertType()
620 TypeCache[Ty] = ResultType; in ConvertType()
685 TypeCache.clear(); in ConvertRecordDeclType()
DCGDebugInfo.cpp1050 TypeCache[ThisPtr.getAsOpaquePtr()].reset(ThisPtrType); in getOrCreateInstanceMethodType()
1058 TypeCache[ThisPtr.getAsOpaquePtr()].reset(ThisPtrType); in getOrCreateInstanceMethodType()
1459 auto I = TypeCache.find(TyPtr); in completeType()
1460 if (I == TypeCache.end() || !cast<llvm::MDType>(I->second)->isForwardDecl()) in completeType()
1464 TypeCache[TyPtr].reset(Res); in completeType()
1492 auto I = TypeCache.find(TyPtr); in completeClassData()
1493 if (I != TypeCache.end() && !cast<llvm::MDType>(I->second)->isForwardDecl()) in completeClassData()
1497 TypeCache[TyPtr].reset(Res); in completeClassData()
1695 TypeCache[QTy.getAsOpaquePtr()].reset(RealDecl); in CreateTypeDefinition()
2054 auto it = TypeCache.find(Ty.getAsOpaquePtr()); in getTypeOrNull()
[all …]
DCodeGenTypes.h167 llvm::DenseMap<const Type *, llvm::Type *> TypeCache;
DCGDebugInfo.h68 llvm::DenseMap<const void *, llvm::TrackingMDRef> TypeCache; variable