Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang/lib/ExtractAPI/Serialization/
H A DSymbolGraphSerializer.cpp392 template <typename RecordTy>
393 Optional<Object> serializeFunctionSignatureMixinImpl(const RecordTy &Record, in serializeFunctionSignatureMixinImpl()
418 template <typename RecordTy>
419 Optional<Object> serializeFunctionSignatureMixinImpl(const RecordTy &Record, in serializeFunctionSignatureMixinImpl()
434 template <typename RecordTy>
435 void serializeFunctionSignatureMixin(Object &Paren, const RecordTy &Record) { in serializeFunctionSignatureMixin()
438 Record, has_function_signature<RecordTy>())); in serializeFunctionSignatureMixin()
478 template <typename RecordTy>
480 SymbolGraphSerializer::serializeAPIRecord(const RecordTy &Record) const { in serializeAPIRecord()
/llvm-project-15.0.7/clang/include/clang/ExtractAPI/Serialization/
H A DSymbolGraphSerializer.h125 template <typename RecordTy>
126 Optional<Object> serializeAPIRecord(const RecordTy &Record) const;
/llvm-project-15.0.7/clang/lib/ExtractAPI/
H A DAPI.cpp29 template <typename RecordTy, typename... CtorArgsTy>
30 RecordTy *addTopLevelRecord(APISet::RecordMap<RecordTy> &RecordMap, in addTopLevelRecord()
37 std::make_unique<RecordTy>(USR, std::forward<CtorArgsTy>(CtorArgs)...); in addTopLevelRecord()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDebugInfo.h253 llvm::DIType *RecordTy);
267 llvm::DIType *RecordTy);
273 SmallVectorImpl<llvm::Metadata *> &EltTys, llvm::DIType *RecordTy,
325 llvm::DIScope *RecordTy,
332 llvm::DIType *RecordTy);
334 llvm::DIType *RecordTy,
339 llvm::DIType *RecordTy, const RecordDecl *RD);
344 llvm::DICompositeType *RecordTy);
H A DCGDebugInfo.cpp1428 llvm::DIScope *RecordTy, in createBitFieldType() argument
1486 llvm::DIType *RecordTy) { in CollectRecordLambdaFields() argument
1518 layout.getFieldOffset(fieldno), VUnit, RecordTy, CXXDecl); in CollectRecordLambdaFields()
1550 RecordTy, VName, VUnit, LineNumber, VTy, Flags, C, Align); in CreateRecordStaticField()
1568 FieldType = createBitFieldType(field, RecordTy, RD); in CollectRecordNormalField()
1594 llvm::DICompositeType *RecordTy) { in CollectRecordFields() argument
1598 CollectRecordLambdaFields(CXXDecl, elements, RecordTy); in CollectRecordFields()
1628 auto Field = CreateRecordStaticField(V, RecordTy, record); in CollectRecordFields()
1633 elements, RecordTy, record); in CollectRecordFields()
1813 ContainingType = RecordTy; in CreateCXXMemberFunction()
[all …]
H A DCGClass.cpp643 QualType RecordTy = CGF.getContext().getTypeDeclType(ClassDecl); in EmitMemberInitializer() local
649 LHS = CGF.MakeNaturalAlignPointeeAddrLValue(ThisPtr, RecordTy); in EmitMemberInitializer()
651 LHS = CGF.MakeNaturalAlignAddrLValue(ThisPtr, RecordTy); in EmitMemberInitializer()
672 LValue ThisRHSLV = CGF.MakeNaturalAlignAddrLValue(SrcPtr, RecordTy); in EmitMemberInitializer()
975 QualType RecordTy = CGF.getContext().getTypeDeclType(ClassDecl); in emitMemcpy() local
977 LValue DestLV = CGF.MakeAddrLValue(ThisPtr, RecordTy); in emitMemcpy()
980 LValue SrcLV = CGF.MakeNaturalAlignAddrLValue(SrcPtr, RecordTy); in emitMemcpy()
1121 QualType RecordTy = CGF.getContext().getTypeDeclType(ClassDecl); in pushEHDestructors() local
1122 LValue LHS = CGF.MakeAddrLValue(ThisPtr, RecordTy); in pushEHDestructors()
1642 QualType RecordTy = CGF.getContext().getTagDeclType(field->getParent()); in Emit() local
[all …]
H A DCGExprAgg.cpp242 const RecordType *RecordTy = T->getAs<RecordType>(); in TypeRequiresGCollection() local
243 if (!RecordTy) return false; in TypeRequiresGCollection()
246 RecordDecl *Record = RecordTy->getDecl(); in TypeRequiresGCollection()
2149 } else if (const RecordType *RecordTy = Ty->getAs<RecordType>()) { in EmitAggregateCopy() local
2150 RecordDecl *Record = RecordTy->getDecl(); in EmitAggregateCopy()
2158 if (const RecordType *RecordTy = BaseType->getAs<RecordType>()) { in EmitAggregateCopy() local
2159 if (RecordTy->getDecl()->hasObjectMember()) { in EmitAggregateCopy()
H A DItaniumCXXABI.cpp1311 if (const RecordType *RecordTy = ThrowType->getAs<RecordType>()) { in emitThrow() local
1312 CXXRecordDecl *Record = cast<CXXRecordDecl>(RecordTy->getDecl()); in emitThrow()
3352 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) { in ShouldUseExternalRTTIDescriptor() local
3353 const CXXRecordDecl *RD = cast<CXXRecordDecl>(RecordTy->getDecl()); in ShouldUseExternalRTTIDescriptor()
3386 static bool IsIncompleteClassType(const RecordType *RecordTy) { in IsIncompleteClassType() argument
3387 return !RecordTy->getDecl()->isCompleteDefinition(); in IsIncompleteClassType()
3402 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) { in ContainsIncompleteClassType() local
3403 if (IsIncompleteClassType(RecordTy)) in ContainsIncompleteClassType()
3834 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) { in BuildTypeInfo() local
3835 const CXXRecordDecl *RD = cast<CXXRecordDecl>(RecordTy->getDecl()); in BuildTypeInfo()
H A DCGException.cpp2120 llvm::Type *RecordTy = CGM.Int32Ty->getPointerTo(); in EmitSEHExceptionCodeSave() local
2121 llvm::Type *PtrsTy = llvm::StructType::get(RecordTy, CGM.VoidPtrTy); in EmitSEHExceptionCodeSave()
2124 Rec = Builder.CreateAlignedLoad(RecordTy, Rec, getPointerAlign()); in EmitSEHExceptionCodeSave()
H A DCGStmt.cpp2806 QualType RecordTy = getContext().getRecordType(RD); in InitCapturedStruct() local
2810 MakeAddrLValue(CreateMemTemp(RecordTy, "agg.captured"), RecordTy); in InitCapturedStruct()
H A DCGDecl.cpp1507 if (const RecordType *RecordTy = Ty->getAs<RecordType>()) { in EmitAutoVarAlloca() local
1508 const auto *RD = RecordTy->getDecl(); in EmitAutoVarAlloca()
H A DMicrosoftCXXABI.cpp4071 QualType RecordTy = getContext().getRecordType(RD); in getAddrOfCXXCtorClosure() local
4073 ThunkTy, getLinkageForRTTI(RecordTy), ThunkName.str(), &CGM.getModule()); in getAddrOfCXXCtorClosure()
4095 getContext().getLValueReferenceType(RecordTy, in getAddrOfCXXCtorClosure()
/llvm-project-15.0.7/clang/include/clang/ExtractAPI/
H A DAPI.h463 template <typename RecordTy>
651 template <typename RecordTy,
653 std::enable_if_t<std::is_base_of<APIRecord, RecordTy>::value>>
654 using RecordMap = llvm::MapVector<StringRef, std::unique_ptr<RecordTy>>;
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DByteCodeExprGen.cpp507 if (auto *RecordTy = getRecordTy(Ty)) { in getRecord() local
508 return getRecord(RecordTy->getDecl()); in getRecord()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp643 if (auto RecordTy = dyn_cast<RecordRecTy>(Field.RecType)) { in collectTableEntries() local
644 if (IntrinsicClass && RecordTy->isSubClassOf(IntrinsicClass)) in collectTableEntries()
646 else if (InstructionClass && RecordTy->isSubClassOf(InstructionClass)) in collectTableEntries()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaPseudoObject.cpp1053 const RecordType *RecordTy = T->getAs<RecordType>(); in CheckSubscriptingKind() local
1054 if (!RecordTy && in CheckSubscriptingKind()
1060 !RecordTy || RecordTy->isIncompleteType()) { in CheckSubscriptingKind()
1082 for (NamedDecl *D : cast<CXXRecordDecl>(RecordTy->getDecl()) in CheckSubscriptingKind()
H A DSemaExprMember.cpp764 QualType RecordTy = BaseType; in BuildMemberReferenceExpr() local
765 if (IsArrow) RecordTy = RecordTy->castAs<PointerType>()->getPointeeType(); in BuildMemberReferenceExpr()
767 *this, R, nullptr, RecordTy->getAs<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.cpp3836 const auto *RecordTy = T->getAs<RecordType>(); in IsVariableSizedType() local
3837 return (RecordTy && RecordTy->getDecl()->hasFlexibleArrayMember()); in IsVariableSizedType()
3882 } else if (const RecordType *RecordTy = IvarTy->getAs<RecordType>()) { in DiagnoseVariableSizedIvars() local
3883 if (RecordTy->getDecl()->hasFlexibleArrayMember()) { in DiagnoseVariableSizedIvars()
H A DSemaCodeComplete.cpp1044 QualType RecordTy = Context.getTypeDeclType(Record); in getConstructors() local
1047 Context.getCanonicalType(RecordTy)); in getConstructors()
3264 if (const auto *RecordTy = Ty->getAs<RecordType>()) in AddTypedNameChunk() local
3265 Record = cast<CXXRecordDecl>(RecordTy->getDecl()); in AddTypedNameChunk()
H A DSemaDeclCXX.cpp7298 if (const RecordType *RecordTy = BaseType->getAs<RecordType>()) { in defaultedSpecialMemberIsConstexpr() local
7299 CXXRecordDecl *FieldRecDecl = cast<CXXRecordDecl>(RecordTy->getDecl()); in defaultedSpecialMemberIsConstexpr()
14129 if (const RecordType *RecordTy = T->getAs<RecordType>()) { in buildSingleCopyAssignRecursively() local
14130 CXXRecordDecl *ClassDecl = cast<CXXRecordDecl>(RecordTy->getDecl()); in buildSingleCopyAssignRecursively()
17949 if (const RecordType *RecordTy = in SetIvarInitializers() local
17952 CXXRecordDecl *RD = cast<CXXRecordDecl>(RecordTy->getDecl()); in SetIvarInitializers()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DObjCMT.cpp1063 const RecordType *RecordTy = UPointeeT->getAs<RecordType>(); in TypeIsInnerPointer() local
1064 if (!RecordTy->getDecl()->isCompleteDefinition()) in TypeIsInnerPointer()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclCXX.cpp1111 if (const auto *RecordTy = T->getAs<RecordType>()) { in addedMember() local
1112 auto *FieldRec = cast<CXXRecordDecl>(RecordTy->getDecl()); in addedMember()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp2760 for (const DICompositeType *RecordTy : TypesToEmit) in emitDeferredCompleteTypes() local
2761 getCompleteTypeIndex(RecordTy); in emitDeferredCompleteTypes()

12