Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h289 llvm::DIType *RecordTy);
303 llvm::DIType *RecordTy);
309 SmallVectorImpl<llvm::Metadata *> &EltTys, llvm::DIType *RecordTy,
367 llvm::DIScope *RecordTy,
388 llvm::DIType *RecordTy);
390 llvm::DIType *RecordTy,
395 llvm::DIType *RecordTy, const RecordDecl *RD);
400 llvm::DICompositeType *RecordTy);
H A DCGClass.cpp641 QualType RecordTy = CGF.getContext().getTypeDeclType(ClassDecl); in EmitMemberInitializer() local
647 LHS = CGF.MakeNaturalAlignPointeeAddrLValue(ThisPtr, RecordTy); in EmitMemberInitializer()
649 LHS = CGF.MakeNaturalAlignAddrLValue(ThisPtr, RecordTy); in EmitMemberInitializer()
670 LValue ThisRHSLV = CGF.MakeNaturalAlignAddrLValue(SrcPtr, RecordTy); in EmitMemberInitializer()
977 QualType RecordTy = CGF.getContext().getTypeDeclType(ClassDecl); in emitMemcpy() local
979 LValue DestLV = CGF.MakeAddrLValue(ThisPtr, RecordTy); in emitMemcpy()
982 LValue SrcLV = CGF.MakeNaturalAlignAddrLValue(SrcPtr, RecordTy); in emitMemcpy()
1125 QualType RecordTy = CGF.getContext().getTypeDeclType(ClassDecl); in pushEHDestructors() local
1126 LValue LHS = CGF.MakeAddrLValue(ThisPtr, RecordTy); in pushEHDestructors()
1650 QualType RecordTy = CGF.getContext().getTagDeclType(field->getParent()); in Emit() local
[all …]
H A DCGDebugInfo.cpp1769 llvm::DIScope *RecordTy, const RecordDecl *RD) { in createBitFieldType() argument
1798 RecordTy, Name, File, Line, SizeInBits, OffsetInBits, StorageOffsetInBits, in createBitFieldType()
1855 llvm::DIScope *RecordTy = BitFieldDI->getScope(); in createBitFieldSeparatorIfNeeded() local
1869 RecordTy, "", File, Line, 0, StorageOffsetInBits, StorageOffsetInBits, in createBitFieldSeparatorIfNeeded()
1923 llvm::DIType *RecordTy) { in CollectRecordLambdaFields() argument
1943 layout.getFieldOffset(fieldno), Align, VUnit, RecordTy, CXXDecl); in CollectRecordLambdaFields()
1957 layout.getFieldOffset(fieldno), VUnit, RecordTy, CXXDecl); in CollectRecordLambdaFields()
1965 CGDebugInfo::CreateRecordStaticField(const VarDecl *Var, llvm::DIType *RecordTy, in CreateRecordStaticField() argument
1995 RecordTy, VName, VUnit, LineNumber, VTy, Flags, C, Tag, Align); in CreateRecordStaticField()
2002 SmallVectorImpl<llvm::Metadata *> &elements, llvm::DIType *RecordTy, in CollectRecordNormalField() argument
[all …]
H A DCGExprAgg.cpp271 const RecordType *RecordTy = T->getAs<RecordType>(); in TypeRequiresGCollection() local
272 if (!RecordTy) return false; in TypeRequiresGCollection()
275 RecordDecl *Record = RecordTy->getDecl(); in TypeRequiresGCollection()
2379 } else if (const RecordType *RecordTy = Ty->getAs<RecordType>()) { in EmitAggregateCopy() local
2380 RecordDecl *Record = RecordTy->getDecl(); in EmitAggregateCopy()
2388 if (const RecordType *RecordTy = BaseType->getAs<RecordType>()) { in EmitAggregateCopy() local
2389 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()
1481 if (const RecordType *RecordTy = ThrowType->getAs<RecordType>()) { in emitThrow() local
1482 CXXRecordDecl *Record = cast<CXXRecordDecl>(RecordTy->getDecl()); in emitThrow()
3757 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) { in ShouldUseExternalRTTIDescriptor() local
3758 const CXXRecordDecl *RD = cast<CXXRecordDecl>(RecordTy->getDecl()); in ShouldUseExternalRTTIDescriptor()
3791 static bool IsIncompleteClassType(const RecordType *RecordTy) { in IsIncompleteClassType() argument
3792 return !RecordTy->getDecl()->isCompleteDefinition(); in IsIncompleteClassType()
3807 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) { in ContainsIncompleteClassType() local
3808 if (IsIncompleteClassType(RecordTy)) in ContainsIncompleteClassType()
[all …]
H A DCGException.cpp2135 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 DCGStmt.cpp3282 QualType RecordTy = getContext().getRecordType(RD); in InitCapturedStruct() local
3286 MakeAddrLValue(CreateMemTemp(RecordTy, "agg.captured"), RecordTy); in InitCapturedStruct()
H A DCGDecl.cpp1569 if (const RecordType *RecordTy = Ty->getAs<RecordType>()) { in EmitAutoVarAlloca() local
1570 const auto *RD = RecordTy->getDecl(); in EmitAutoVarAlloca()
H A DMicrosoftCXXABI.cpp4079 QualType RecordTy = getContext().getRecordType(RD); in getAddrOfCXXCtorClosure() local
4081 ThunkTy, getLinkageForRTTI(RecordTy), ThunkName.str(), &CGM.getModule()); in getAddrOfCXXCtorClosure()
4103 getContext().getLValueReferenceType(RecordTy, in getAddrOfCXXCtorClosure()
/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DAPI.h1452 template <typename RecordTy, typename... CtorArgsContTy>
1453 typename std::enable_if_t<std::is_base_of_v<APIRecord, RecordTy>, RecordTy> *
1496 template <typename RecordTy, typename... CtorArgsContTy>
1497 typename std::enable_if_t<std::is_base_of_v<APIRecord, RecordTy>, RecordTy> *
1503 RecordTy *Record; in createRecord()
1507 Record = new (Allocator) RecordTy( in createRecord()
1518 Record = dyn_cast<RecordTy>(Result.first->second.get()); in createRecord()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/Serialization/
H A DSymbolGraphSerializer.cpp546 template <typename RecordTy>
547 void serializeFunctionSignatureMixin(Object &Paren, const RecordTy &Record) { in serializeFunctionSignatureMixin()
571 template <typename RecordTy>
572 void serializeTemplateMixin(Object &Paren, const RecordTy &Record) { in serializeTemplateMixin()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DSystemZ.cpp528 if (const auto *RecordTy = Ty->getAs<RecordType>()) { in isVectorTypeBased() local
529 const RecordDecl *RD = RecordTy->getDecl(); in isVectorTypeBased()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp721 if (auto RecordTy = dyn_cast<RecordRecTy>(Field.RecType)) { in collectTableEntries() local
722 if (IntrinsicClass && RecordTy->isSubClassOf(IntrinsicClass)) in collectTableEntries()
724 else if (InstructionClass && RecordTy->isSubClassOf(InstructionClass)) in collectTableEntries()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjC.cpp1383 const RecordType *RecordTy = T->getAs<RecordType>(); in CheckSubscriptingKind() local
1384 if (!RecordTy && (T->isObjCObjectPointerType() || T->isVoidPointerType())) in CheckSubscriptingKind()
1388 if (!getLangOpts().CPlusPlus || !RecordTy || RecordTy->isIncompleteType()) { in CheckSubscriptingKind()
1410 for (NamedDecl *D : cast<CXXRecordDecl>(RecordTy->getDecl()) in CheckSubscriptingKind()
H A DSemaExprMember.cpp693 QualType RecordTy = BaseType; in BuildMemberReferenceExpr() local
694 if (IsArrow) RecordTy = RecordTy->castAs<PointerType>()->getPointeeType(); in BuildMemberReferenceExpr()
695 if (LookupMemberExprInRecord(*this, R, nullptr, RecordTy, OpLoc, IsArrow, in BuildMemberReferenceExpr()
H A DSemaCXXScopeSpec.cpp32 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) { in getCurrentInstantiationOf() local
33 CXXRecordDecl *Record = cast<CXXRecordDecl>(RecordTy->getDecl()); in getCurrentInstantiationOf()
H A DSemaDeclObjC.cpp3848 const auto *RecordTy = T->getAs<RecordType>(); in IsVariableSizedType() local
3849 return (RecordTy && RecordTy->getDecl()->hasFlexibleArrayMember()); in IsVariableSizedType()
3894 } else if (const RecordType *RecordTy = IvarTy->getAs<RecordType>()) { in DiagnoseVariableSizedIvars() local
3895 if (RecordTy->getDecl()->hasFlexibleArrayMember()) { in DiagnoseVariableSizedIvars()
5537 if (const RecordType *RecordTy = in SetIvarInitializers() local
5540 CXXRecordDecl *RD = cast<CXXRecordDecl>(RecordTy->getDecl()); in SetIvarInitializers()
H A DSemaObjCProperty.cpp1323 const RecordType *RecordTy = PropertyIvarType->getAs<RecordType>(); in ActOnPropertyImplDecl() local
1324 if (RecordTy && RecordTy->getDecl()->hasFlexibleArrayMember()) { in ActOnPropertyImplDecl()
H A DSemaCodeComplete.cpp1073 QualType RecordTy = Context.getTypeDeclType(Record); in getConstructors() local
1076 Context.getCanonicalType(RecordTy)); in getConstructors()
3523 if (const auto *RecordTy = Ty->getAs<RecordType>()) in AddTypedNameChunk() local
3524 Record = cast<CXXRecordDecl>(RecordTy->getDecl()); in AddTypedNameChunk()
H A DSemaDeclCXX.cpp7597 if (const RecordType *RecordTy = BaseType->getAs<RecordType>()) { in defaultedSpecialMemberIsConstexpr() local
7598 CXXRecordDecl *FieldRecDecl = cast<CXXRecordDecl>(RecordTy->getDecl()); in defaultedSpecialMemberIsConstexpr()
14840 if (const RecordType *RecordTy = T->getAs<RecordType>()) { in buildSingleCopyAssignRecursively() local
14841 CXXRecordDecl *ClassDecl = cast<CXXRecordDecl>(RecordTy->getDecl()); in buildSingleCopyAssignRecursively()
H A DSemaOverload.cpp6815 const RecordType *RecordTy = T->getAs<RecordType>(); in PerformContextualImplicitConversion() local
6816 if (!RecordTy || !getLangOpts().CPlusPlus) { in PerformContextualImplicitConversion()
6844 cast<CXXRecordDecl>(RecordTy->getDecl())->getVisibleConversionFunctions(); in PerformContextualImplicitConversion()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp1220 if (const auto *RecordTy = T->getAs<RecordType>()) { in addedMember() local
1221 auto *FieldRec = cast<CXXRecordDecl>(RecordTy->getDecl()); in addedMember()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp2826 for (const DICompositeType *RecordTy : TypesToEmit) in emitDeferredCompleteTypes() local
2827 getCompleteTypeIndex(RecordTy); in emitDeferredCompleteTypes()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DCompiler.cpp4490 if (const auto *RecordTy = getRecordTy(Ty)) in getRecord() local
4491 return getRecord(RecordTy->getDecl()); in getRecord()