Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/clang/test/AST/
H A Dpragma-attribute-objc-subject-match-rules.m62 // CHECK-OBJC_METHOD-NEXT: ImplicitParamDecl
63 // CHECK-OBJC_METHOD-NEXT: ImplicitParamDecl
67 // CHECK-OBJC_METHOD-NEXT: ImplicitParamDecl
68 // CHECK-OBJC_METHOD-NEXT: ImplicitParamDecl
72 // CHECK-OBJC_METHOD_IS_INSTANCE-NEXT: ImplicitParamDecl
73 // CHECK-OBJC_METHOD_IS_INSTANCE-NEXT: ImplicitParamDecl
H A Dfinally-msvc.m14 // CHECK-NEXT: ImplicitParamDecl
H A Dast-dump-decl.m49 // CHECK-NEXT: ImplicitParamDecl{{.*}} self
50 // CHECK-NEXT: ImplicitParamDecl{{.*}} _cmd
H A Dast-dump-decl-json.m387 // CHECK-NEXT: "kind": "ImplicitParamDecl",
401 // CHECK-NEXT: "kind": "ImplicitParamDecl",
726 // CHECK-NEXT: "kind": "ImplicitParamDecl",
740 // CHECK-NEXT: "kind": "ImplicitParamDecl",
988 // CHECK-NEXT: "kind": "ImplicitParamDecl",
1002 // CHECK-NEXT: "kind": "ImplicitParamDecl",
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp2107 ImplicitParamDecl::Other); in emitInterWarpCopyFunction()
2405 ImplicitParamDecl::Other); in emitShuffleAndReduceFunction()
2411 C.ShortTy, ImplicitParamDecl::Other); in emitShuffleAndReduceFunction()
2566 ImplicitParamDecl::Other); in emitListToGlobalCopyFunction()
2679 ImplicitParamDecl::Other); in emitListToGlobalReduceFunction()
2775 ImplicitParamDecl::Other); in emitGlobalToListCopyFunction()
2889 ImplicitParamDecl::Other); in emitGlobalToListReduceFunction()
3413 if (isa<ImplicitParamDecl>(NativeParam)) in translateParameter()
3414 return ImplicitParamDecl::Create( in translateParameter()
3500 ImplicitParamDecl::Other); in createParallelDataSharingWrapper()
[all …]
H A DCGBlocks.cpp1023 ImplicitParamDecl BlockFieldPseudoVar(getContext(), type, in EmitBlockLiteral()
1024 ImplicitParamDecl::Other); in EmitBlockLiteral()
1409 void CodeGenFunction::setBlockContextParameter(const ImplicitParamDecl *D, in setBlockContextParameter()
1488 ImplicitParamDecl::ObjCSelf); in GenerateBlockFunction()
1913 ImplicitParamDecl DstDecl(C, C.VoidPtrTy, ImplicitParamDecl::Other); in GenerateCopyHelperFunction()
1915 ImplicitParamDecl SrcDecl(C, C.VoidPtrTy, ImplicitParamDecl::Other); in GenerateCopyHelperFunction()
2104 ImplicitParamDecl SrcDecl(C, C.VoidPtrTy, ImplicitParamDecl::Other); in GenerateDestroyHelperFunction()
2346 ImplicitParamDecl Dst(Context, Context.VoidPtrTy, ImplicitParamDecl::Other); in generateByrefCopyHelper()
2349 ImplicitParamDecl Src(Context, Context.VoidPtrTy, ImplicitParamDecl::Other); in generateByrefCopyHelper()
2415 ImplicitParamDecl Src(CGF.getContext(), Context.VoidPtrTy, in generateByrefDisposeHelper()
[all …]
H A DCGOpenMPRuntime.cpp2345 ImplicitParamDecl::Other); in emitCopyprivateCopyFunction()
3664 ImplicitParamDecl TaskPrivatesArg( in emitTaskPrivateMappingFunction()
3667 ImplicitParamDecl::Other); in emitTaskPrivateMappingFunction()
3672 Args.push_back(ImplicitParamDecl::Create( in emitTaskPrivateMappingFunction()
3677 ImplicitParamDecl::Other)); in emitTaskPrivateMappingFunction()
3683 Args.push_back(ImplicitParamDecl::Create( in emitTaskPrivateMappingFunction()
3688 ImplicitParamDecl::Other)); in emitTaskPrivateMappingFunction()
3694 Args.push_back(ImplicitParamDecl::Create( in emitTaskPrivateMappingFunction()
3699 ImplicitParamDecl::Other)); in emitTaskPrivateMappingFunction()
3710 Args.push_back(ImplicitParamDecl::Create( in emitTaskPrivateMappingFunction()
[all …]
H A DCGCXXABI.cpp126 auto *ThisDecl = ImplicitParamDecl::Create( in buildThisParam()
129 ImplicitParamDecl::CXXThis); in buildThisParam()
H A DCGException.cpp1908 if (isa<ImplicitParamDecl>(D) && in EmitCapturedLocals()
1945 assert((isa<ImplicitParamDecl>(VD) || VD->isLocalVarDeclOrParm()) && in EmitCapturedLocals()
1965 if (isa<ImplicitParamDecl>(VD)) { in EmitCapturedLocals()
2022 Args.push_back(ImplicitParamDecl::Create( in startOutlinedSEHHelper()
2025 getContext().VoidPtrTy, ImplicitParamDecl::Other)); in startOutlinedSEHHelper()
2027 Args.push_back(ImplicitParamDecl::Create( in startOutlinedSEHHelper()
2030 getContext().UnsignedCharTy, ImplicitParamDecl::Other)); in startOutlinedSEHHelper()
2032 Args.push_back(ImplicitParamDecl::Create( in startOutlinedSEHHelper()
2035 ImplicitParamDecl::Other)); in startOutlinedSEHHelper()
H A DCGDeclCXX.cpp293 ImplicitParamDecl IPD(CGM.getContext(), CGM.getContext().IntTy, in createTLSAtExitStub()
294 ImplicitParamDecl::Other); in createTLSAtExitStub()
1086 ImplicitParamDecl Dst(getContext(), getContext().VoidPtrTy, in generateDestroyHelper()
1087 ImplicitParamDecl::Other); in generateDestroyHelper()
H A DCGCXXABI.h54 ImplicitParamDecl *getThisDecl(CodeGenFunction &CGF) { in getThisDecl()
73 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.cpp1503 auto *IsMostDerived = ImplicitParamDecl::Create( in addImplicitStructorParams()
1506 ImplicitParamDecl::Other); in addImplicitStructorParams()
1516 auto *ShouldDelete = ImplicitParamDecl::Create( in addImplicitStructorParams()
1519 ImplicitParamDecl::Other); in addImplicitStructorParams()
4092 ImplicitParamDecl SrcParam( in getAddrOfCXXCtorClosure()
4097 ImplicitParamDecl::Other); in getAddrOfCXXCtorClosure()
4104 ImplicitParamDecl IsMostDerived(getContext(), /*DC=*/nullptr, in getAddrOfCXXCtorClosure()
4107 getContext().IntTy, ImplicitParamDecl::Other); in getAddrOfCXXCtorClosure()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDecl.h985 friend class ImplicitParamDecl; variable
1613 class ImplicitParamDecl : public VarDecl {
4429 ImplicitParamDecl *const *getParams() const { in getParams()
4430 return getTrailingObjects<ImplicitParamDecl *>(); in getParams()
4433 ImplicitParamDecl **getParams() { in getParams()
4434 return getTrailingObjects<ImplicitParamDecl *>(); in getParams()
4455 ImplicitParamDecl *getParam(unsigned i) const { in getParam()
4459 void setParam(unsigned i, ImplicitParamDecl *P) { in setParam()
4465 ArrayRef<ImplicitParamDecl *> parameters() const { in parameters()
4473 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()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang/test/Misc/
H A Dpragma-attribute-objc.m65 // CHECK-NEXT: ImplicitParamDecl
66 // CHECK-NEXT: ImplicitParamDecl
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DScopeInfo.h48 class ImplicitParamDecl; variable
791 ImplicitParamDecl *ContextParam;
800 RecordDecl *RD, ImplicitParamDecl *Context, in CapturedRegionScopeInfo()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp453 if (ImplicitParamDecl *IPD = dyn_cast<ImplicitParamDecl>(DRE->getDecl())) in isSelf()
H A DTransZeroOutPropsInDealloc.cpp32 ImplicitParamDecl *SelfD;
/llvm-project-15.0.7/clang/lib/AST/
H A DDecl.cpp4971 void ImplicitParamDecl::anchor() {} in anchor()
4973 ImplicitParamDecl *ImplicitParamDecl::Create(ASTContext &C, DeclContext *DC, in Create()
4977 return new (C, DC) ImplicitParamDecl(C, DC, IdLoc, Id, Type, ParamKind); in Create()
4980 ImplicitParamDecl *ImplicitParamDecl::Create(ASTContext &C, QualType Type, in Create()
4982 return new (C, nullptr) ImplicitParamDecl(C, Type, ParamKind); in Create()
4985 ImplicitParamDecl *ImplicitParamDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
4987 return new (C, ID) ImplicitParamDecl(C, QualType(), ImplicitParamKind::Other); in CreateDeserialized()
5024 return new (C, DC, additionalSizeToAlloc<ImplicitParamDecl *>(NumParams)) in Create()
5030 return new (C, ID, additionalSizeToAlloc<ImplicitParamDecl *>(NumParams)) in CreateDeserialized()
H A DDeclObjC.cpp1160 auto *Self = ImplicitParamDecl::Create(Context, this, SourceLocation(), in createImplicitParams()
1162 ImplicitParamDecl::ObjCSelf); in createImplicitParams()
1171 setCmdDecl(ImplicitParamDecl::Create( in createImplicitParams()
1173 Context.getObjCSelType(), ImplicitParamDecl::ObjCCmd)); in createImplicitParams()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaStmt.cpp4720 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType, in ActOnCapturedRegionStart()
4721 ImplicitParamDecl::CapturedContext); in ActOnCapturedRegionStart()
4760 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType, in ActOnCapturedRegionStart()
4761 ImplicitParamDecl::CapturedContext); in ActOnCapturedRegionStart()
4768 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, I->second, in ActOnCapturedRegionStart()
4769 ImplicitParamDecl::CapturedContext); in ActOnCapturedRegionStart()
4780 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType, in ActOnCapturedRegionStart()
4781 ImplicitParamDecl::CapturedContext); in ActOnCapturedRegionStart()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderDecl.cpp379 void VisitImplicitParamDecl(ImplicitParamDecl *PD);
1090 MD->setSelfDecl(readDeclAs<ImplicitParamDecl>()); in VisitObjCMethodDecl()
1091 MD->setCmdDecl(readDeclAs<ImplicitParamDecl>()); in VisitObjCMethodDecl()
1576 if (!isa<ParmVarDecl>(VD) && !isa<ImplicitParamDecl>(VD) && in VisitVarDeclImpl()
1597 void ASTDeclReader::VisitImplicitParamDecl(ImplicitParamDecl *PD) { in VisitImplicitParamDecl()
1683 CD->setParam(I, readDeclAs<ImplicitParamDecl>()); in VisitCapturedDecl()
1685 CD->setContextParam(I, readDeclAs<ImplicitParamDecl>()); in VisitCapturedDecl()
3765 D = ImplicitParamDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()

123