Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenCXXABI.cpp32 ImplicitParamDecl::Create(cgm.getASTContext(), nullptr, md->getLocation(), in buildThisParam()
52 ImplicitParamDecl *vd = getThisDecl(cgf); in loadIncomingCXXThis()
H A DCIRGenCXXABI.h45 clang::ImplicitParamDecl *getThisDecl(CIRGenFunction &cgf) { in getThisDecl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h1028 friend class ImplicitParamDecl; variable
1728 class ImplicitParamDecl : public VarDecl {
1733 static ImplicitParamDecl *Create(ASTContext &C, DeclContext *DC,
1736 static ImplicitParamDecl *Create(ASTContext &C, QualType T,
1739 static ImplicitParamDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID);
1741 ImplicitParamDecl(ASTContext &C, DeclContext *DC, SourceLocation IdLoc, in ImplicitParamDecl() function
1750 ImplicitParamDecl(ASTContext &C, QualType Type, ImplicitParamKind ParamKind) in ImplicitParamDecl() function
4787 private llvm::TrailingObjects<OutlinedFunctionDecl, ImplicitParamDecl *> {
4797 ImplicitParamDecl *const *getParams() const { return getTrailingObjects(); } in getParams()
4799 ImplicitParamDecl **getParams() { return getTrailingObjects(); } 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/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/lib/Analysis/
H A DAnalysisDeclContext.cpp143 return isa_and_nonnull<ImplicitParamDecl>(VD) && VD->getName() == "self"; in isSelfDecl()
146 const ImplicitParamDecl *AnalysisDeclContext::getSelfDecl() const { in getSelfDecl()
154 return dyn_cast<ImplicitParamDecl>(VD); in getSelfDecl()
172 return dyn_cast<ImplicitParamDecl>(VD); in getSelfDecl()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRawPtrRefLambdaCapturesChecker.cpp357 if (auto *ImplicitParam = dyn_cast<ImplicitParamDecl>(Decl)) { in checkASTDecl()
383 if (auto *ImplicitParam = dyn_cast<ImplicitParamDecl>(CapturedVar)) { in visitLambdaExpr()
410 if (isa<ImplicitParamDecl>(CapturedVar) && !Location.isValid()) in reportBug()
H A DASTUtils.cpp194 if (auto *ImplicitP = dyn_cast<ImplicitParamDecl>(D)) { in isASafeCallArg()
H A DRawPtrRefLocalVarsChecker.cpp348 if (isa<ImplicitParamDecl>(V)) in shouldSkipVarDecl()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h48 class ImplicitParamDecl; variable
828 ImplicitParamDecl *ContextParam;
837 RecordDecl *RD, ImplicitParamDecl *Context, in CapturedRegionScopeInfo()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaSYCL.cpp442 ImplicitParamDecl *IPD = ImplicitParamDecl::Create( in BuildSYCLKernelCallStmt()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp5483 void ImplicitParamDecl::anchor() {} in anchor()
5485 ImplicitParamDecl *ImplicitParamDecl::Create(ASTContext &C, DeclContext *DC, in Create()
5489 return new (C, DC) ImplicitParamDecl(C, DC, IdLoc, Id, Type, ParamKind); in Create()
5492 ImplicitParamDecl *ImplicitParamDecl::Create(ASTContext &C, QualType Type, in Create()
5494 return new (C, nullptr) ImplicitParamDecl(C, Type, ParamKind); in Create()
5497 ImplicitParamDecl *ImplicitParamDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
5499 return new (C, ID) ImplicitParamDecl(C, QualType(), ImplicitParamKind::Other); in CreateDeserialized()
5544 return new (C, DC, additionalSizeToAlloc<ImplicitParamDecl *>(NumParams)) in Create()
5551 return new (C, ID, additionalSizeToAlloc<ImplicitParamDecl *>(NumParams)) in CreateDeserialized()
5571 return new (C, DC, additionalSizeToAlloc<ImplicitParamDecl *>(NumParams)) in Create()
[all …]
H A DODRHash.cpp415 ImplicitParamDecl *Cmd = Method->getCmdDecl(); in VisitObjCMethodDecl()
420 ImplicitParamDecl *Self = Method->getSelfDecl(); in VisitObjCMethodDecl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCXXABI.h54 ImplicitParamDecl *getThisDecl(CodeGenFunction &CGF) { in getThisDecl()
69 ImplicitParamDecl *&getStructorImplicitParamDecl(CodeGenFunction &CGF) { in getStructorImplicitParamDecl()
H A DCGBlocks.cpp1033 ImplicitParamDecl BlockFieldPseudoVar(getContext(), type, in EmitBlockLiteral()
1416 void CodeGenFunction::setBlockContextParameter(const ImplicitParamDecl *D, in setBlockContextParameter()
1495 ImplicitParamDecl SelfDecl(getContext(), const_cast<BlockDecl *>(blockDecl), in GenerateBlockFunction()
1940 ImplicitParamDecl DstDecl(C, C.VoidPtrTy, ImplicitParamKind::Other); in GenerateCopyHelperFunction()
1942 ImplicitParamDecl SrcDecl(C, C.VoidPtrTy, ImplicitParamKind::Other); in GenerateCopyHelperFunction()
2137 ImplicitParamDecl SrcDecl(C, C.VoidPtrTy, ImplicitParamKind::Other); in GenerateDestroyHelperFunction()
2406 ImplicitParamDecl Dst(Context, Context.VoidPtrTy, ImplicitParamKind::Other); in generateByrefCopyHelper()
2409 ImplicitParamDecl Src(Context, Context.VoidPtrTy, ImplicitParamKind::Other); in generateByrefCopyHelper()
2473 ImplicitParamDecl Src(CGF.getContext(), Context.VoidPtrTy, in generateByrefDisposeHelper()
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 DCGCXXABI.cpp132 ImplicitParamDecl::Create(CGM.getContext(), nullptr, MD->getLocation(), in buildThisParam()
H A DCGOpenMPRuntime.cpp1081 ImplicitParamDecl OmpOutParm(C, /*DC=*/nullptr, Out->getLocation(), in emitCombinerOrInitializer()
1083 ImplicitParamDecl OmpInParm(C, /*DC=*/nullptr, In->getLocation(), in emitCombinerOrInitializer()
1649 ImplicitParamDecl Dst(CGM.getContext(), /*DC=*/nullptr, Loc, in emitThreadPrivateVarDefinition()
1681 ImplicitParamDecl Dst(CGM.getContext(), /*DC=*/nullptr, Loc, in emitThreadPrivateVarDefinition()
2129 ImplicitParamDecl LHSArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, C.VoidPtrTy, in emitCopyprivateCopyFunction()
2131 ImplicitParamDecl RHSArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, C.VoidPtrTy, in emitCopyprivateCopyFunction()
2978 ImplicitParamDecl GtidArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, KmpInt32Ty, in emitProxyTaskFunction()
2980 ImplicitParamDecl TaskTypeArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, in emitProxyTaskFunction()
3080 ImplicitParamDecl GtidArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, KmpInt32Ty, in emitDestructorsFunction()
3082 ImplicitParamDecl TaskTypeArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, in emitDestructorsFunction()
[all …]
H A DCGCoroutine.cpp425 ImplicitParamDecl AwaiterDecl(C, C.VoidPtrTy, ImplicitParamKind::Other); in generateAwaitSuspendWrapper()
426 ImplicitParamDecl FrameDecl(C, C.VoidPtrTy, ImplicitParamKind::Other); in generateAwaitSuspendWrapper()
H A DCGOpenMPRuntimeGPU.cpp1784 if (isa<ImplicitParamDecl>(NativeParam)) in translateParameter()
1785 return ImplicitParamDecl::Create( in translateParameter()
1861 ImplicitParamDecl ParallelLevelArg(Ctx, /*DC=*/nullptr, D.getBeginLoc(), in createParallelDataSharingWrapper()
1864 ImplicitParamDecl WrapperArg(Ctx, /*DC=*/nullptr, D.getBeginLoc(), in createParallelDataSharingWrapper()
H A DCGDeclCXX.cpp301 ImplicitParamDecl IPD(CGM.getContext(), CGM.getContext().IntTy, in createTLSAtExitStub()
1200 ImplicitParamDecl Dst(getContext(), getContext().VoidPtrTy, in generateDestroyHelper()
H A DCGNonTrivialStruct.cpp323 llvm::SmallVector<ImplicitParamDecl *, N> Params; in getFunctionInfo()
327 Params.push_back(ImplicitParamDecl::Create( in getFunctionInfo()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp377 void VisitImplicitParamDecl(ImplicitParamDecl *PD);
1168 MD->setSelfDecl(readDeclAs<ImplicitParamDecl>()); in VisitObjCMethodDecl()
1169 MD->setCmdDecl(readDeclAs<ImplicitParamDecl>()); in VisitObjCMethodDecl()
1675 if (!isa<ParmVarDecl>(VD) && !isa<ImplicitParamDecl>(VD) && in VisitVarDeclImpl()
1717 void ASTDeclReader::VisitImplicitParamDecl(ImplicitParamDecl *PD) { in VisitImplicitParamDecl()
1811 D->setParam(I, readDeclAs<ImplicitParamDecl>()); in VisitOutlinedFunctionDecl()
1823 CD->setParam(I, readDeclAs<ImplicitParamDecl>()); in VisitCapturedDecl()
1825 CD->setContextParam(I, readDeclAs<ImplicitParamDecl>()); in VisitCapturedDecl()
4120 D = ImplicitParamDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMacOSKeychainAPIChecker.cpp159 if (isa<ImplicitParamDecl, ParmVarDecl>(VD)) in REGISTER_MAP_WITH_PROGRAMSTATE()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp240 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in getSelfSVal()

123