/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGDebugInfo.h | 264 llvm::DIType *RecordTy); 278 llvm::DIType *RecordTy); 284 SmallVectorImpl<llvm::Metadata *> &EltTys, llvm::DIType *RecordTy, 342 llvm::DIScope *RecordTy, 363 llvm::DIType *RecordTy); 365 llvm::DIType *RecordTy, 370 llvm::DIType *RecordTy, const RecordDecl *RD); 375 llvm::DICompositeType *RecordTy);
|
H A D | CGDebugInfo.cpp | 1606 llvm::DIScope *RecordTy, const RecordDecl *RD) { in createBitFieldType() argument 1635 RecordTy, Name, File, Line, SizeInBits, OffsetInBits, StorageOffsetInBits, in createBitFieldType() 1693 llvm::DIScope *RecordTy = BitFieldDI->getScope(); in createBitFieldSeparatorIfNeeded() local 1707 RecordTy, "", File, Line, 0, StorageOffsetInBits, StorageOffsetInBits, in createBitFieldSeparatorIfNeeded() 1759 llvm::DIType *RecordTy) { in CollectRecordLambdaFields() argument 1779 layout.getFieldOffset(fieldno), Align, VUnit, RecordTy, CXXDecl); in CollectRecordLambdaFields() 1793 layout.getFieldOffset(fieldno), VUnit, RecordTy, CXXDecl); in CollectRecordLambdaFields() 1801 CGDebugInfo::CreateRecordStaticField(const VarDecl *Var, llvm::DIType *RecordTy, in CreateRecordStaticField() argument 1831 RecordTy, VName, VUnit, LineNumber, VTy, Flags, C, Tag, Align); in CreateRecordStaticField() 1838 SmallVectorImpl<llvm::Metadata *> &elements, llvm::DIType *RecordTy, in CollectRecordNormalField() argument [all …]
|
H A D | CGClass.cpp | 645 QualType RecordTy = CGF.getContext().getTypeDeclType(ClassDecl); in EmitMemberInitializer() local 651 LHS = CGF.MakeNaturalAlignPointeeAddrLValue(ThisPtr, RecordTy); in EmitMemberInitializer() 653 LHS = CGF.MakeNaturalAlignAddrLValue(ThisPtr, RecordTy); in EmitMemberInitializer() 674 LValue ThisRHSLV = CGF.MakeNaturalAlignAddrLValue(SrcPtr, RecordTy); in EmitMemberInitializer() 978 QualType RecordTy = CGF.getContext().getTypeDeclType(ClassDecl); in emitMemcpy() local 980 LValue DestLV = CGF.MakeAddrLValue(ThisPtr, RecordTy); in emitMemcpy() 983 LValue SrcLV = CGF.MakeNaturalAlignAddrLValue(SrcPtr, RecordTy); in emitMemcpy() 1124 QualType RecordTy = CGF.getContext().getTypeDeclType(ClassDecl); in pushEHDestructors() local 1125 LValue LHS = CGF.MakeAddrLValue(ThisPtr, RecordTy); in pushEHDestructors() 1646 QualType RecordTy = CGF.getContext().getTagDeclType(field->getParent()); in Emit() local [all …]
|
H A D | CGExprAgg.cpp | 265 const RecordType *RecordTy = T->getAs<RecordType>(); in TypeRequiresGCollection() local 266 if (!RecordTy) return false; in TypeRequiresGCollection() 269 RecordDecl *Record = RecordTy->getDecl(); in TypeRequiresGCollection() 2186 } else if (const RecordType *RecordTy = Ty->getAs<RecordType>()) { in EmitAggregateCopy() local 2187 RecordDecl *Record = RecordTy->getDecl(); in EmitAggregateCopy() 2195 if (const RecordType *RecordTy = BaseType->getAs<RecordType>()) { in EmitAggregateCopy() local 2196 if (RecordTy->getDecl()->hasObjectMember()) { in EmitAggregateCopy()
|
H A D | ItaniumCXXABI.cpp | 195 bool hasUniqueVTablePointer(QualType RecordTy) { in hasUniqueVTablePointer() argument 196 const CXXRecordDecl *RD = RecordTy->getAsCXXRecordDecl(); in hasUniqueVTablePointer() 1467 if (const RecordType *RecordTy = ThrowType->getAs<RecordType>()) { in emitThrow() local 1468 CXXRecordDecl *Record = cast<CXXRecordDecl>(RecordTy->getDecl()); in emitThrow() 3722 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) { in ShouldUseExternalRTTIDescriptor() local 3723 const CXXRecordDecl *RD = cast<CXXRecordDecl>(RecordTy->getDecl()); in ShouldUseExternalRTTIDescriptor() 3756 static bool IsIncompleteClassType(const RecordType *RecordTy) { in IsIncompleteClassType() argument 3757 return !RecordTy->getDecl()->isCompleteDefinition(); in IsIncompleteClassType() 3772 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) { in ContainsIncompleteClassType() local 3773 if (IsIncompleteClassType(RecordTy)) in ContainsIncompleteClassType() [all …]
|
H A D | CGException.cpp | 2135 llvm::Type *RecordTy = llvm::PointerType::getUnqual(getLLVMContext()); in EmitSEHExceptionCodeSave() local 2136 llvm::Type *PtrsTy = llvm::StructType::get(RecordTy, CGM.VoidPtrTy); in EmitSEHExceptionCodeSave() 2138 Rec = Builder.CreateAlignedLoad(RecordTy, Rec, getPointerAlign()); in EmitSEHExceptionCodeSave()
|
H A D | CGStmt.cpp | 3101 QualType RecordTy = getContext().getRecordType(RD); in InitCapturedStruct() local 3105 MakeAddrLValue(CreateMemTemp(RecordTy, "agg.captured"), RecordTy); in InitCapturedStruct()
|
H A D | CGDecl.cpp | 1533 if (const RecordType *RecordTy = Ty->getAs<RecordType>()) { in EmitAutoVarAlloca() local 1534 const auto *RD = RecordTy->getDecl(); in EmitAutoVarAlloca()
|
H A D | MicrosoftCXXABI.cpp | 4086 QualType RecordTy = getContext().getRecordType(RD); in getAddrOfCXXCtorClosure() local 4088 ThunkTy, getLinkageForRTTI(RecordTy), ThunkName.str(), &CGM.getModule()); in getAddrOfCXXCtorClosure() 4110 getContext().getLValueReferenceType(RecordTy, in getAddrOfCXXCtorClosure()
|
/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/ |
H A D | API.h | 1425 template <typename RecordTy, typename... CtorArgsContTy> 1426 typename std::enable_if_t<std::is_base_of_v<APIRecord, RecordTy>, RecordTy> * 1465 template <typename RecordTy, typename... CtorArgsContTy> 1466 typename std::enable_if_t<std::is_base_of_v<APIRecord, RecordTy>, RecordTy> * 1472 RecordTy *Record; in createRecord() 1476 Record = new (Allocator) RecordTy( in createRecord() 1487 Record = dyn_cast<RecordTy>(Result.first->second.get()); in createRecord()
|
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/Serialization/ |
H A D | SymbolGraphSerializer.cpp | 526 template <typename RecordTy> 527 void serializeFunctionSignatureMixin(Object &Paren, const RecordTy &Record) { in serializeFunctionSignatureMixin() 551 template <typename RecordTy> 552 void serializeTemplateMixin(Object &Paren, const RecordTy &Record) { in serializeTemplateMixin()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | SystemZ.cpp | 512 if (const auto *RecordTy = Ty->getAs<RecordType>()) { in isVectorTypeBased() local 513 const RecordDecl *RD = RecordTy->getDecl(); in isVectorTypeBased()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | SearchableTableEmitter.cpp | 697 if (auto RecordTy = dyn_cast<RecordRecTy>(Field.RecType)) { in collectTableEntries() local 698 if (IntrinsicClass && RecordTy->isSubClassOf(IntrinsicClass)) in collectTableEntries() 700 else if (InstructionClass && RecordTy->isSubClassOf(InstructionClass)) in collectTableEntries()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaObjC.cpp | 1386 const RecordType *RecordTy = T->getAs<RecordType>(); in CheckSubscriptingKind() local 1387 if (!RecordTy && (T->isObjCObjectPointerType() || T->isVoidPointerType())) in CheckSubscriptingKind() 1391 if (!getLangOpts().CPlusPlus || !RecordTy || RecordTy->isIncompleteType()) { in CheckSubscriptingKind() 1413 for (NamedDecl *D : cast<CXXRecordDecl>(RecordTy->getDecl()) in CheckSubscriptingKind()
|
H A D | SemaExprMember.cpp | 796 QualType RecordTy = BaseType; in BuildMemberReferenceExpr() local 797 if (IsArrow) RecordTy = RecordTy->castAs<PointerType>()->getPointeeType(); in BuildMemberReferenceExpr() 798 if (LookupMemberExprInRecord(*this, R, nullptr, RecordTy, 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 | SemaDeclObjC.cpp | 3846 const auto *RecordTy = T->getAs<RecordType>(); in IsVariableSizedType() local 3847 return (RecordTy && RecordTy->getDecl()->hasFlexibleArrayMember()); in IsVariableSizedType() 3892 } else if (const RecordType *RecordTy = IvarTy->getAs<RecordType>()) { in DiagnoseVariableSizedIvars() local 3893 if (RecordTy->getDecl()->hasFlexibleArrayMember()) { in DiagnoseVariableSizedIvars() 5535 if (const RecordType *RecordTy = in SetIvarInitializers() local 5538 CXXRecordDecl *RD = cast<CXXRecordDecl>(RecordTy->getDecl()); in SetIvarInitializers()
|
H A D | SemaObjCProperty.cpp | 1313 const RecordType *RecordTy = PropertyIvarType->getAs<RecordType>(); in ActOnPropertyImplDecl() local 1314 if (RecordTy && RecordTy->getDecl()->hasFlexibleArrayMember()) { in ActOnPropertyImplDecl()
|
H A D | SemaCodeComplete.cpp | 1073 QualType RecordTy = Context.getTypeDeclType(Record); in getConstructors() local 1076 Context.getCanonicalType(RecordTy)); in getConstructors() 3367 if (const auto *RecordTy = Ty->getAs<RecordType>()) in AddTypedNameChunk() local 3368 Record = cast<CXXRecordDecl>(RecordTy->getDecl()); in AddTypedNameChunk()
|
H A D | SemaDeclCXX.cpp | 7440 if (const RecordType *RecordTy = BaseType->getAs<RecordType>()) { in defaultedSpecialMemberIsConstexpr() local 7441 CXXRecordDecl *FieldRecDecl = cast<CXXRecordDecl>(RecordTy->getDecl()); in defaultedSpecialMemberIsConstexpr() 14550 if (const RecordType *RecordTy = T->getAs<RecordType>()) { in buildSingleCopyAssignRecursively() local 14551 CXXRecordDecl *ClassDecl = cast<CXXRecordDecl>(RecordTy->getDecl()); in buildSingleCopyAssignRecursively()
|
H A D | SemaOverload.cpp | 6570 const RecordType *RecordTy = T->getAs<RecordType>(); in PerformContextualImplicitConversion() local 6571 if (!RecordTy || !getLangOpts().CPlusPlus) { in PerformContextualImplicitConversion() 6599 cast<CXXRecordDecl>(RecordTy->getDecl())->getVisibleConversionFunctions(); in PerformContextualImplicitConversion()
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | ObjCMT.cpp | 1060 const RecordType *RecordTy = UPointeeT->getAs<RecordType>(); in TypeIsInnerPointer() local 1061 if (!RecordTy->getDecl()->isCompleteDefinition()) in TypeIsInnerPointer()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclCXX.cpp | 1177 if (const auto *RecordTy = T->getAs<RecordType>()) { in addedMember() local 1178 auto *FieldRec = cast<CXXRecordDecl>(RecordTy->getDecl()); in addedMember()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | CodeViewDebug.cpp | 2812 for (const DICompositeType *RecordTy : TypesToEmit) in emitLocalVariableList() 2813 getCompleteTypeIndex(RecordTy); in emitLocalVariableList() 2794 for (const DICompositeType *RecordTy : TypesToEmit) emitDeferredCompleteTypes() local
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Compiler.cpp | 3535 if (const auto *RecordTy = getRecordTy(Ty)) in getRecord() local 3536 return getRecord(RecordTy->getDecl()); in getRecord()
|