| /llvm-project-15.0.7/clang/lib/ExtractAPI/Serialization/ |
| H A D | SymbolGraphSerializer.cpp | 392 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 D | SymbolGraphSerializer.h | 125 template <typename RecordTy> 126 Optional<Object> serializeAPIRecord(const RecordTy &Record) const;
|
| /llvm-project-15.0.7/clang/lib/ExtractAPI/ |
| H A D | API.cpp | 29 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 D | CGDebugInfo.h | 253 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 D | CGDebugInfo.cpp | 1428 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 D | CGClass.cpp | 643 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 D | CGExprAgg.cpp | 242 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 D | ItaniumCXXABI.cpp | 1311 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 D | CGException.cpp | 2120 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 D | CGStmt.cpp | 2806 QualType RecordTy = getContext().getRecordType(RD); in InitCapturedStruct() local 2810 MakeAddrLValue(CreateMemTemp(RecordTy, "agg.captured"), RecordTy); in InitCapturedStruct()
|
| H A D | CGDecl.cpp | 1507 if (const RecordType *RecordTy = Ty->getAs<RecordType>()) { in EmitAutoVarAlloca() local 1508 const auto *RD = RecordTy->getDecl(); in EmitAutoVarAlloca()
|
| H A D | MicrosoftCXXABI.cpp | 4071 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 D | API.h | 463 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 D | ByteCodeExprGen.cpp | 507 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 D | SearchableTableEmitter.cpp | 643 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 D | SemaPseudoObject.cpp | 1053 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 D | SemaExprMember.cpp | 764 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 D | SemaCXXScopeSpec.cpp | 33 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) { in getCurrentInstantiationOf() local 34 CXXRecordDecl *Record = cast<CXXRecordDecl>(RecordTy->getDecl()); in getCurrentInstantiationOf()
|
| H A D | SemaObjCProperty.cpp | 1332 const RecordType *RecordTy = PropertyIvarType->getAs<RecordType>(); in ActOnPropertyImplDecl() local 1333 if (RecordTy && RecordTy->getDecl()->hasFlexibleArrayMember()) { in ActOnPropertyImplDecl()
|
| H A D | SemaDeclObjC.cpp | 3836 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 D | SemaCodeComplete.cpp | 1044 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 D | SemaDeclCXX.cpp | 7298 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 D | ObjCMT.cpp | 1063 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 D | DeclCXX.cpp | 1111 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 D | CodeViewDebug.cpp | 2760 for (const DICompositeType *RecordTy : TypesToEmit) in emitDeferredCompleteTypes() local 2761 getCompleteTypeIndex(RecordTy); in emitDeferredCompleteTypes()
|