Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp893 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in performBaseAdjustment() local
899 if (Context.getASTRecordLayout(SrcDecl).hasExtendableVFPtr()) in performBaseAdjustment()
901 SrcDecl); in performBaseAdjustment()
906 for (auto &Base : SrcDecl->vbases()) { in performBaseAdjustment()
916 GetVirtualBaseClassOffset(CGF, Value, SrcDecl, PolymorphicBase); in performBaseAdjustment()
919 CGF.CGM.getVBaseAlignment(Value.getAlignment(), SrcDecl, PolymorphicBase); in performBaseAdjustment()
925 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in shouldTypeidBeNullChecked() local
927 !getContext().getASTRecordLayout(SrcDecl).hasExtendableVFPtr(); in shouldTypeidBeNullChecked()
959 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in shouldDynamicCastCallBeNullChecked() local
961 !getContext().getASTRecordLayout(SrcDecl).hasExtendableVFPtr(); in shouldDynamicCastCallBeNullChecked()
H A DCGBlocks.cpp2019 ImplicitParamDecl SrcDecl(C, C.VoidPtrTy, ImplicitParamDecl::Other); in GenerateCopyHelperFunction() local
2020 args.push_back(&SrcDecl); in GenerateCopyHelperFunction()
2050 Address src = GetAddrOfLocalVar(&SrcDecl); in GenerateCopyHelperFunction()
2210 ImplicitParamDecl SrcDecl(C, C.VoidPtrTy, ImplicitParamDecl::Other); in GenerateDestroyHelperFunction() local
2211 args.push_back(&SrcDecl); in GenerateDestroyHelperFunction()
2243 Address src = GetAddrOfLocalVar(&SrcDecl); in GenerateDestroyHelperFunction()
H A DCGObjC.cpp3443 ImplicitParamDecl SrcDecl(C, FD, SourceLocation(), /*Id=*/nullptr, SrcTy, in GenerateObjCAtomicSetterCopyHelperFunction() local
3445 args.push_back(&SrcDecl); in GenerateObjCAtomicSetterCopyHelperFunction()
3466 DeclRefExpr SrcExpr(getContext(), &SrcDecl, false, SrcTy, VK_RValue, in GenerateObjCAtomicSetterCopyHelperFunction()
3527 ImplicitParamDecl SrcDecl(C, FD, SourceLocation(), /*Id=*/nullptr, SrcTy, in GenerateObjCAtomicGetterCopyHelperFunction() local
3529 args.push_back(&SrcDecl); in GenerateObjCAtomicGetterCopyHelperFunction()
3544 DeclRefExpr SrcExpr(getContext(), &SrcDecl, false, SrcTy, VK_RValue, in GenerateObjCAtomicGetterCopyHelperFunction()
H A DItaniumCXXABI.cpp1354 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in EmitDynamicCastCall() local
1358 computeOffsetHint(CGF.getContext(), SrcDecl, DestDecl).getQuantity()); in EmitDynamicCastCall()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaCast.cpp805 const RecordDecl *SrcDecl = SrcRecord->getDecl()->getDefinition(); in CheckDynamicCast() local
806 assert(SrcDecl && "Definition missing"); in CheckDynamicCast()
807 if (!cast<CXXRecordDecl>(SrcDecl)->isPolymorphic()) { in CheckDynamicCast()