Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGDebugInfo.h196 llvm::DIType *RecordTy);
210 llvm::DIType *RecordTy);
237 llvm::DIType *RecordTy);
239 llvm::DIType *RecordTy,
244 llvm::DIType *RecordTy, const RecordDecl *RD);
247 llvm::DICompositeType *RecordTy);
HDCGExprAgg.cpp229 const RecordType *RecordTy = T->getAs<RecordType>(); in TypeRequiresGCollection() local
230 if (!RecordTy) return false; in TypeRequiresGCollection()
233 RecordDecl *Record = RecordTy->getDecl(); in TypeRequiresGCollection()
1525 } else if (const RecordType *RecordTy = Ty->getAs<RecordType>()) { in EmitAggregateCopy() local
1526 RecordDecl *Record = RecordTy->getDecl(); in EmitAggregateCopy()
1534 if (const RecordType *RecordTy = BaseType->getAs<RecordType>()) { in EmitAggregateCopy() local
1535 if (RecordTy->getDecl()->hasObjectMember()) { in EmitAggregateCopy()
HDCGClass.cpp586 QualType RecordTy = CGF.getContext().getTypeDeclType(ClassDecl); in EmitMemberInitializer() local
587 LValue LHS = CGF.MakeNaturalAlignAddrLValue(ThisPtr, RecordTy); in EmitMemberInitializer()
608 LValue ThisRHSLV = CGF.MakeNaturalAlignAddrLValue(SrcPtr, RecordTy); in EmitMemberInitializer()
932 QualType RecordTy = CGF.getContext().getTypeDeclType(ClassDecl); in emitMemcpy() local
934 LValue DestLV = CGF.MakeNaturalAlignAddrLValue(ThisPtr, RecordTy); in emitMemcpy()
937 LValue SrcLV = CGF.MakeNaturalAlignAddrLValue(SrcPtr, RecordTy); in emitMemcpy()
1093 QualType RecordTy = CGF.getContext().getTypeDeclType(ClassDecl); in pushEHDestructors() local
1094 LValue LHS = CGF.MakeNaturalAlignAddrLValue(ThisPtr, RecordTy); in pushEHDestructors()
1550 QualType RecordTy = CGF.getContext().getTagDeclType(field->getParent()); in Emit() local
1551 LValue ThisLV = CGF.MakeAddrLValue(thisValue, RecordTy); in Emit()
HDCGDebugInfo.cpp857 llvm::DIType *RecordTy) { in CollectRecordLambdaFields() argument
879 Field->getAccess(), layout.getFieldOffset(fieldno), VUnit, RecordTy, in CollectRecordLambdaFields()
892 layout.getFieldOffset(fieldno), VUnit, RecordTy, CXXDecl); in CollectRecordLambdaFields()
900 CGDebugInfo::CreateRecordStaticField(const VarDecl *Var, llvm::DIType *RecordTy, in CreateRecordStaticField() argument
923 RecordTy, VName, VUnit, LineNumber, VTy, Flags, C); in CreateRecordStaticField()
930 SmallVectorImpl<llvm::Metadata *> &elements, llvm::DIType *RecordTy, in CollectRecordNormalField() argument
947 field->getAccess(), OffsetInBits, tunit, RecordTy, RD); in CollectRecordNormalField()
955 llvm::DICompositeType *RecordTy) { in CollectRecordFields() argument
959 CollectRecordLambdaFields(CXXDecl, elements, RecordTy); in CollectRecordFields()
977 auto Field = CreateRecordStaticField(V, RecordTy, record); in CollectRecordFields()
[all …]
HDItaniumCXXABI.cpp966 if (const RecordType *RecordTy = ThrowType->getAs<RecordType>()) { in emitThrow() local
967 CXXRecordDecl *Record = cast<CXXRecordDecl>(RecordTy->getDecl()); in emitThrow()
2296 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) { in GetAddrOfExternalRTTIDescriptor() local
2297 const CXXRecordDecl *RD = cast<CXXRecordDecl>(RecordTy->getDecl()); in GetAddrOfExternalRTTIDescriptor()
2413 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) { in ShouldUseExternalRTTIDescriptor() local
2414 const CXXRecordDecl *RD = cast<CXXRecordDecl>(RecordTy->getDecl()); in ShouldUseExternalRTTIDescriptor()
2437 static bool IsIncompleteClassType(const RecordType *RecordTy) { in IsIncompleteClassType() argument
2438 return !RecordTy->getDecl()->isCompleteDefinition(); in IsIncompleteClassType()
2453 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) { in ContainsIncompleteClassType() local
2454 if (IsIncompleteClassType(RecordTy)) in ContainsIncompleteClassType()
HDCGStmt.cpp2152 QualType RecordTy = getContext().getRecordType(RD); in InitCapturedStruct() local
2156 CreateMemTemp(RecordTy, "agg.captured"), RecordTy); in InitCapturedStruct()
HDCGException.cpp1645 llvm::Type *RecordTy = CGM.Int32Ty->getPointerTo(); in EmitSEHExceptionCodeSave() local
1646 llvm::Type *PtrsTy = llvm::StructType::get(RecordTy, CGM.VoidPtrTy, nullptr); in EmitSEHExceptionCodeSave()
HDCGDecl.cpp945 if (const RecordType *RecordTy = Ty->getAs<RecordType>()) { in EmitAutoVarAlloca() local
946 if (!cast<CXXRecordDecl>(RecordTy->getDecl())->hasTrivialDestructor()) { in EmitAutoVarAlloca()
HDMicrosoftCXXABI.cpp3738 QualType RecordTy = getContext().getRecordType(RD); in getAddrOfCXXCtorClosure() local
3740 ThunkTy, getLinkageForRTTI(RecordTy), ThunkName.str(), &CGM.getModule()); in getAddrOfCXXCtorClosure()
3761 getContext().getLValueReferenceType(RecordTy, in getAddrOfCXXCtorClosure()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaPseudoObject.cpp1018 const RecordType *RecordTy = T->getAs<RecordType>(); in CheckSubscriptingKind() local
1019 if (!RecordTy && in CheckSubscriptingKind()
1025 !RecordTy || RecordTy->isIncompleteType()) { in CheckSubscriptingKind()
1047 for (NamedDecl *D : cast<CXXRecordDecl>(RecordTy->getDecl()) in CheckSubscriptingKind()
HDSemaExprMember.cpp695 QualType RecordTy = BaseType; in BuildMemberReferenceExpr() local
696 if (IsArrow) RecordTy = RecordTy->getAs<PointerType>()->getPointeeType(); in BuildMemberReferenceExpr()
698 RecordTy->getAs<RecordType>(), OpLoc, IsArrow, in BuildMemberReferenceExpr()
HDSemaCXXScopeSpec.cpp35 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) { in getCurrentInstantiationOf() local
36 CXXRecordDecl *Record = cast<CXXRecordDecl>(RecordTy->getDecl()); in getCurrentInstantiationOf()
HDSemaTemplateInstantiateDecl.cpp496 if (const RecordType *RecordTy = D->getType()->getAs<RecordType>()) in VisitVarDecl() local
497 if (RecordTy->getDecl()->isAnonymousStructOrUnion()) in VisitVarDecl()
498 if (!VisitCXXRecordDecl(cast<CXXRecordDecl>(RecordTy->getDecl()))) in VisitVarDecl()
2653 if (const RecordType *RecordTy = D->getType()->getAs<RecordType>()) in VisitVarTemplateSpecializationDecl() local
2654 if (RecordTy->getDecl()->isAnonymousStructOrUnion()) in VisitVarTemplateSpecializationDecl()
2655 if (!VisitCXXRecordDecl(cast<CXXRecordDecl>(RecordTy->getDecl()))) in VisitVarTemplateSpecializationDecl()
HDSemaDeclCXX.cpp5151 if (const RecordType *RecordTy = BaseType->getAs<RecordType>()) { in defaultedSpecialMemberIsConstexpr() local
5152 CXXRecordDecl *FieldRecDecl = cast<CXXRecordDecl>(RecordTy->getDecl()); in defaultedSpecialMemberIsConstexpr()
8776 } else if (const RecordType *RecordTy in ComputeDefaultedDefaultCtorExceptionSpec() local
8778 CXXRecordDecl *FieldRecDecl = cast<CXXRecordDecl>(RecordTy->getDecl()); in ComputeDefaultedDefaultCtorExceptionSpec()
8843 } else if (const RecordType *RecordTy in ComputeInheritingCtorExceptionSpec() local
8845 CXXRecordDecl *FieldRecDecl = cast<CXXRecordDecl>(RecordTy->getDecl()); in ComputeInheritingCtorExceptionSpec()
9350 if (const RecordType *RecordTy in ComputeDefaultedDtorExceptionSpec() local
9353 LookupDestructor(cast<CXXRecordDecl>(RecordTy->getDecl()))); in ComputeDefaultedDtorExceptionSpec()
9771 if (const RecordType *RecordTy = T->getAs<RecordType>()) { in buildSingleCopyAssignRecursively() local
9772 CXXRecordDecl *ClassDecl = cast<CXXRecordDecl>(RecordTy->getDecl()); in buildSingleCopyAssignRecursively()
[all …]
HDSemaCodeComplete.cpp798 QualType RecordTy = Context.getTypeDeclType(Record); in MaybeAddConstructorResults() local
801 Context.getCanonicalType(RecordTy)); in MaybeAddConstructorResults()
2543 if (const RecordType *RecordTy = Ty->getAs<RecordType>()) in AddTypedNameChunk() local
2544 Record = cast<CXXRecordDecl>(RecordTy->getDecl()); in AddTypedNameChunk()
HDSemaOverload.cpp5362 const RecordType *RecordTy = T->getAs<RecordType>(); in PerformContextualImplicitConversion() local
5363 if (!RecordTy || !getLangOpts().CPlusPlus) { in PerformContextualImplicitConversion()
5390 cast<CXXRecordDecl>(RecordTy->getDecl())->getVisibleConversionFunctions(); in PerformContextualImplicitConversion()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDDeclCXX.cpp745 if (const RecordType *RecordTy = T->getAs<RecordType>()) { in addedMember() local
746 CXXRecordDecl* FieldRec = cast<CXXRecordDecl>(RecordTy->getDecl()); in addedMember()
/NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/
HDObjCMT.cpp1084 const RecordType *RecordTy = UPointeeT->getAs<RecordType>(); in TypeIsInnerPointer() local
1085 if (!RecordTy->getDecl()->isCompleteDefinition()) in TypeIsInnerPointer()