Lines Matching refs:TheCU

203                               Mod ? Mod : TheCU);  in getDeclContextDescriptor()
224 TheCU->getFile()); in getContextDescriptor()
408 return TheCU->getFile(); in getOrCreateFile()
416 return TheCU->getFile(); in getOrCreateFile()
636 TheCU = DBuilder.createCompileUnit( in CreateCompileUnit()
665 "objc_class", TheCU, TheCU->getFile(), 0); in CreateType()
679 "objc_class", TheCU, TheCU->getFile(), 0); in CreateType()
685 ObjTy = DBuilder.createStructType(TheCU, "objc_object", TheCU->getFile(), 0, in CreateType()
691 ObjTy, "isa", TheCU->getFile(), 0, Size, 0, 0, in CreateType()
698 "objc_selector", TheCU, in CreateType()
699 TheCU->getFile(), 0); in CreateType()
750 getOrCreateType(Info.ElementType, TheCU->getFile()); in CreateType()
939 static bool hasCXXMangling(const TagDecl *TD, llvm::DICompileUnit *TheCU) { in hasCXXMangling() argument
940 switch (TheCU->getSourceLanguage()) { in hasCXXMangling()
974 llvm::DICompileUnit *TheCU) { in needsTypeIdentifier() argument
976 if (!hasCXXMangling(TD, TheCU)) in needsTypeIdentifier()
992 llvm::DICompileUnit *TheCU) { in getTypeIdentifier() argument
996 if (!needsTypeIdentifier(TD, CGM, TheCU)) in getTypeIdentifier()
1055 SmallString<256> Identifier = getTypeIdentifier(Ty, CGM, TheCU); in getOrCreateRecordFwdDecl()
1096 TheCU, TheCU->getFile(), 0); in getOrCreateStructPtrType()
1871 TheCU, Name, TTy, defaultParameter)); in CollectTemplateParams()
1887 TheCU, Name, TTy, defaultParameter, in CollectTemplateParams()
1934 TheCU, Name, TTy, defaultParameter, cast_or_null<llvm::Constant>(V))); in CollectTemplateParams()
1953 TheCU, Name, TTy, defaultParameter, V)); in CollectTemplateParams()
1957 TheCU, Name, nullptr, in CollectTemplateParams()
1962 TheCU, Name, nullptr, in CollectTemplateParams()
1974 TheCU, Name, TTy, defaultParameter, V->stripPointerCasts())); in CollectTemplateParams()
2508 static_cast<llvm::dwarf::SourceLanguage>(TheCU->getSourceLanguage()); in CreateType()
2516 llvm::dwarf::DW_TAG_structure_type, ID->getName(), Mod ? Mod : TheCU, in CreateType()
2575 StringRef CompDir = TheCU->getDirectory(); in getOrCreateModuleRef()
2599 TheCU->getSourceLanguage(), in getOrCreateModuleRef()
2601 DIB.createFile(Mod.getModuleName(), TheCU->getDirectory()), in getOrCreateModuleRef()
2602 TheCU->getProducer(), false, StringRef(), 0, RemapPath(PCM), in getOrCreateModuleRef()
2624 unsigned RuntimeLang = TheCU->getSourceLanguage(); in CreateTypeDefinition()
2980 SmallString<256> Identifier = getTypeIdentifier(Ty, CGM, TheCU); in CreateEnumType()
2997 llvm::dwarf::DW_TAG_enumeration_type, "", TheCU, DefUnit, 0)); in CreateEnumType()
3023 SmallString<256> Identifier = getTypeIdentifier(Ty, CGM, TheCU); in CreateTypeDefinition()
3360 SmallString<256> Identifier = getTypeIdentifier(Ty, CGM, TheCU); in CreateLimitedType()
3483 FDContext = getContextDescriptor(RDecl, Mod ? Mod : TheCU); in collectFunctionDeclProps()
3545 VDContext = getContextDescriptor(cast<Decl>(DC), Mod ? Mod : TheCU); in collectVarDeclProps()
4816 return getContextDescriptor(D, Mod ? Mod : TheCU); in getCurrentContextDescriptor()
4915 assert(TheCU && "no main compile unit"); in setDwoId()
4916 TheCU->setDWOId(Signature); in setDwoId()
4998 if (auto *DieTy = getOrCreateType(Ty, TheCU->getFile())) in EmitExplicitCastType()
5004 if (auto *DieTy = getOrCreateType(Ty, TheCU->getFile())) in EmitAndRetainType()