| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | FuchsiaHandleChecker.cpp | 338 const ParmVarDecl *PVD = FuncDecl->getParamDecl(Arg); in checkPreCall() local 340 getFuchsiaHandleSymbols(PVD->getType(), Call.getArgSVal(Arg), State); in checkPreCall() 343 if (hasFuchsiaAttr<ReleaseHandleAttr>(PVD) || in checkPreCall() 344 hasFuchsiaAttr<AcquireHandleAttr>(PVD)) in checkPreCall() 352 if (hasFuchsiaAttr<UseHandleAttr>(PVD) || in checkPreCall() 353 PVD->getType()->isIntegerType()) { in checkPreCall() 418 const ParmVarDecl *PVD = FuncDecl->getParamDecl(Arg); in checkPostCall() local 419 unsigned ParamDiagIdx = PVD->getFunctionScopeIndex() + 1; in checkPostCall() 421 getFuchsiaHandleSymbols(PVD->getType(), Call.getArgSVal(Arg), State); in checkPostCall() 427 if (hasFuchsiaAttr<ReleaseHandleAttr>(PVD)) { in checkPostCall() [all …]
|
| H A D | MIGChecker.cpp | 187 if (const ParmVarDecl *PVD = in checkPostCall() local 191 C.addTransition(C.getState()->add<RefCountedParameters>(PVD)); in checkPostCall() 209 const ParmVarDecl *PVD = getOriginParam(Arg, C); in checkPostCall() local 210 if (!PVD || State->contains<RefCountedParameters>(PVD)) in checkPostCall() 214 C.getNoteTag([this, PVD](PathSensitiveBugReport &BR) -> std::string { in checkPostCall() 219 OS << "Value passed through parameter '" << PVD->getName() in checkPostCall()
|
| H A D | ObjCAutoreleaseWriteChecker.cpp | 114 const auto *PVD = Match.getNodeAs<ParmVarDecl>(ParamBind); in emitDiagnostics() local 115 QualType Ty = PVD->getType(); in emitDiagnostics() 147 BugMessage << "'" + PVD->getName() + "' "; in emitDiagnostics()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountDiagnostics.cpp | 296 const ParmVarDecl *PVD = (*CE)->parameters()[*Idx]; in generateDiagnosticsForCallLike() local 297 PVD->getNameForDiagnostic(os, PVD->getASTContext().getPrintingPolicy(), in generateDiagnosticsForCallLike() 394 const ParmVarDecl *PVD = Parameters[I]; in annotateConsumedSummaryMismatch() local 396 if (!PVD->hasAttr<OSConsumedAttr>()) in annotateConsumedSummaryMismatch() 412 PVD->getNameForDiagnostic(os, PVD->getASTContext().getPrintingPolicy(), in annotateConsumedSummaryMismatch() 443 const auto *PVD = cast<ParmVarDecl>(VR->getDecl()); in annotateStartParameter() local 444 PathDiagnosticLocation L = PathDiagnosticLocation(PVD, SM); in annotateStartParameter() 448 os << "Parameter '" << PVD->getDeclName() << "' starts at +"; in annotateStartParameter()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| H A D | MemRegion.cpp | 579 const ParmVarDecl *PVD = getDecl(); in dumpToStream() local 580 assert(PVD && in dumpToStream() 583 if (const IdentifierInfo *ID = PVD->getIdentifier()) { in dumpToStream() 586 os << "ParamVarRegion{P" << PVD->getID() << '}'; in dumpToStream() 922 const auto *PVD = dyn_cast<ParmVarDecl>(D); in getVarRegion() local 923 if (PVD) { in getVarRegion() 924 unsigned Index = PVD->getFunctionScopeIndex(); in getVarRegion() 930 if (Index < FD->param_size() && FD->parameters()[Index] == PVD) in getVarRegion() 934 if (Index < BD->param_size() && BD->parameters()[Index] == PVD) in getVarRegion()
|
| H A D | ExprEngineCallAndReturn.cpp | 613 for (const ParmVarDecl *PVD : Call.parameters()) { in evalCall() local 615 QualType ParamTy = PVD->getType(); in evalCall()
|
| H A D | BugReporterVisitors.cpp | 608 const ParmVarDecl *PVD = parameters[I]; in VisitNode() local 610 bool ParamIsReferenceType = PVD->getType()->isReferenceType(); in VisitNode() 611 std::string ParamName = PVD->getNameAsString(); in VisitNode() 614 QualType T = PVD->getType(); in VisitNode()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Checkers/ |
| H A D | SValExplainer.h | 224 const ParmVarDecl *PVD = R->getDecl(); in VisitParamVarRegion() local 225 std::string Name = PVD->getQualifiedNameAsString(); in VisitParamVarRegion()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | SIRegisterInfo.cpp | 1357 auto PVD = SB.getPerVGPRData(); in spillSGPR() local 1359 for (unsigned Offset = 0; Offset < PVD.NumVGPRs; ++Offset) { in spillSGPR() 1363 for (unsigned i = Offset * PVD.PerVGPR, in spillSGPR() 1364 e = std::min((Offset + 1) * PVD.PerVGPR, SB.NumSubRegs); in spillSGPR() 1375 .addImm(i % PVD.PerVGPR) in spillSGPR() 1433 auto PVD = SB.getPerVGPRData(); in restoreSGPR() local 1435 for (unsigned Offset = 0; Offset < PVD.NumVGPRs; ++Offset) { in restoreSGPR() 1440 for (unsigned i = Offset * PVD.PerVGPR, in restoreSGPR() 1441 e = std::min((Offset + 1) * PVD.PerVGPR, SB.NumSubRegs); in restoreSGPR()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGCall.cpp | 2550 static const NonNullAttr *getNonNullAttr(const Decl *FD, const ParmVarDecl *PVD, in getNonNullAttr() argument 2562 if (PVD) { in getNonNullAttr() 2563 if (auto ParmNNAttr = PVD->getAttr<NonNullAttr>()) in getNonNullAttr() 2727 if (const ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(Arg)) { in EmitFunctionProlog() local 2729 if (getNonNullAttr(CurCodeDecl, PVD, PVD->getType(), in EmitFunctionProlog() 2730 PVD->getFunctionScopeIndex()) && in EmitFunctionProlog() 2734 QualType OTy = PVD->getOriginalType(); in EmitFunctionProlog() 2777 const auto *AVAttr = PVD->getAttr<AlignValueAttr>(); in EmitFunctionProlog() 3980 auto PVD = ParmNum < AC.getNumParams() ? AC.getParamDecl(ParmNum) : nullptr; in EmitNonNullArgCheck() local 3981 unsigned ArgNo = PVD ? PVD->getFunctionScopeIndex() : ParmNum; in EmitNonNullArgCheck() [all …]
|
| H A D | CGStmtOpenMP.cpp | 4610 VarDecl *PVD = nullptr; in EmitOMPTargetTaskBasedDirective() local 4622 PVD = createImplicitFirstprivateForType( in EmitOMPTargetTaskBasedDirective() 4632 TargetScope.addPrivate(PVD, in EmitOMPTargetTaskBasedDirective() 4653 auto &&CodeGen = [&Data, &S, CS, &BodyGen, BPVD, PVD, SVD, MVD, in EmitOMPTargetTaskBasedDirective() 4696 CGF.GetAddrOfLocalVar(PVD), /*Index=*/0); in EmitOMPTargetTaskBasedDirective() 6817 const ImplicitParamDecl *PVD, in mapParam() argument 6821 [&CGF, PVD]() { return CGF.GetAddrOfLocalVar(PVD); }); in mapParam()
|
| H A D | CodeGenFunction.cpp | 1169 if (const ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(VD)) in StartFunction() local 1170 Ty = PVD->getOriginalType(); in StartFunction()
|
| H A D | CGOpenMPRuntime.cpp | 11700 const auto *PVD = cast<ParmVarDecl>(cast<DeclRefExpr>(E)->getDecl()) in emitDeclareSimdFunction() local 11702 Pos = ParamPositions[PVD]; in emitDeclareSimdFunction() 11716 const auto *PVD = cast<ParmVarDecl>(cast<DeclRefExpr>(E)->getDecl()) in emitDeclareSimdFunction() local 11718 Pos = ParamPositions[PVD]; in emitDeclareSimdFunction() 11719 ParmTy = PVD->getType(); in emitDeclareSimdFunction() 11741 const auto *PVD = cast<ParmVarDecl>(cast<DeclRefExpr>(E)->getDecl()) in emitDeclareSimdFunction() local 11743 Pos = ParamPositions[PVD]; in emitDeclareSimdFunction() 11744 if (auto *P = dyn_cast<PointerType>(PVD->getType())) in emitDeclareSimdFunction()
|
| /netbsd-src/external/gpl2/mkhybrid/dist/ |
| H A D | ChangeLog.mkhybrid | 277 PVD (or SVD) 319 version number by default and incorrect date in the PVD).
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaDeclAttr.cpp | 125 if (auto *PVD = getFunctionOrMethodParam(D, Idx)) in getFunctionOrMethodParamRange() local 126 return PVD->getSourceRange(); in getFunctionOrMethodParamRange() 985 if (const auto *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) in VisitDeclRefExpr() local 986 if (Parms.count(PVD)) { in VisitDeclRefExpr() 3538 for (const ParmVarDecl *PVD : FD->parameters()) in handleCallbackAttr() local 3539 NameIdxMapping[PVD->getName()] = Idx++; in handleCallbackAttr() 5303 const auto *PVD = dyn_cast<ParmVarDecl>(D); in isValidOSObjectOutParameter() local 5304 if (!PVD) in isValidOSObjectOutParameter() 5306 QualType QT = PVD->getType(); in isValidOSObjectOutParameter() 7507 auto *PVD = const_cast<ParmVarDecl *>(getFunctionOrMethodParam(D, I)); in handleObjCExternallyRetainedAttr() local [all …]
|
| H A D | SemaTemplateInstantiateDecl.cpp | 301 if (auto *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) { in instantiateOMPDeclareSimdDeclAttr() local 304 if (FD->getNumParams() > PVD->getFunctionScopeIndex()) in instantiateOMPDeclareSimdDeclAttr() 306 PVD, FD->getParamDecl(PVD->getFunctionScopeIndex())); in instantiateOMPDeclareSimdDeclAttr() 382 if (auto *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) { in instantiateOMPDeclareVariantAttr() local 385 if (FD->getNumParams() > PVD->getFunctionScopeIndex()) in instantiateOMPDeclareVariantAttr() 387 PVD, FD->getParamDecl(PVD->getFunctionScopeIndex())); in instantiateOMPDeclareVariantAttr()
|
| H A D | SemaStmt.cpp | 2873 if (ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) { in BuildCXXForRangeStmt() local 2874 QualType ArrayTy = PVD->getOriginalType(); in BuildCXXForRangeStmt() 2875 QualType PointerTy = PVD->getType(); in BuildCXXForRangeStmt() 2878 << RangeLoc << PVD << ArrayTy << PointerTy; in BuildCXXForRangeStmt() 2879 Diag(PVD->getLocation(), diag::note_declared_at); in BuildCXXForRangeStmt()
|
| H A D | SemaOpenMP.cpp | 6367 if (const auto *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) in ActOnOpenMPDeclareSimdDirective() local 6368 if (FD->getNumParams() > PVD->getFunctionScopeIndex() && in ActOnOpenMPDeclareSimdDirective() 6369 FD->getParamDecl(PVD->getFunctionScopeIndex()) in ActOnOpenMPDeclareSimdDirective() 6370 ->getCanonicalDecl() == PVD->getCanonicalDecl()) { in ActOnOpenMPDeclareSimdDirective() 6371 UniformedArgs.try_emplace(PVD->getCanonicalDecl(), E); in ActOnOpenMPDeclareSimdDirective() 6394 if (const auto *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) { in ActOnOpenMPDeclareSimdDirective() local 6395 const VarDecl *CanonPVD = PVD->getCanonicalDecl(); in ActOnOpenMPDeclareSimdDirective() 6396 if (FD->getNumParams() > PVD->getFunctionScopeIndex() && in ActOnOpenMPDeclareSimdDirective() 6397 FD->getParamDecl(PVD->getFunctionScopeIndex()) in ActOnOpenMPDeclareSimdDirective() 6411 QualType QTy = PVD->getType() in ActOnOpenMPDeclareSimdDirective() [all …]
|
| H A D | SemaExpr.cpp | 4182 if (ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(DeclRef->getFoundDecl())) { in CheckUnaryExprOrTypeTraitOperand() local 4183 QualType OType = PVD->getOriginalType(); in CheckUnaryExprOrTypeTraitOperand() 4184 QualType Type = PVD->getType(); in CheckUnaryExprOrTypeTraitOperand() 4188 Diag(PVD->getLocation(), diag::note_declared_at); in CheckUnaryExprOrTypeTraitOperand() 5999 static void DiagnoseCalleeStaticArrayParam(Sema &S, ParmVarDecl *PVD) { in DiagnoseCalleeStaticArrayParam() argument 6000 TypeLoc TL = PVD->getTypeSourceInfo()->getTypeLoc(); in DiagnoseCalleeStaticArrayParam() 6004 S.Diag(PVD->getLocation(), diag::note_callee_static_array) in DiagnoseCalleeStaticArrayParam() 17753 if (ParmVarDecl *PVD = dyn_cast_or_null<ParmVarDecl>(Var)) in tryCaptureVariable() local 17754 QTy = PVD->getOriginalType(); in tryCaptureVariable() 17773 if (ParmVarDecl *PVD = dyn_cast_or_null<ParmVarDecl>(Var)) in tryCaptureVariable() local [all …]
|
| H A D | SemaChecking.cpp | 4500 const ParmVarDecl *PVD = *I; in CheckNonNullArguments() local 4501 if (PVD->hasAttr<NonNullAttr>() || in CheckNonNullArguments() 4502 isNonNullType(S.Context, PVD->getType())) { in CheckNonNullArguments()
|
| H A D | SemaDecl.cpp | 7628 if (const auto PVD = dyn_cast<ParmVarDecl>(D)) { in CheckShadow() local 7631 ShadowingDecls.insert({PVD->getCanonicalDecl(), FD}); in CheckShadow()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 503 const ParmVarDecl *getOrigParam(const ParmVarDecl *PVD) const { in getOrigParam() 504 return OrigCallee ? OrigCallee->getParamDecl(PVD->getFunctionScopeIndex()) in getOrigParam() 505 : PVD; in getOrigParam() 628 APValue &createParam(CallRef Args, const ParmVarDecl *PVD, LValue &LV); 1046 APValue *getParamSlot(CallRef Call, const ParmVarDecl *PVD) { in getParamSlot() argument 1048 return Frame ? Frame->getTemporary(Call.getOrigParam(PVD), Call.Version) in getParamSlot() 1862 APValue &CallStackFrame::createParam(CallRef Args, const ParmVarDecl *PVD, in createParam() argument 1865 APValue::LValueBase Base(PVD, Index, Args.Version); in createParam() 1870 return createLocal(Base, PVD, PVD->getType(), ScopeKind::Call); in createParam() 2076 if (auto *PVD = dyn_cast_or_null<ParmVarDecl>(VD)) { in NoteLValueLocation() local [all …]
|
| H A D | Expr.cpp | 4705 if (auto *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) in getBaseOriginalType() local 4706 OriginalTy = PVD->getOriginalType().getNonReferenceType(); in getBaseOriginalType()
|
| /netbsd-src/share/misc/ |
| H A D | airport | 6234 PVD:Providence Theodore Francis Green State, Rhode Island, USA
|