Home
last modified time | relevance | path

Searched refs:ImplicitParamDecl (Results 1 – 25 of 50) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DAnalysisDeclContext.h41 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 DDecl.h1002 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 DDeclObjC.h163 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 DAnalysisDeclContext.cpp145 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 DScopeInfo.h48 class ImplicitParamDecl; variable
822 ImplicitParamDecl *ContextParam;
831 RecordDecl *RD, ImplicitParamDecl *Context, in CapturedRegionScopeInfo()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp453 if (ImplicitParamDecl *IPD = dyn_cast<ImplicitParamDecl>(DRE->getDecl())) in isSelf()
H A DTransZeroOutPropsInDealloc.cpp32 ImplicitParamDecl *SelfD;
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp1004 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 DCGCXXABI.h54 ImplicitParamDecl *getThisDecl(CodeGenFunction &CGF) { in getThisDecl()
69 ImplicitParamDecl *&getStructorImplicitParamDecl(CodeGenFunction &CGF) { in getStructorImplicitParamDecl()
H A DCGException.cpp1927 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 DCGOpenMPRuntime.cpp1085 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 DCGCXXABI.cpp134 ImplicitParamDecl::Create(CGM.getContext(), nullptr, MD->getLocation(), in buildThisParam()
H A DCGCoroutine.cpp424 ImplicitParamDecl AwaiterDecl(C, C.VoidPtrTy, ImplicitParamKind::Other); in generateAwaitSuspendWrapper()
425 ImplicitParamDecl FrameDecl(C, C.VoidPtrTy, ImplicitParamKind::Other); in generateAwaitSuspendWrapper()
H A DCGDeclCXX.cpp300 ImplicitParamDecl IPD(CGM.getContext(), CGM.getContext().IntTy, in createTLSAtExitStub()
1160 ImplicitParamDecl Dst(getContext(), getContext().VoidPtrTy, in generateDestroyHelper()
H A DCGOpenMPRuntimeGPU.cpp1785 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 DCGNonTrivialStruct.cpp310 llvm::SmallVector<ImplicitParamDecl *, N> Params; in getFunctionInfo()
314 Params.push_back(ImplicitParamDecl::Create( in getFunctionInfo()
H A DCodeGenFunction.h1513 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 DDecl.cpp5369 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 DODRHash.cpp396 ImplicitParamDecl *Cmd = Method->getCmdDecl(); in VisitObjCMethodDecl()
401 ImplicitParamDecl *Self = Method->getSelfDecl(); in VisitObjCMethodDecl()
H A DDeclObjC.cpp1195 auto *Self = ImplicitParamDecl::Create(Context, this, SourceLocation(), in createImplicitParams()
1206 setCmdDecl(ImplicitParamDecl::Create( in createImplicitParams()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp386 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 DASTWriterDecl.cpp105 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 DProgramState.cpp252 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in getSelfSVal()
H A DBugReporterVisitors.cpp638 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 DCheckObjCDealloc.cpp973 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in isInInstanceDealloc()

12