Home
last modified time | relevance | path

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

12

/freebsd-14.2/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-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h1041 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 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-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp1711 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 DCGBlocks.cpp994 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 DCGCXXABI.h54 ImplicitParamDecl *getThisDecl(CodeGenFunction &CGF) { in getThisDecl()
73 ImplicitParamDecl *&getStructorImplicitParamDecl(CodeGenFunction &CGF) { in getStructorImplicitParamDecl()
H A DCGException.cpp1925 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 DCGOpenMPRuntime.cpp1085 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 DCGCXXABI.cpp124 ImplicitParamDecl::Create(CGM.getContext(), nullptr, MD->getLocation(), in buildThisParam()
H A DCGDeclCXX.cpp294 ImplicitParamDecl IPD(CGM.getContext(), CGM.getContext().IntTy, in createTLSAtExitStub()
1145 ImplicitParamDecl Dst(getContext(), getContext().VoidPtrTy, in generateDestroyHelper()
H A DCGNonTrivialStruct.cpp310 llvm::SmallVector<ImplicitParamDecl *, N> Params; in getFunctionInfo()
314 Params.push_back(ImplicitParamDecl::Create( in getFunctionInfo()
H A DCodeGenFunction.h1425 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 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-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h48 class ImplicitParamDecl; variable
805 ImplicitParamDecl *ContextParam;
814 RecordDecl *RD, ImplicitParamDecl *Context, in CapturedRegionScopeInfo()
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp5307 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 DODRHash.cpp389 ImplicitParamDecl *Cmd = Method->getCmdDecl(); in VisitObjCMethodDecl()
394 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-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp391 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 DASTWriterDecl.cpp102 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 DMacOSKeychainAPIChecker.cpp160 if (isa<ImplicitParamDecl, ParmVarDecl>(VD)) in REGISTER_MAP_WITH_PROGRAMSTATE()
H A DCheckObjCDealloc.cpp973 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in isInInstanceDealloc()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp238 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in getSelfSVal()
H A DBugReporterVisitors.cpp634 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()

12