Home
last modified time | relevance | path

Searched refs:SrcDecl (Results 1 – 5 of 5) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp921 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in performBaseAdjustment() local
927 if (Context.getASTRecordLayout(SrcDecl).hasExtendableVFPtr()) in performBaseAdjustment()
929 SrcDecl); in performBaseAdjustment()
934 for (auto &Base : SrcDecl->vbases()) { in performBaseAdjustment()
944 GetVirtualBaseClassOffset(CGF, Value, SrcDecl, PolymorphicBase); in performBaseAdjustment()
948 CGF.CGM.getVBaseAlignment(Value.getAlignment(), SrcDecl, PolymorphicBase); in performBaseAdjustment()
954 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in shouldTypeidBeNullChecked() local
956 !getContext().getASTRecordLayout(SrcDecl).hasExtendableVFPtr(); in shouldTypeidBeNullChecked()
988 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in shouldDynamicCastCallBeNullChecked() local
990 !getContext().getASTRecordLayout(SrcDecl).hasExtendableVFPtr(); in shouldDynamicCastCallBeNullChecked()
H A DCGBlocks.cpp1935 ImplicitParamDecl SrcDecl(C, C.VoidPtrTy, ImplicitParamDecl::Other); in GenerateCopyHelperFunction() local
1936 args.push_back(&SrcDecl); in GenerateCopyHelperFunction()
1962 Address src = GetAddrOfLocalVar(&SrcDecl); in GenerateCopyHelperFunction()
2122 ImplicitParamDecl SrcDecl(C, C.VoidPtrTy, ImplicitParamDecl::Other); in GenerateDestroyHelperFunction() local
2123 args.push_back(&SrcDecl); in GenerateDestroyHelperFunction()
2150 Address src = GetAddrOfLocalVar(&SrcDecl); in GenerateDestroyHelperFunction()
H A DCGObjC.cpp3709 ParmVarDecl *SrcDecl = ParmVarDecl::Create( in GenerateObjCAtomicSetterCopyHelperFunction() local
3713 args.push_back(Params[1] = SrcDecl); in GenerateObjCAtomicSetterCopyHelperFunction()
3735 DeclRefExpr SrcExpr(C, SrcDecl, false, SrcTy, VK_PRValue, SourceLocation()); in GenerateObjCAtomicSetterCopyHelperFunction()
3799 ParmVarDecl *SrcDecl = ParmVarDecl::Create( in GenerateObjCAtomicGetterCopyHelperFunction() local
3803 args.push_back(Params[1] = SrcDecl); in GenerateObjCAtomicGetterCopyHelperFunction()
3819 DeclRefExpr SrcExpr(getContext(), SrcDecl, false, SrcTy, VK_PRValue, in GenerateObjCAtomicGetterCopyHelperFunction()
H A DItaniumCXXABI.cpp1503 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in EmitDynamicCastCall() local
1507 computeOffsetHint(CGF.getContext(), SrcDecl, DestDecl).getQuantity()); in EmitDynamicCastCall()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp885 const RecordDecl *SrcDecl = SrcRecord->getDecl()->getDefinition(); in CheckDynamicCast() local
886 assert(SrcDecl && "Definition missing"); in CheckDynamicCast()
887 if (!cast<CXXRecordDecl>(SrcDecl)->isPolymorphic()) { in CheckDynamicCast()