| /freebsd-14.2/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-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Decl.h | 1041 friend class ImplicitParamDecl; variable 1708 class ImplicitParamDecl : public VarDecl { 4657 ImplicitParamDecl *const *getParams() const { in getParams() 4658 return getTrailingObjects<ImplicitParamDecl *>(); in getParams() 4661 ImplicitParamDecl **getParams() { in getParams() 4662 return getTrailingObjects<ImplicitParamDecl *>(); in getParams() 4683 ImplicitParamDecl *getParam(unsigned i) const { in getParam() 4687 void setParam(unsigned i, ImplicitParamDecl *P) { in setParam() 4693 ArrayRef<ImplicitParamDecl *> parameters() const { in parameters() 4701 ImplicitParamDecl *getContextParam() const { in getContextParam() [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-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntimeGPU.cpp | 1711 ImplicitParamDecl ReduceListArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, in emitInterWarpCopyFunction() 1715 ImplicitParamDecl NumWarpsArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, in emitInterWarpCopyFunction() 1999 ImplicitParamDecl ReduceListArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, in emitShuffleAndReduceFunction() 2008 ImplicitParamDecl AlgoVerArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, in emitShuffleAndReduceFunction() 2160 ImplicitParamDecl BufferArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, in emitListToGlobalCopyFunction() 2272 ImplicitParamDecl BufferArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, in emitListToGlobalReduceFunction() 2366 ImplicitParamDecl BufferArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, in emitGlobalToListCopyFunction() 2479 ImplicitParamDecl BufferArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, in emitGlobalToListReduceFunction() 2991 if (isa<ImplicitParamDecl>(NativeParam)) in translateParameter() 2992 return ImplicitParamDecl::Create( in translateParameter() [all …]
|
| H A D | CGBlocks.cpp | 994 ImplicitParamDecl BlockFieldPseudoVar(getContext(), type, in EmitBlockLiteral() 1373 void CodeGenFunction::setBlockContextParameter(const ImplicitParamDecl *D, in setBlockContextParameter() 1451 ImplicitParamDecl SelfDecl(getContext(), const_cast<BlockDecl *>(blockDecl), in GenerateBlockFunction() 1877 ImplicitParamDecl DstDecl(C, C.VoidPtrTy, ImplicitParamKind::Other); in GenerateCopyHelperFunction() 1879 ImplicitParamDecl SrcDecl(C, C.VoidPtrTy, ImplicitParamKind::Other); in GenerateCopyHelperFunction() 2064 ImplicitParamDecl SrcDecl(C, C.VoidPtrTy, ImplicitParamKind::Other); in GenerateDestroyHelperFunction() 2306 ImplicitParamDecl Dst(Context, Context.VoidPtrTy, ImplicitParamKind::Other); in generateByrefCopyHelper() 2309 ImplicitParamDecl Src(Context, Context.VoidPtrTy, ImplicitParamKind::Other); in generateByrefCopyHelper() 2373 ImplicitParamDecl Src(CGF.getContext(), Context.VoidPtrTy, in generateByrefDisposeHelper()
|
| H A D | CGCXXABI.h | 54 ImplicitParamDecl *getThisDecl(CodeGenFunction &CGF) { in getThisDecl() 73 ImplicitParamDecl *&getStructorImplicitParamDecl(CodeGenFunction &CGF) { in getStructorImplicitParamDecl()
|
| H A D | CGException.cpp | 1925 if (isa<ImplicitParamDecl>(D) && in EmitCapturedLocals() 1958 assert((isa<ImplicitParamDecl>(VD) || VD->isLocalVarDeclOrParm()) && in EmitCapturedLocals() 1978 if (isa<ImplicitParamDecl>(VD)) { in EmitCapturedLocals() 2035 Args.push_back(ImplicitParamDecl::Create( in startOutlinedSEHHelper() 2040 Args.push_back(ImplicitParamDecl::Create( in startOutlinedSEHHelper() 2045 Args.push_back(ImplicitParamDecl::Create( in startOutlinedSEHHelper()
|
| H A D | CGOpenMPRuntime.cpp | 1085 ImplicitParamDecl OmpInParm(C, /*DC=*/nullptr, In->getLocation(), in emitCombinerOrInitializer() 1656 ImplicitParamDecl Dst(CGM.getContext(), /*DC=*/nullptr, Loc, in emitThreadPrivateVarDefinition() 1688 ImplicitParamDecl Dst(CGM.getContext(), /*DC=*/nullptr, Loc, in emitThreadPrivateVarDefinition() 3147 ImplicitParamDecl TaskPrivatesArg( in emitTaskPrivateMappingFunction() 3155 Args.push_back(ImplicitParamDecl::Create( in emitTaskPrivateMappingFunction() 3166 Args.push_back(ImplicitParamDecl::Create( in emitTaskPrivateMappingFunction() 3177 Args.push_back(ImplicitParamDecl::Create( in emitTaskPrivateMappingFunction() 3193 Args.push_back(ImplicitParamDecl::Create( in emitTaskPrivateMappingFunction() 3291 assert(isa<ImplicitParamDecl>(OriginalVD) && in emitPrivatesInit() 3398 ImplicitParamDecl DstArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, in emitTaskDupFunction() [all …]
|
| H A D | CGCXXABI.cpp | 124 ImplicitParamDecl::Create(CGM.getContext(), nullptr, MD->getLocation(), in buildThisParam()
|
| H A D | CGDeclCXX.cpp | 294 ImplicitParamDecl IPD(CGM.getContext(), CGM.getContext().IntTy, in createTLSAtExitStub() 1145 ImplicitParamDecl Dst(getContext(), getContext().VoidPtrTy, in generateDestroyHelper()
|
| 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 | 1425 llvm::SmallDenseMap<const ParmVarDecl *, const ImplicitParamDecl *, 2> 1766 ImplicitParamDecl *OldCXXABIThisDecl; 1962 ImplicitParamDecl *CXXABIThisDecl = nullptr; 1982 ImplicitParamDecl *CXXStructorImplicitParamDecl = nullptr; 2239 void setBlockContextParameter(const ImplicitParamDecl *D, unsigned argNum,
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | ScopeInfo.h | 48 class ImplicitParamDecl; variable 805 ImplicitParamDecl *ContextParam; 814 RecordDecl *RD, ImplicitParamDecl *Context, in CapturedRegionScopeInfo()
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | Decl.cpp | 5307 void ImplicitParamDecl::anchor() {} in anchor() 5309 ImplicitParamDecl *ImplicitParamDecl::Create(ASTContext &C, DeclContext *DC, in Create() 5313 return new (C, DC) ImplicitParamDecl(C, DC, IdLoc, Id, Type, ParamKind); in Create() 5316 ImplicitParamDecl *ImplicitParamDecl::Create(ASTContext &C, QualType Type, in Create() 5318 return new (C, nullptr) ImplicitParamDecl(C, Type, ParamKind); in Create() 5321 ImplicitParamDecl *ImplicitParamDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() 5323 return new (C, ID) ImplicitParamDecl(C, QualType(), ImplicitParamKind::Other); in CreateDeserialized() 5360 return new (C, DC, additionalSizeToAlloc<ImplicitParamDecl *>(NumParams)) in Create() 5366 return new (C, ID, additionalSizeToAlloc<ImplicitParamDecl *>(NumParams)) in CreateDeserialized()
|
| H A D | ODRHash.cpp | 389 ImplicitParamDecl *Cmd = Method->getCmdDecl(); in VisitObjCMethodDecl() 394 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-14.2/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 391 void VisitImplicitParamDecl(ImplicitParamDecl *PD); 1169 MD->setSelfDecl(readDeclAs<ImplicitParamDecl>()); in VisitObjCMethodDecl() 1170 MD->setCmdDecl(readDeclAs<ImplicitParamDecl>()); in VisitObjCMethodDecl() 1674 if (!isa<ParmVarDecl>(VD) && !isa<ImplicitParamDecl>(VD) && in VisitVarDeclImpl() 1714 void ASTDeclReader::VisitImplicitParamDecl(ImplicitParamDecl *PD) { in VisitImplicitParamDecl() 1811 CD->setParam(I, readDeclAs<ImplicitParamDecl>()); in VisitCapturedDecl() 1813 CD->setContextParam(I, readDeclAs<ImplicitParamDecl>()); in VisitCapturedDecl() 4019 D = ImplicitParamDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
| H A D | ASTWriterDecl.cpp | 102 void VisitImplicitParamDecl(ImplicitParamDecl *D); 1113 if (const auto *IPD = dyn_cast<ImplicitParamDecl>(D)) in VisitVarDecl() 1160 !isa<ImplicitParamDecl>(D) && !D->isEscapingByref()) in VisitVarDecl() 1166 void ASTDeclWriter::VisitImplicitParamDecl(ImplicitParamDecl *D) { in VisitImplicitParamDecl()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MacOSKeychainAPIChecker.cpp | 160 if (isa<ImplicitParamDecl, ParmVarDecl>(VD)) in REGISTER_MAP_WITH_PROGRAMSTATE()
|
| H A D | CheckObjCDealloc.cpp | 973 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in isInInstanceDealloc()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | ProgramState.cpp | 238 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in getSelfSVal()
|
| H A D | BugReporterVisitors.cpp | 634 if (const auto *ID = dyn_cast<ImplicitParamDecl>(DRE->getDecl())) in potentiallyWritesIntoIvar() 1396 } else if (const auto *ImplParam = dyn_cast<ImplicitParamDecl>(D)) { in showBRParamDiagnostics() 1666 assert(isa<ImplicitParamDecl>(VR->getDecl())); in VisitNode()
|