Lines Matching refs:CTy

516   if (auto *CTy = dyn_cast<DICompositeType>(Ty)) {  in isUnsignedDIType()  local
519 if (CTy->getTag() == dwarf::DW_TAG_enumeration_type) in isUnsignedDIType()
720 else if (auto *CTy = dyn_cast<DICompositeType>(Ty)) { in getOrCreateTypeDIE() local
722 if (MDString *TypeId = CTy->getRawIdentifier()) { in getOrCreateTypeDIE()
723 DD->addDwarfTypeUnitType(getCU(), TypeId->getString(), TyDIE, CTy); in getOrCreateTypeDIE()
727 constructTypeDIE(TyDIE, CTy); in getOrCreateTypeDIE()
857 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DISubroutineType *CTy) { in constructTypeDIE() argument
859 auto Elements = cast<DISubroutineType>(CTy)->getTypeArray(); in constructTypeDIE()
879 if (CTy->getCC() && CTy->getCC() != dwarf::DW_CC_normal) in constructTypeDIE()
881 CTy->getCC()); in constructTypeDIE()
883 if (CTy->isLValueReference()) in constructTypeDIE()
886 if (CTy->isRValueReference()) in constructTypeDIE()
890 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DICompositeType *CTy) { in constructTypeDIE() argument
891 if (CTy->isExternalTypeRef()) { in constructTypeDIE()
892 StringRef Identifier = CTy->getIdentifier(); in constructTypeDIE()
899 StringRef Name = CTy->getName(); in constructTypeDIE()
901 uint64_t Size = CTy->getSizeInBits() >> 3; in constructTypeDIE()
906 constructArrayTypeDIE(Buffer, CTy); in constructTypeDIE()
909 constructEnumTypeDIE(Buffer, CTy); in constructTypeDIE()
915 DINodeArray Elements = CTy->getElements(); in constructTypeDIE()
949 if (CTy->isAppleBlockExtension()) in constructTypeDIE()
955 dyn_cast_or_null<DICompositeType>(resolve(CTy->getVTableHolder()))) in constructTypeDIE()
959 if (CTy->isObjcClassComplete()) in constructTypeDIE()
966 addTemplateParams(Buffer, CTy->getTemplateParams()); in constructTypeDIE()
985 else if (!CTy->isForwardDecl()) in constructTypeDIE()
990 if (CTy->isForwardDecl()) in constructTypeDIE()
994 if (!CTy->isForwardDecl()) in constructTypeDIE()
995 addSourceLine(Buffer, CTy); in constructTypeDIE()
998 unsigned RLang = CTy->getRuntimeLang(); in constructTypeDIE()
1299 void DwarfUnit::constructArrayTypeDIE(DIE &Buffer, const DICompositeType *CTy) { in constructArrayTypeDIE() argument
1300 if (CTy->isVector()) in constructArrayTypeDIE()
1304 addType(Buffer, resolve(CTy->getBaseType())); in constructArrayTypeDIE()
1312 DINodeArray Elements = CTy->getElements(); in constructArrayTypeDIE()
1321 void DwarfUnit::constructEnumTypeDIE(DIE &Buffer, const DICompositeType *CTy) { in constructEnumTypeDIE() argument
1322 DINodeArray Elements = CTy->getElements(); in constructEnumTypeDIE()
1336 const DIType *DTy = resolve(CTy->getBaseType()); in constructEnumTypeDIE()