Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DRecordOps.cpp22 auto SrcDecl = SrcType->getAsCXXRecordDecl(); in copyRecord() local
27 (SrcDecl && DstDecl && SrcDecl->isDerivedFrom(DstDecl)); in copyRecord()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp1879 ImplicitParamDecl SrcDecl(C, C.VoidPtrTy, ImplicitParamKind::Other); in GenerateCopyHelperFunction() local
1880 args.push_back(&SrcDecl); in GenerateCopyHelperFunction()
1904 Address src = GetAddrOfLocalVar(&SrcDecl); in GenerateCopyHelperFunction()
2064 ImplicitParamDecl SrcDecl(C, C.VoidPtrTy, ImplicitParamKind::Other); in GenerateDestroyHelperFunction() local
2065 args.push_back(&SrcDecl); in GenerateDestroyHelperFunction()
2090 Address src = GetAddrOfLocalVar(&SrcDecl); in GenerateDestroyHelperFunction()
H A DMicrosoftCXXABI.cpp952 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in performBaseAdjustment() local
958 if (Context.getASTRecordLayout(SrcDecl).hasExtendableVFPtr()) in performBaseAdjustment()
960 SrcDecl); in performBaseAdjustment()
965 for (auto &Base : SrcDecl->vbases()) { in performBaseAdjustment()
975 GetVirtualBaseClassOffset(CGF, Value, SrcDecl, PolymorphicBase); in performBaseAdjustment()
979 CGF.CGM.getVBaseAlignment(Value.getAlignment(), SrcDecl, PolymorphicBase); in performBaseAdjustment()
986 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in shouldTypeidBeNullChecked() local
988 !getContext().getASTRecordLayout(SrcDecl).hasExtendableVFPtr(); in shouldTypeidBeNullChecked()
1020 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in shouldDynamicCastCallBeNullChecked() local
1022 !getContext().getASTRecordLayout(SrcDecl).hasExtendableVFPtr(); in shouldDynamicCastCallBeNullChecked()
H A DCGObjC.cpp3744 ParmVarDecl *SrcDecl = ParmVarDecl::Create( in GenerateObjCAtomicSetterCopyHelperFunction() local
3748 args.push_back(Params[1] = SrcDecl); in GenerateObjCAtomicSetterCopyHelperFunction()
3770 DeclRefExpr SrcExpr(C, SrcDecl, false, SrcTy, VK_PRValue, SourceLocation()); in GenerateObjCAtomicSetterCopyHelperFunction()
3842 ParmVarDecl *SrcDecl = ParmVarDecl::Create( in GenerateObjCAtomicGetterCopyHelperFunction() local
3846 args.push_back(Params[1] = SrcDecl); in GenerateObjCAtomicGetterCopyHelperFunction()
3862 DeclRefExpr SrcExpr(getContext(), SrcDecl, false, SrcTy, VK_PRValue, in GenerateObjCAtomicGetterCopyHelperFunction()
H A DItaniumCXXABI.cpp1477 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in emitDynamicCastCall() local
1481 computeOffsetHint(CGF.getContext(), SrcDecl, DestDecl).getQuantity()); in emitDynamicCastCall()
1511 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in emitExactDynamicCast() local
1515 (void)DestDecl->isDerivedFrom(SrcDecl, Paths); in emitExactDynamicCast()
1551 SrcDecl = DestDecl; in emitExactDynamicCast()
1572 VPtr, getVTableAddressPoint(BaseSubobject(SrcDecl, *Offset), DestDecl)); in emitExactDynamicCast()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp909 const RecordDecl *SrcDecl = SrcRecord->getDecl()->getDefinition(); in CheckDynamicCast() local
910 assert(SrcDecl && "Definition missing"); in CheckDynamicCast()
911 if (!cast<CXXRecordDecl>(SrcDecl)->isPolymorphic()) { in CheckDynamicCast()