Searched refs:SrcDecl (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | RecordOps.cpp | 56 auto SrcDecl = SrcType->getAsCXXRecordDecl(); in copyRecord() local 61 (SrcDecl != nullptr && DstDecl != nullptr && in copyRecord() 62 (SrcDecl->isDerivedFrom(DstDecl) || DstDecl->isDerivedFrom(SrcDecl))); in copyRecord() 72 if (SrcType == DstType || (SrcDecl != nullptr && DstDecl != nullptr && in copyRecord() 73 SrcDecl->isDerivedFrom(DstDecl))) { in copyRecord()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGBlocks.cpp | 1894 ImplicitParamDecl SrcDecl(C, C.VoidPtrTy, ImplicitParamKind::Other); in GenerateCopyHelperFunction() local 1895 args.push_back(&SrcDecl); in GenerateCopyHelperFunction() 1919 Address src = GetAddrOfLocalVar(&SrcDecl); in GenerateCopyHelperFunction() 2081 ImplicitParamDecl SrcDecl(C, C.VoidPtrTy, ImplicitParamKind::Other); in GenerateDestroyHelperFunction() local 2082 args.push_back(&SrcDecl); in GenerateDestroyHelperFunction() 2107 Address src = GetAddrOfLocalVar(&SrcDecl); in GenerateDestroyHelperFunction()
|
H A D | MicrosoftCXXABI.cpp | 950 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in performBaseAdjustment() local 956 if (Context.getASTRecordLayout(SrcDecl).hasExtendableVFPtr()) in performBaseAdjustment() 958 SrcDecl); in performBaseAdjustment() 963 for (auto &Base : SrcDecl->vbases()) { in performBaseAdjustment() 973 GetVirtualBaseClassOffset(CGF, Value, SrcDecl, PolymorphicBase); in performBaseAdjustment() 977 CGF.CGM.getVBaseAlignment(Value.getAlignment(), SrcDecl, PolymorphicBase); in performBaseAdjustment() 983 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in shouldTypeidBeNullChecked() local 984 return !getContext().getASTRecordLayout(SrcDecl).hasExtendableVFPtr(); in shouldTypeidBeNullChecked() 1016 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in shouldDynamicCastCallBeNullChecked() local 1018 !getContext().getASTRecordLayout(SrcDecl).hasExtendableVFPtr(); in shouldDynamicCastCallBeNullChecked()
|
H A D | CGObjC.cpp | 3742 ParmVarDecl *SrcDecl = ParmVarDecl::Create( in GenerateObjCAtomicSetterCopyHelperFunction() local 3746 args.push_back(Params[1] = SrcDecl); in GenerateObjCAtomicSetterCopyHelperFunction() 3768 DeclRefExpr SrcExpr(C, SrcDecl, false, SrcTy, VK_PRValue, SourceLocation()); in GenerateObjCAtomicSetterCopyHelperFunction() 3840 ParmVarDecl *SrcDecl = ParmVarDecl::Create( in GenerateObjCAtomicGetterCopyHelperFunction() local 3844 args.push_back(Params[1] = SrcDecl); in GenerateObjCAtomicGetterCopyHelperFunction() 3860 DeclRefExpr SrcExpr(getContext(), SrcDecl, false, SrcTy, VK_PRValue, in GenerateObjCAtomicGetterCopyHelperFunction()
|
H A D | ItaniumCXXABI.cpp | 1630 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in emitDynamicCastCall() local 1634 computeOffsetHint(CGF.getContext(), SrcDecl, DestDecl).getQuantity()); in emitDynamicCastCall() 1645 CGF.GetVTablePtr(ThisAddr, CGM.Int8PtrTy, SrcDecl, in emitDynamicCastCall() 1677 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in emitExactDynamicCast() local 1681 (void)DestDecl->isDerivedFrom(SrcDecl, Paths); in emitExactDynamicCast() 1717 SrcDecl = DestDecl; in emitExactDynamicCast() 1738 VPtr, getVTableAddressPoint(BaseSubobject(SrcDecl, *Offset), DestDecl)); in emitExactDynamicCast()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaCast.cpp | 917 const RecordDecl *SrcDecl = SrcRecord->getDecl()->getDefinition(); in CheckDynamicCast() local 918 assert(SrcDecl && "Definition missing"); in CheckDynamicCast() 919 if (!cast<CXXRecordDecl>(SrcDecl)->isPolymorphic()) { in CheckDynamicCast()
|