/freebsd/contrib/llvm-project/clang/include/clang/Analysis/ |
H A D | AnalysisDeclContext.h | 41 class ImplicitParamDecl; variable 178 const ImplicitParamDecl *getSelfDecl() const; 260 const ImplicitParamDecl *getSelfDecl() const { return Ctx->getSelfDecl(); } in getSelfDecl()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Decl.h | 1002 friend class ImplicitParamDecl; variable 1681 class ImplicitParamDecl : public VarDecl { 1686 static ImplicitParamDecl *Create(ASTContext &C, DeclContext *DC, 1689 static ImplicitParamDecl *Create(ASTContext &C, QualType T, 1692 static ImplicitParamDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID); 1694 ImplicitParamDecl(ASTContext &C, DeclContext *DC, SourceLocation IdLoc, in ImplicitParamDecl() function 1703 ImplicitParamDecl(ASTContext &C, QualType Type, ImplicitParamKind ParamKind) in ImplicitParamDecl() function 4666 private llvm::TrailingObjects<CapturedDecl, ImplicitParamDecl *> { 4668 size_t numTrailingObjects(OverloadToken<ImplicitParamDecl>) { in numTrailingObjects() argument 4684 ImplicitParamDecl *const *getParams() const { in getParams() [all …]
|
H A D | DeclObjC.h | 163 ImplicitParamDecl *SelfDecl = nullptr; 167 ImplicitParamDecl *CmdDecl = nullptr; 418 ImplicitParamDecl * getSelfDecl() const { return SelfDecl; } in getSelfDecl() 419 void setSelfDecl(ImplicitParamDecl *SD) { SelfDecl = SD; } in setSelfDecl() 420 ImplicitParamDecl * getCmdDecl() const { return CmdDecl; } in getCmdDecl() 421 void setCmdDecl(ImplicitParamDecl *CD) { CmdDecl = CD; } in setCmdDecl()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | AnalysisDeclContext.cpp | 145 return isa_and_nonnull<ImplicitParamDecl>(VD) && VD->getName() == "self"; in isSelfDecl() 148 const ImplicitParamDecl *AnalysisDeclContext::getSelfDecl() const { in getSelfDecl() 156 return dyn_cast<ImplicitParamDecl>(VD); in getSelfDecl() 174 return dyn_cast<ImplicitParamDecl>(VD); in getSelfDecl()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | ScopeInfo.h | 48 class ImplicitParamDecl; variable 822 ImplicitParamDecl *ContextParam; 831 RecordDecl *RD, ImplicitParamDecl *Context, in CapturedRegionScopeInfo()
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransUnbridgedCasts.cpp | 453 if (ImplicitParamDecl *IPD = dyn_cast<ImplicitParamDecl>(DRE->getDecl())) in isSelf()
|
H A D | TransZeroOutPropsInDealloc.cpp | 32 ImplicitParamDecl *SelfD;
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGBlocks.cpp | 1004 ImplicitParamDecl BlockFieldPseudoVar(getContext(), type, in EmitBlockLiteral() 1385 void CodeGenFunction::setBlockContextParameter(const ImplicitParamDecl *D, in setBlockContextParameter() 1463 ImplicitParamDecl SelfDecl(getContext(), const_cast<BlockDecl *>(blockDecl), in GenerateBlockFunction() 1892 ImplicitParamDecl DstDecl(C, C.VoidPtrTy, ImplicitParamKind::Other); in GenerateCopyHelperFunction() 1894 ImplicitParamDecl SrcDecl(C, C.VoidPtrTy, ImplicitParamKind::Other); in GenerateCopyHelperFunction() 2081 ImplicitParamDecl SrcDecl(C, C.VoidPtrTy, ImplicitParamKind::Other); in GenerateDestroyHelperFunction() 2323 ImplicitParamDecl Dst(Context, Context.VoidPtrTy, ImplicitParamKind::Other); in generateByrefCopyHelper() 2326 ImplicitParamDecl Src(Context, Context.VoidPtrTy, ImplicitParamKind::Other); in generateByrefCopyHelper() 2390 ImplicitParamDecl Src(CGF.getContext(), Context.VoidPtrTy, in generateByrefDisposeHelper()
|
H A D | CGCXXABI.h | 54 ImplicitParamDecl *getThisDecl(CodeGenFunction &CGF) { in getThisDecl() 69 ImplicitParamDecl *&getStructorImplicitParamDecl(CodeGenFunction &CGF) { in getStructorImplicitParamDecl()
|
H A D | CGException.cpp | 1927 if (isa<ImplicitParamDecl>(D) && in EmitCapturedLocals() 1961 assert((isa<ImplicitParamDecl>(VD) || VD->isLocalVarDeclOrParm()) && in EmitCapturedLocals() 1981 if (isa<ImplicitParamDecl>(VD)) { in EmitCapturedLocals() 2038 Args.push_back(ImplicitParamDecl::Create( in startOutlinedSEHHelper() 2043 Args.push_back(ImplicitParamDecl::Create( in startOutlinedSEHHelper() 2048 Args.push_back(ImplicitParamDecl::Create( in startOutlinedSEHHelper()
|
H A D | CGOpenMPRuntime.cpp | 1085 ImplicitParamDecl OmpOutParm(C, /*DC=*/nullptr, Out->getLocation(), in emitCombinerOrInitializer() 1087 ImplicitParamDecl OmpInParm(C, /*DC=*/nullptr, In->getLocation(), in emitCombinerOrInitializer() 1659 ImplicitParamDecl Dst(CGM.getContext(), /*DC=*/nullptr, Loc, in emitThreadPrivateVarDefinition() 1691 ImplicitParamDecl Dst(CGM.getContext(), /*DC=*/nullptr, Loc, in emitThreadPrivateVarDefinition() 2153 ImplicitParamDecl LHSArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, C.VoidPtrTy, in emitCopyprivateCopyFunction() 2155 ImplicitParamDecl RHSArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, C.VoidPtrTy, in emitCopyprivateCopyFunction() 3002 ImplicitParamDecl GtidArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, KmpInt32Ty, in emitProxyTaskFunction() 3004 ImplicitParamDecl TaskTypeArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, in emitProxyTaskFunction() 3104 ImplicitParamDecl GtidArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, KmpInt32Ty, in emitDestructorsFunction() 3106 ImplicitParamDecl TaskTypeArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, in emitDestructorsFunction() [all …]
|
H A D | CGCXXABI.cpp | 134 ImplicitParamDecl::Create(CGM.getContext(), nullptr, MD->getLocation(), in buildThisParam()
|
H A D | CGCoroutine.cpp | 424 ImplicitParamDecl AwaiterDecl(C, C.VoidPtrTy, ImplicitParamKind::Other); in generateAwaitSuspendWrapper() 425 ImplicitParamDecl FrameDecl(C, C.VoidPtrTy, ImplicitParamKind::Other); in generateAwaitSuspendWrapper()
|
H A D | CGDeclCXX.cpp | 300 ImplicitParamDecl IPD(CGM.getContext(), CGM.getContext().IntTy, in createTLSAtExitStub() 1160 ImplicitParamDecl Dst(getContext(), getContext().VoidPtrTy, in generateDestroyHelper()
|
H A D | CGOpenMPRuntimeGPU.cpp | 1785 if (isa<ImplicitParamDecl>(NativeParam)) in translateParameter() 1786 return ImplicitParamDecl::Create( in translateParameter() 1862 ImplicitParamDecl ParallelLevelArg(Ctx, /*DC=*/nullptr, D.getBeginLoc(), in createParallelDataSharingWrapper() 1865 ImplicitParamDecl WrapperArg(Ctx, /*DC=*/nullptr, D.getBeginLoc(), in createParallelDataSharingWrapper()
|
H A D | CGNonTrivialStruct.cpp | 310 llvm::SmallVector<ImplicitParamDecl *, N> Params; in getFunctionInfo() 314 Params.push_back(ImplicitParamDecl::Create( in getFunctionInfo()
|
H A D | CodeGenFunction.h | 1513 llvm::SmallDenseMap<const ParmVarDecl *, const ImplicitParamDecl *, 2> 1856 ImplicitParamDecl *OldCXXABIThisDecl; 2052 ImplicitParamDecl *CXXABIThisDecl = nullptr; 2072 ImplicitParamDecl *CXXStructorImplicitParamDecl = nullptr; 2334 void setBlockContextParameter(const ImplicitParamDecl *D, unsigned argNum,
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Decl.cpp | 5369 void ImplicitParamDecl::anchor() {} in anchor() 5371 ImplicitParamDecl *ImplicitParamDecl::Create(ASTContext &C, DeclContext *DC, in Create() 5375 return new (C, DC) ImplicitParamDecl(C, DC, IdLoc, Id, Type, ParamKind); in Create() 5378 ImplicitParamDecl *ImplicitParamDecl::Create(ASTContext &C, QualType Type, in Create() 5380 return new (C, nullptr) ImplicitParamDecl(C, Type, ParamKind); in Create() 5383 ImplicitParamDecl *ImplicitParamDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() 5385 return new (C, ID) ImplicitParamDecl(C, QualType(), ImplicitParamKind::Other); in CreateDeserialized() 5422 return new (C, DC, additionalSizeToAlloc<ImplicitParamDecl *>(NumParams)) in Create() 5428 return new (C, ID, additionalSizeToAlloc<ImplicitParamDecl *>(NumParams)) in CreateDeserialized()
|
H A D | ODRHash.cpp | 396 ImplicitParamDecl *Cmd = Method->getCmdDecl(); in VisitObjCMethodDecl() 401 ImplicitParamDecl *Self = Method->getSelfDecl(); in VisitObjCMethodDecl()
|
H A D | DeclObjC.cpp | 1195 auto *Self = ImplicitParamDecl::Create(Context, this, SourceLocation(), in createImplicitParams() 1206 setCmdDecl(ImplicitParamDecl::Create( in createImplicitParams()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 386 void VisitImplicitParamDecl(ImplicitParamDecl *PD); 1161 MD->setSelfDecl(readDeclAs<ImplicitParamDecl>()); in VisitObjCMethodDecl() 1162 MD->setCmdDecl(readDeclAs<ImplicitParamDecl>()); in VisitObjCMethodDecl() 1666 if (!isa<ParmVarDecl>(VD) && !isa<ImplicitParamDecl>(VD) && in VisitVarDeclImpl() 1706 void ASTDeclReader::VisitImplicitParamDecl(ImplicitParamDecl *PD) { in VisitImplicitParamDecl() 1803 CD->setParam(I, readDeclAs<ImplicitParamDecl>()); in VisitCapturedDecl() 1805 CD->setContextParam(I, readDeclAs<ImplicitParamDecl>()); in VisitCapturedDecl() 4043 D = ImplicitParamDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
H A D | ASTWriterDecl.cpp | 105 void VisitImplicitParamDecl(ImplicitParamDecl *D); 1151 if (const auto *IPD = dyn_cast<ImplicitParamDecl>(D)) in VisitVarDecl() 1198 !isa<ImplicitParamDecl>(D) && !D->isEscapingByref()) in VisitVarDecl() 1204 void ASTDeclWriter::VisitImplicitParamDecl(ImplicitParamDecl *D) { in VisitImplicitParamDecl()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | ProgramState.cpp | 252 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in getSelfSVal()
|
H A D | BugReporterVisitors.cpp | 638 if (const auto *ID = dyn_cast<ImplicitParamDecl>(DRE->getDecl())) in potentiallyWritesIntoIvar() 1400 } else if (const auto *ImplParam = dyn_cast<ImplicitParamDecl>(D)) { in showBRParamDiagnostics() 1670 assert(isa<ImplicitParamDecl>(VR->getDecl())); in VisitNode()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CheckObjCDealloc.cpp | 973 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in isInInstanceDealloc()
|