| /llvm-project-15.0.7/clang/test/AST/ |
| H A D | pragma-attribute-objc-subject-match-rules.m | 62 // 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 D | finally-msvc.m | 14 // CHECK-NEXT: ImplicitParamDecl
|
| H A D | ast-dump-decl.m | 49 // CHECK-NEXT: ImplicitParamDecl{{.*}} self 50 // CHECK-NEXT: ImplicitParamDecl{{.*}} _cmd
|
| H A D | ast-dump-decl-json.m | 387 // 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 D | CGOpenMPRuntimeGPU.cpp | 2107 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 D | CGBlocks.cpp | 1023 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 D | CGOpenMPRuntime.cpp | 2345 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 D | CGCXXABI.cpp | 126 auto *ThisDecl = ImplicitParamDecl::Create( in buildThisParam() 129 ImplicitParamDecl::CXXThis); in buildThisParam()
|
| H A D | CGException.cpp | 1908 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 D | CGDeclCXX.cpp | 293 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 D | CGCXXABI.h | 54 ImplicitParamDecl *getThisDecl(CodeGenFunction &CGF) { in getThisDecl() 73 ImplicitParamDecl *&getStructorImplicitParamDecl(CodeGenFunction &CGF) { in getStructorImplicitParamDecl()
|
| H A D | CGNonTrivialStruct.cpp | 310 llvm::SmallVector<ImplicitParamDecl *, N> Params; in getFunctionInfo() 314 Params.push_back(ImplicitParamDecl::Create( in getFunctionInfo() 316 ImplicitParamDecl::Other)); in getFunctionInfo()
|
| H A D | MicrosoftCXXABI.cpp | 1503 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 D | AnalysisDeclContext.h | 41 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 D | Decl.h | 985 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 D | DeclObjC.h | 166 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 D | AnalysisDeclContext.cpp | 145 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 D | pragma-attribute-objc.m | 65 // CHECK-NEXT: ImplicitParamDecl 66 // CHECK-NEXT: ImplicitParamDecl
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | ScopeInfo.h | 48 class ImplicitParamDecl; variable 791 ImplicitParamDecl *ContextParam; 800 RecordDecl *RD, ImplicitParamDecl *Context, in CapturedRegionScopeInfo()
|
| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | TransUnbridgedCasts.cpp | 453 if (ImplicitParamDecl *IPD = dyn_cast<ImplicitParamDecl>(DRE->getDecl())) in isSelf()
|
| H A D | TransZeroOutPropsInDealloc.cpp | 32 ImplicitParamDecl *SelfD;
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Decl.cpp | 4971 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 D | DeclObjC.cpp | 1160 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 D | SemaStmt.cpp | 4720 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 D | ASTReaderDecl.cpp | 379 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()
|