Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGDebugInfo.h159 llvm::DIType RecordTy);
169 llvm::DIType RecordTy);
190 llvm::DIType RecordTy);
192 llvm::DIType RecordTy);
196 llvm::DIType RecordTy);
199 llvm::DICompositeType RecordTy);
DCGExprAgg.cpp221 const RecordType *RecordTy = T->getAs<RecordType>(); in TypeRequiresGCollection() local
222 if (!RecordTy) return false; in TypeRequiresGCollection()
225 RecordDecl *Record = RecordTy->getDecl(); in TypeRequiresGCollection()
1460 } else if (const RecordType *RecordTy = Ty->getAs<RecordType>()) { in EmitAggregateCopy() local
1461 RecordDecl *Record = RecordTy->getDecl(); in EmitAggregateCopy()
1472 if (const RecordType *RecordTy = BaseType->getAs<RecordType>()) { in EmitAggregateCopy() local
1473 if (RecordTy->getDecl()->hasObjectMember()) { in EmitAggregateCopy()
DCGClass.cpp545 QualType RecordTy = CGF.getContext().getTypeDeclType(ClassDecl); in EmitMemberInitializer() local
546 LValue LHS = CGF.MakeNaturalAlignAddrLValue(ThisPtr, RecordTy); in EmitMemberInitializer()
577 LValue ThisRHSLV = CGF.MakeNaturalAlignAddrLValue(SrcPtr, RecordTy); in EmitMemberInitializer()
832 QualType RecordTy = CGF.getContext().getTypeDeclType(ClassDecl); in emitMemcpy() local
834 LValue DestLV = CGF.MakeNaturalAlignAddrLValue(ThisPtr, RecordTy); in emitMemcpy()
837 LValue SrcLV = CGF.MakeNaturalAlignAddrLValue(SrcPtr, RecordTy); in emitMemcpy()
988 QualType RecordTy = CGF.getContext().getTypeDeclType(ClassDecl); in pushEHDestructors() local
989 LValue LHS = CGF.MakeNaturalAlignAddrLValue(ThisPtr, RecordTy); in pushEHDestructors()
1412 QualType RecordTy = CGF.getContext().getTagDeclType(field->getParent()); in Emit() local
1413 LValue ThisLV = CGF.MakeAddrLValue(thisValue, RecordTy); in Emit()
DCGDebugInfo.cpp829 llvm::DIType RecordTy) { in CollectRecordLambdaFields() argument
851 layout.getFieldOffset(fieldno), VUnit, RecordTy); in CollectRecordLambdaFields()
864 layout.getFieldOffset(fieldno), VUnit, RecordTy); in CollectRecordLambdaFields()
874 llvm::DIType RecordTy) { in CreateRecordStaticField() argument
901 RecordTy, VName, VUnit, LineNumber, VTy, Flags, C); in CreateRecordStaticField()
911 llvm::DIType RecordTy) { in CollectRecordNormalField() argument
928 OffsetInBits, tunit, RecordTy); in CollectRecordNormalField()
938 llvm::DICompositeType RecordTy) { in CollectRecordFields() argument
942 CollectRecordLambdaFields(CXXDecl, elements, RecordTy); in CollectRecordFields()
962 elements.push_back(CreateRecordStaticField(V, RecordTy)); in CollectRecordFields()
[all …]
DItaniumCXXABI.cpp2224 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) { in ShouldUseExternalRTTIDescriptor() local
2225 const CXXRecordDecl *RD = cast<CXXRecordDecl>(RecordTy->getDecl()); in ShouldUseExternalRTTIDescriptor()
2241 static bool IsIncompleteClassType(const RecordType *RecordTy) { in IsIncompleteClassType() argument
2242 return !RecordTy->getDecl()->isCompleteDefinition(); in IsIncompleteClassType()
2257 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) { in ContainsIncompleteClassType() local
2258 if (IsIncompleteClassType(RecordTy)) in ContainsIncompleteClassType()
DCGStmt.cpp2049 QualType RecordTy = CGF.getContext().getRecordType(RD); in InitCapturedStruct() local
2053 CGF.CreateMemTemp(RecordTy, "agg.captured"), RecordTy); in InitCapturedStruct()
DCGException.cpp456 if (const RecordType *RecordTy = ThrowType->getAs<RecordType>()) { in EmitCXXThrowExpr() local
457 CXXRecordDecl *Record = cast<CXXRecordDecl>(RecordTy->getDecl()); in EmitCXXThrowExpr()
DCGDecl.cpp891 if (const RecordType *RecordTy = Ty->getAs<RecordType>()) { in EmitAutoVarAlloca() local
892 if (!cast<CXXRecordDecl>(RecordTy->getDecl())->hasTrivialDestructor()) { in EmitAutoVarAlloca()
/external/clang/lib/Sema/
DSemaPseudoObject.cpp1021 const RecordType *RecordTy = T->getAs<RecordType>(); in CheckSubscriptingKind() local
1022 if (!RecordTy && T->isObjCObjectPointerType()) in CheckSubscriptingKind()
1027 !RecordTy || RecordTy->isIncompleteType()) { in CheckSubscriptingKind()
1048 = cast<CXXRecordDecl>(RecordTy->getDecl())->getVisibleConversionFunctions(); in CheckSubscriptingKind()
DSemaExprMember.cpp698 QualType RecordTy = BaseType; in BuildMemberReferenceExpr() local
699 if (IsArrow) RecordTy = RecordTy->getAs<PointerType>()->getPointeeType(); in BuildMemberReferenceExpr()
701 RecordTy->getAs<RecordType>(), in BuildMemberReferenceExpr()
DSemaCXXScopeSpec.cpp35 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) { in getCurrentInstantiationOf() local
36 CXXRecordDecl *Record = cast<CXXRecordDecl>(RecordTy->getDecl()); in getCurrentInstantiationOf()
DSema.cpp341 if (const RecordType *RecordTy = T->getAs<RecordType>()) in ImpCastExprToType() local
343 cast<CXXRecordDecl>(RecordTy->getDecl())); in ImpCastExprToType()
DSemaTemplateInstantiateDecl.cpp380 if (const RecordType *RecordTy = D->getType()->getAs<RecordType>()) in VisitVarDecl() local
381 if (RecordTy->getDecl()->isAnonymousStructOrUnion()) in VisitVarDecl()
382 if (!VisitCXXRecordDecl(cast<CXXRecordDecl>(RecordTy->getDecl()))) in VisitVarDecl()
2523 if (const RecordType *RecordTy = D->getType()->getAs<RecordType>()) in VisitVarTemplateSpecializationDecl() local
2524 if (RecordTy->getDecl()->isAnonymousStructOrUnion()) in VisitVarTemplateSpecializationDecl()
2525 if (!VisitCXXRecordDecl(cast<CXXRecordDecl>(RecordTy->getDecl()))) in VisitVarTemplateSpecializationDecl()
DSemaDeclCXX.cpp4777 if (const RecordType *RecordTy = BaseType->getAs<RecordType>()) { in defaultedSpecialMemberIsConstexpr() local
4778 CXXRecordDecl *FieldRecDecl = cast<CXXRecordDecl>(RecordTy->getDecl()); in defaultedSpecialMemberIsConstexpr()
8301 } else if (const RecordType *RecordTy in ComputeDefaultedDefaultCtorExceptionSpec() local
8303 CXXRecordDecl *FieldRecDecl = cast<CXXRecordDecl>(RecordTy->getDecl()); in ComputeDefaultedDefaultCtorExceptionSpec()
8371 } else if (const RecordType *RecordTy in ComputeInheritingCtorExceptionSpec() local
8373 CXXRecordDecl *FieldRecDecl = cast<CXXRecordDecl>(RecordTy->getDecl()); in ComputeInheritingCtorExceptionSpec()
8867 if (const RecordType *RecordTy in ComputeDefaultedDtorExceptionSpec() local
8870 LookupDestructor(cast<CXXRecordDecl>(RecordTy->getDecl()))); in ComputeDefaultedDtorExceptionSpec()
9238 if (const RecordType *RecordTy = T->getAs<RecordType>()) { in buildSingleCopyAssignRecursively() local
9239 CXXRecordDecl *ClassDecl = cast<CXXRecordDecl>(RecordTy->getDecl()); in buildSingleCopyAssignRecursively()
[all …]
DSemaExprCXX.cpp703 const RecordType *RecordTy = Ty->getAs<RecordType>(); in CheckCXXThrowOperand() local
704 if (!RecordTy) in CheckCXXThrowOperand()
706 CXXRecordDecl *RD = cast<CXXRecordDecl>(RecordTy->getDecl()); in CheckCXXThrowOperand()
DSemaCodeComplete.cpp799 QualType RecordTy = Context.getTypeDeclType(Record); in MaybeAddConstructorResults() local
802 Context.getCanonicalType(RecordTy)); in MaybeAddConstructorResults()
2490 if (const RecordType *RecordTy = Ty->getAs<RecordType>()) in AddTypedNameChunk() local
2491 Record = cast<CXXRecordDecl>(RecordTy->getDecl()); in AddTypedNameChunk()
DSemaInit.cpp5831 if (const RecordType *RecordTy = T->getAs<RecordType>()) in Perform() local
5833 cast<CXXRecordDecl>(RecordTy->getDecl())); in Perform()
DSemaOverload.cpp5321 const RecordType *RecordTy = T->getAs<RecordType>(); in PerformContextualImplicitConversion() local
5322 if (!RecordTy || !getLangOpts().CPlusPlus) { in PerformContextualImplicitConversion()
5350 cast<CXXRecordDecl>(RecordTy->getDecl())->getVisibleConversionFunctions(); in PerformContextualImplicitConversion()
/external/clang/lib/AST/
DDeclCXX.cpp738 if (const RecordType *RecordTy = T->getAs<RecordType>()) { in addedMember() local
739 CXXRecordDecl* FieldRec = cast<CXXRecordDecl>(RecordTy->getDecl()); in addedMember()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp941 const RecordType *RecordTy = UPointeeT->getAs<RecordType>(); in TypeIsInnerPointer() local
942 if (!RecordTy->getDecl()->isCompleteDefinition()) in TypeIsInnerPointer()