Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp2064 ImplicitParamDecl::Other); in emitInterWarpCopyFunction()
2359 ImplicitParamDecl::Other); in emitShuffleAndReduceFunction()
2365 C.ShortTy, ImplicitParamDecl::Other); in emitShuffleAndReduceFunction()
2519 ImplicitParamDecl::Other); in emitListToGlobalCopyFunction()
2628 ImplicitParamDecl::Other); in emitListToGlobalReduceFunction()
2724 ImplicitParamDecl::Other); in emitGlobalToListCopyFunction()
2834 ImplicitParamDecl::Other); in emitGlobalToListReduceFunction()
3358 if (isa<ImplicitParamDecl>(NativeParam)) in translateParameter()
3359 return ImplicitParamDecl::Create( in translateParameter()
3444 ImplicitParamDecl::Other); in createParallelDataSharingWrapper()
[all …]
H A DCGBlocks.cpp1016 ImplicitParamDecl BlockFieldPseudoVar(getContext(), type, in EmitBlockLiteral()
1017 ImplicitParamDecl::Other); in EmitBlockLiteral()
1403 void CodeGenFunction::setBlockContextParameter(const ImplicitParamDecl *D, in setBlockContextParameter()
1485 ImplicitParamDecl::ObjCSelf); in GenerateBlockFunction()
1933 ImplicitParamDecl DstDecl(C, C.VoidPtrTy, ImplicitParamDecl::Other); in GenerateCopyHelperFunction()
1935 ImplicitParamDecl SrcDecl(C, C.VoidPtrTy, ImplicitParamDecl::Other); in GenerateCopyHelperFunction()
2122 ImplicitParamDecl SrcDecl(C, C.VoidPtrTy, ImplicitParamDecl::Other); in GenerateDestroyHelperFunction()
2364 ImplicitParamDecl Dst(Context, Context.VoidPtrTy, ImplicitParamDecl::Other); in generateByrefCopyHelper()
2367 ImplicitParamDecl Src(Context, Context.VoidPtrTy, ImplicitParamDecl::Other); in generateByrefCopyHelper()
2435 ImplicitParamDecl Src(CGF.getContext(), Context.VoidPtrTy, in generateByrefDisposeHelper()
[all …]
H A DCGOpenMPRuntime.cpp2379 ImplicitParamDecl::Other); in emitCopyprivateCopyFunction()
3733 ImplicitParamDecl TaskPrivatesArg( in emitTaskPrivateMappingFunction()
3736 ImplicitParamDecl::Other); in emitTaskPrivateMappingFunction()
3741 Args.push_back(ImplicitParamDecl::Create( in emitTaskPrivateMappingFunction()
3746 ImplicitParamDecl::Other)); in emitTaskPrivateMappingFunction()
3752 Args.push_back(ImplicitParamDecl::Create( in emitTaskPrivateMappingFunction()
3757 ImplicitParamDecl::Other)); in emitTaskPrivateMappingFunction()
3763 Args.push_back(ImplicitParamDecl::Create( in emitTaskPrivateMappingFunction()
3768 ImplicitParamDecl::Other)); in emitTaskPrivateMappingFunction()
3779 Args.push_back(ImplicitParamDecl::Create( in emitTaskPrivateMappingFunction()
[all …]
H A DCGCXXABI.cpp127 auto *ThisDecl = ImplicitParamDecl::Create( in buildThisParam()
130 ImplicitParamDecl::CXXThis); in buildThisParam()
H A DCGException.cpp1902 if (isa<ImplicitParamDecl>(D) && in EmitCapturedLocals()
1938 assert((isa<ImplicitParamDecl>(VD) || VD->isLocalVarDeclOrParm()) && in EmitCapturedLocals()
1958 if (isa<ImplicitParamDecl>(VD)) { in EmitCapturedLocals()
2015 Args.push_back(ImplicitParamDecl::Create( in startOutlinedSEHHelper()
2018 getContext().VoidPtrTy, ImplicitParamDecl::Other)); in startOutlinedSEHHelper()
2020 Args.push_back(ImplicitParamDecl::Create( in startOutlinedSEHHelper()
2023 getContext().UnsignedCharTy, ImplicitParamDecl::Other)); in startOutlinedSEHHelper()
2025 Args.push_back(ImplicitParamDecl::Create( in startOutlinedSEHHelper()
2028 ImplicitParamDecl::Other)); in startOutlinedSEHHelper()
H A DCGDeclCXX.cpp290 ImplicitParamDecl IPD(CGM.getContext(), CGM.getContext().IntTy, in createTLSAtExitStub()
291 ImplicitParamDecl::Other); in createTLSAtExitStub()
904 ImplicitParamDecl Dst(getContext(), getContext().VoidPtrTy, in generateDestroyHelper()
905 ImplicitParamDecl::Other); in generateDestroyHelper()
H A DCGCXXABI.h53 ImplicitParamDecl *getThisDecl(CodeGenFunction &CGF) { in getThisDecl()
69 ImplicitParamDecl *&getStructorImplicitParamDecl(CodeGenFunction &CGF) { in getStructorImplicitParamDecl()
H A DCGNonTrivialStruct.cpp310 llvm::SmallVector<ImplicitParamDecl *, N> Params; in getFunctionInfo()
314 Params.push_back(ImplicitParamDecl::Create( in getFunctionInfo()
316 ImplicitParamDecl::Other)); in getFunctionInfo()
H A DMicrosoftCXXABI.cpp1496 auto *IsMostDerived = ImplicitParamDecl::Create( in addImplicitStructorParams()
1499 ImplicitParamDecl::Other); in addImplicitStructorParams()
1509 auto *ShouldDelete = ImplicitParamDecl::Create( in addImplicitStructorParams()
1512 ImplicitParamDecl::Other); in addImplicitStructorParams()
3999 ImplicitParamDecl SrcParam( in getAddrOfCXXCtorClosure()
4004 ImplicitParamDecl::Other); in getAddrOfCXXCtorClosure()
4011 ImplicitParamDecl IsMostDerived(getContext(), /*DC=*/nullptr, in getAddrOfCXXCtorClosure()
4014 getContext().IntTy, ImplicitParamDecl::Other); in getAddrOfCXXCtorClosure()
H A DCGStmtOpenMP.cpp489 Arg = ImplicitParamDecl::Create(Ctx, /*DC=*/nullptr, FD->getLocation(), in emitOutlinedFunctionPrologue()
490 II, ArgType, ImplicitParamDecl::Other); in emitOutlinedFunctionPrologue()
4579 static ImplicitParamDecl *
4583 auto *OrigVD = ImplicitParamDecl::Create(C, CD, Loc, /*Id=*/nullptr, Ty, in createImplicitFirstprivateForType()
4584 ImplicitParamDecl::Other); in createImplicitFirstprivateForType()
4588 auto *PrivateVD = ImplicitParamDecl::Create(C, CD, Loc, /*Id=*/nullptr, Ty, in createImplicitFirstprivateForType()
4589 ImplicitParamDecl::Other); in createImplicitFirstprivateForType()
4594 auto *InitVD = ImplicitParamDecl::Create(C, CD, Loc, /*Id=*/nullptr, ElemType, in createImplicitFirstprivateForType()
4595 ImplicitParamDecl::Other); in createImplicitFirstprivateForType()
6850 const ImplicitParamDecl *PVD, in mapParam()
H A DCodeGenFunction.h1374 llvm::SmallDenseMap<const ParmVarDecl *, const ImplicitParamDecl *, 2>
1668 ImplicitParamDecl *OldCXXABIThisDecl;
1844 ImplicitParamDecl *CXXABIThisDecl = nullptr;
1864 ImplicitParamDecl *CXXStructorImplicitParamDecl = nullptr;
2117 void setBlockContextParameter(const ImplicitParamDecl *D, unsigned argNum,
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h985 friend class ImplicitParamDecl; variable
1596 class ImplicitParamDecl : public VarDecl {
4350 ImplicitParamDecl *const *getParams() const { in getParams()
4351 return getTrailingObjects<ImplicitParamDecl *>(); in getParams()
4354 ImplicitParamDecl **getParams() { in getParams()
4355 return getTrailingObjects<ImplicitParamDecl *>(); in getParams()
4376 ImplicitParamDecl *getParam(unsigned i) const { in getParam()
4380 void setParam(unsigned i, ImplicitParamDecl *P) { in setParam()
4386 ArrayRef<ImplicitParamDecl *> parameters() const { in parameters()
4394 ImplicitParamDecl *getContextParam() const { in getContextParam()
[all …]
H A DDeclObjC.h166 ImplicitParamDecl *SelfDecl = nullptr;
170 ImplicitParamDecl *CmdDecl = nullptr;
423 ImplicitParamDecl * getSelfDecl() const { return SelfDecl; } in getSelfDecl()
424 void setSelfDecl(ImplicitParamDecl *SD) { SelfDecl = SD; } in setSelfDecl()
425 ImplicitParamDecl * getCmdDecl() const { return CmdDecl; } in getCmdDecl()
426 void setCmdDecl(ImplicitParamDecl *CD) { CmdDecl = CD; } in setCmdDecl()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Analysis/
H A DAnalysisDeclContext.h41 class ImplicitParamDecl; variable
178 const ImplicitParamDecl *getSelfDecl() const;
256 const ImplicitParamDecl *getSelfDecl() const { return Ctx->getSelfDecl(); } in getSelfDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp145 return isa<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-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h48 class ImplicitParamDecl; variable
779 ImplicitParamDecl *ContextParam;
788 RecordDecl *RD, ImplicitParamDecl *Context, in CapturedRegionScopeInfo()
/freebsd-13.1/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-13.1/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp4826 void ImplicitParamDecl::anchor() {} in anchor()
4828 ImplicitParamDecl *ImplicitParamDecl::Create(ASTContext &C, DeclContext *DC, in Create()
4832 return new (C, DC) ImplicitParamDecl(C, DC, IdLoc, Id, Type, ParamKind); in Create()
4835 ImplicitParamDecl *ImplicitParamDecl::Create(ASTContext &C, QualType Type, in Create()
4837 return new (C, nullptr) ImplicitParamDecl(C, Type, ParamKind); in Create()
4840 ImplicitParamDecl *ImplicitParamDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
4842 return new (C, ID) ImplicitParamDecl(C, QualType(), ImplicitParamKind::Other); in CreateDeserialized()
4881 return new (C, DC, additionalSizeToAlloc<ImplicitParamDecl *>(NumParams)) in Create()
4887 return new (C, ID, additionalSizeToAlloc<ImplicitParamDecl *>(NumParams)) in CreateDeserialized()
H A DDeclObjC.cpp1144 auto *Self = ImplicitParamDecl::Create(Context, this, SourceLocation(), in createImplicitParams()
1146 ImplicitParamDecl::ObjCSelf); in createImplicitParams()
1155 setCmdDecl(ImplicitParamDecl::Create( in createImplicitParams()
1157 Context.getObjCSelType(), ImplicitParamDecl::ObjCCmd)); in createImplicitParams()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp4645 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType, in ActOnCapturedRegionStart()
4646 ImplicitParamDecl::CapturedContext); in ActOnCapturedRegionStart()
4685 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType, in ActOnCapturedRegionStart()
4686 ImplicitParamDecl::CapturedContext); in ActOnCapturedRegionStart()
4693 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, I->second, in ActOnCapturedRegionStart()
4694 ImplicitParamDecl::CapturedContext); in ActOnCapturedRegionStart()
4705 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType, in ActOnCapturedRegionStart()
4706 ImplicitParamDecl::CapturedContext); in ActOnCapturedRegionStart()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp377 void VisitImplicitParamDecl(ImplicitParamDecl *PD);
1044 MD->setSelfDecl(readDeclAs<ImplicitParamDecl>()); in VisitObjCMethodDecl()
1045 MD->setCmdDecl(readDeclAs<ImplicitParamDecl>()); in VisitObjCMethodDecl()
1472 if (!isa<ParmVarDecl>(VD) && !isa<ImplicitParamDecl>(VD) && in VisitVarDeclImpl()
1493 void ASTDeclReader::VisitImplicitParamDecl(ImplicitParamDecl *PD) { in VisitImplicitParamDecl()
1579 CD->setParam(I, readDeclAs<ImplicitParamDecl>()); in VisitCapturedDecl()
1581 CD->setContextParam(I, readDeclAs<ImplicitParamDecl>()); in VisitCapturedDecl()
4018 D = ImplicitParamDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp244 const ImplicitParamDecl *SelfDecl = LCtx->getSelfDecl(); in getSelfSVal()
H A DBugReporterVisitors.cpp480 if (const auto *ID = dyn_cast<ImplicitParamDecl>(DRE->getDecl())) in potentiallyWritesIntoIvar()
481 if (ID->getParameterKind() == ImplicitParamDecl::ObjCSelf) in potentiallyWritesIntoIvar()
1429 assert(isa<ImplicitParamDecl>(VR->getDecl())); in VisitNode()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMacOSKeychainAPIChecker.cpp163 if (isa<ImplicitParamDecl>(VD) || isa<ParmVarDecl>(VD)) in REGISTER_MAP_WITH_PROGRAMSTATE()

12