Home
last modified time | relevance | path

Searched refs:RecordTy (Results 1 – 25 of 27) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/lib/ExtractAPI/Serialization/
H A DSymbolGraphSerializer.cpp516 template <typename RecordTy>
542 template <typename RecordTy>
558 template <typename RecordTy>
565 template <typename RecordTy>
576 template <typename RecordTy>
582 template <typename RecordTy>
590 template <typename RecordTy>
624 template <typename RecordTy>
630 template <typename RecordTy>
645 template <typename RecordTy>
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ExtractAPI/Serialization/
H A DSymbolGraphSerializer.h135 template <typename RecordTy>
136 std::optional<Object> serializeAPIRecord(const RecordTy &Record) const;
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h259 llvm::DIType *RecordTy);
273 llvm::DIType *RecordTy);
279 SmallVectorImpl<llvm::Metadata *> &EltTys, llvm::DIType *RecordTy,
337 llvm::DIScope *RecordTy,
353 llvm::DIType *RecordTy);
355 llvm::DIType *RecordTy,
360 llvm::DIType *RecordTy, const RecordDecl *RD);
365 llvm::DICompositeType *RecordTy);
H A DCGDebugInfo.cpp1589 llvm::DIScope *RecordTy = BitFieldDI->getScope(); in createBitFieldSeparatorIfNeeded() local
1633 llvm::DIType *RecordTy) { in CollectRecordLambdaFields() argument
1667 layout.getFieldOffset(fieldno), VUnit, RecordTy, CXXDecl); in CollectRecordLambdaFields()
1705 RecordTy, VName, VUnit, LineNumber, VTy, Flags, C, Tag, Align); in CreateRecordStaticField()
1753 llvm::DICompositeType *RecordTy) { in CollectRecordFields() argument
1757 CollectRecordLambdaFields(CXXDecl, elements, RecordTy); in CollectRecordFields()
1787 auto Field = CreateRecordStaticField(V, RecordTy, record); in CollectRecordFields()
1792 elements, RecordTy, record); in CollectRecordFields()
1963 ContainingType = RecordTy; in CreateCXXMemberFunction()
2052 llvm::DIType *RecordTy) { in CollectCXXBases() argument
[all …]
H A DCGClass.cpp636 QualType RecordTy = CGF.getContext().getTypeDeclType(ClassDecl); in EmitMemberInitializer() local
642 LHS = CGF.MakeNaturalAlignPointeeAddrLValue(ThisPtr, RecordTy); in EmitMemberInitializer()
644 LHS = CGF.MakeNaturalAlignAddrLValue(ThisPtr, RecordTy); in EmitMemberInitializer()
665 LValue ThisRHSLV = CGF.MakeNaturalAlignAddrLValue(SrcPtr, RecordTy); in EmitMemberInitializer()
969 QualType RecordTy = CGF.getContext().getTypeDeclType(ClassDecl); in emitMemcpy() local
971 LValue DestLV = CGF.MakeAddrLValue(ThisPtr, RecordTy); in emitMemcpy()
974 LValue SrcLV = CGF.MakeNaturalAlignAddrLValue(SrcPtr, RecordTy); in emitMemcpy()
1115 QualType RecordTy = CGF.getContext().getTypeDeclType(ClassDecl); in pushEHDestructors() local
1116 LValue LHS = CGF.MakeAddrLValue(ThisPtr, RecordTy); in pushEHDestructors()
1637 QualType RecordTy = CGF.getContext().getTagDeclType(field->getParent()); in Emit() local
[all …]
H A DCGExprAgg.cpp263 const RecordType *RecordTy = T->getAs<RecordType>(); in TypeRequiresGCollection() local
264 if (!RecordTy) return false; in TypeRequiresGCollection()
267 RecordDecl *Record = RecordTy->getDecl(); in TypeRequiresGCollection()
2195 } else if (const RecordType *RecordTy = Ty->getAs<RecordType>()) { in EmitAggregateCopy() local
2196 RecordDecl *Record = RecordTy->getDecl(); in EmitAggregateCopy()
2204 if (const RecordType *RecordTy = BaseType->getAs<RecordType>()) { in EmitAggregateCopy() local
2205 if (RecordTy->getDecl()->hasObjectMember()) { in EmitAggregateCopy()
H A DItaniumCXXABI.cpp194 bool hasUniqueVTablePointer(QualType RecordTy) { in hasUniqueVTablePointer() argument
195 const CXXRecordDecl *RD = RecordTy->getAsCXXRecordDecl(); in hasUniqueVTablePointer()
1322 if (const RecordType *RecordTy = ThrowType->getAs<RecordType>()) { in emitThrow() local
1323 CXXRecordDecl *Record = cast<CXXRecordDecl>(RecordTy->getDecl()); in emitThrow()
3453 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) { in ShouldUseExternalRTTIDescriptor() local
3454 const CXXRecordDecl *RD = cast<CXXRecordDecl>(RecordTy->getDecl()); in ShouldUseExternalRTTIDescriptor()
3487 static bool IsIncompleteClassType(const RecordType *RecordTy) { in IsIncompleteClassType() argument
3488 return !RecordTy->getDecl()->isCompleteDefinition(); in IsIncompleteClassType()
3503 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) { in ContainsIncompleteClassType() local
3504 if (IsIncompleteClassType(RecordTy)) in ContainsIncompleteClassType()
[all …]
H A DCGException.cpp2132 llvm::Type *RecordTy = llvm::PointerType::getUnqual(getLLVMContext()); in EmitSEHExceptionCodeSave() local
2133 llvm::Type *PtrsTy = llvm::StructType::get(RecordTy, CGM.VoidPtrTy); in EmitSEHExceptionCodeSave()
2135 Rec = Builder.CreateAlignedLoad(RecordTy, Rec, getPointerAlign()); in EmitSEHExceptionCodeSave()
H A DCGStmt.cpp2923 QualType RecordTy = getContext().getRecordType(RD); in InitCapturedStruct() local
2927 MakeAddrLValue(CreateMemTemp(RecordTy, "agg.captured"), RecordTy); in InitCapturedStruct()
H A DCGDecl.cpp1528 if (const RecordType *RecordTy = Ty->getAs<RecordType>()) { in EmitAutoVarAlloca() local
1529 const auto *RD = RecordTy->getDecl(); in EmitAutoVarAlloca()
H A DMicrosoftCXXABI.cpp4073 QualType RecordTy = getContext().getRecordType(RD); in getAddrOfCXXCtorClosure() local
4075 ThunkTy, getLinkageForRTTI(RecordTy), ThunkName.str(), &CGM.getModule()); in getAddrOfCXXCtorClosure()
4097 getContext().getLValueReferenceType(RecordTy, in getAddrOfCXXCtorClosure()
/freebsd-14.2/contrib/llvm-project/clang/lib/ExtractAPI/
H A DAPI.cpp28 template <typename RecordTy, typename... CtorArgsTy>
29 RecordTy *addTopLevelRecord(DenseMap<StringRef, APIRecord *> &USRLookupTable, in addTopLevelRecord()
30 APISet::RecordMap<RecordTy> &RecordMap, in addTopLevelRecord()
37 std::make_unique<RecordTy>(USR, std::forward<CtorArgsTy>(CtorArgs)...); in addTopLevelRecord()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DAPI.h1126 template <typename RecordTy>
1148 template <typename RecordTy> struct has_access : public std::false_type {};
1167 template <typename RecordTy> struct has_template : public std::false_type {};
1510 template <typename RecordTy,
1512 std::enable_if_t<std::is_base_of<APIRecord, RecordTy>::value>>
1513 using RecordMap = llvm::MapVector<StringRef, std::unique_ptr<RecordTy>>;
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DSystemZ.cpp510 if (const auto *RecordTy = Ty->getAs<RecordType>()) { in isVectorTypeBased() local
511 const RecordDecl *RD = RecordTy->getDecl(); in isVectorTypeBased()
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp646 if (auto RecordTy = dyn_cast<RecordRecTy>(Field.RecType)) { in collectTableEntries() local
647 if (IntrinsicClass && RecordTy->isSubClassOf(IntrinsicClass)) in collectTableEntries()
649 else if (InstructionClass && RecordTy->isSubClassOf(InstructionClass)) in collectTableEntries()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaPseudoObject.cpp1058 const RecordType *RecordTy = T->getAs<RecordType>(); in CheckSubscriptingKind() local
1059 if (!RecordTy && in CheckSubscriptingKind()
1065 !RecordTy || RecordTy->isIncompleteType()) { in CheckSubscriptingKind()
1087 for (NamedDecl *D : cast<CXXRecordDecl>(RecordTy->getDecl()) in CheckSubscriptingKind()
H A DSemaExprMember.cpp797 QualType RecordTy = BaseType; in BuildMemberReferenceExpr() local
798 if (IsArrow) RecordTy = RecordTy->castAs<PointerType>()->getPointeeType(); in BuildMemberReferenceExpr()
800 *this, R, nullptr, RecordTy->castAs<RecordType>(), OpLoc, IsArrow, in BuildMemberReferenceExpr()
H A DSemaCXXScopeSpec.cpp33 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) { in getCurrentInstantiationOf() local
34 CXXRecordDecl *Record = cast<CXXRecordDecl>(RecordTy->getDecl()); in getCurrentInstantiationOf()
H A DSemaObjCProperty.cpp1332 const RecordType *RecordTy = PropertyIvarType->getAs<RecordType>(); in ActOnPropertyImplDecl() local
1333 if (RecordTy && RecordTy->getDecl()->hasFlexibleArrayMember()) { in ActOnPropertyImplDecl()
H A DSemaDeclObjC.cpp3843 const auto *RecordTy = T->getAs<RecordType>(); in IsVariableSizedType() local
3844 return (RecordTy && RecordTy->getDecl()->hasFlexibleArrayMember()); in IsVariableSizedType()
3889 } else if (const RecordType *RecordTy = IvarTy->getAs<RecordType>()) { in DiagnoseVariableSizedIvars() local
3890 if (RecordTy->getDecl()->hasFlexibleArrayMember()) { in DiagnoseVariableSizedIvars()
H A DSemaCodeComplete.cpp1066 QualType RecordTy = Context.getTypeDeclType(Record); in getConstructors() local
1069 Context.getCanonicalType(RecordTy)); in getConstructors()
3361 if (const auto *RecordTy = Ty->getAs<RecordType>()) in AddTypedNameChunk() local
3362 Record = cast<CXXRecordDecl>(RecordTy->getDecl()); in AddTypedNameChunk()
/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp1060 const RecordType *RecordTy = UPointeeT->getAs<RecordType>(); in TypeIsInnerPointer() local
1061 if (!RecordTy->getDecl()->isCompleteDefinition()) in TypeIsInnerPointer()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeExprGen.cpp2307 if (const auto *RecordTy = getRecordTy(Ty)) in getRecord() local
2308 return getRecord(RecordTy->getDecl()); in getRecord()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp1135 if (const auto *RecordTy = T->getAs<RecordType>()) { in addedMember() local
1136 auto *FieldRec = cast<CXXRecordDecl>(RecordTy->getDecl()); in addedMember()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp2812 for (const DICompositeType *RecordTy : TypesToEmit) in emitDeferredCompleteTypes() local
2813 getCompleteTypeIndex(RecordTy); in emitDeferredCompleteTypes()

12