Home
last modified time | relevance | path

Searched refs:PVD (Results 1 – 16 of 16) sorted by relevance

/external/clang/lib/Frontend/
DASTConsumers.cpp443 ParmVarDecl* PVD = cast<ParmVarDecl>(I); in PrintDeclContext() local
444 Out << "<parameter> " << *PVD << '\n'; in PrintDeclContext()
/external/clang/include/clang/CodeGen/
DCGFunctionInfo.h404 llvm::count_if(FD->parameters(), [](const ParmVarDecl *PVD) { in forPrototypePlus()
405 return PVD->hasAttr<PassObjectSizeAttr>(); in forPrototypePlus()
/external/clang/lib/CodeGen/
DCGCall.cpp2034 static const NonNullAttr *getNonNullAttr(const Decl *FD, const ParmVarDecl *PVD, in getNonNullAttr() argument
2046 if (PVD) { in getNonNullAttr()
2047 if (auto ParmNNAttr = PVD->getAttr<NonNullAttr>()) in getNonNullAttr()
2209 if (const ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(Arg)) { in EmitFunctionProlog() local
2210 if (getNonNullAttr(CurCodeDecl, PVD, PVD->getType(), in EmitFunctionProlog()
2211 PVD->getFunctionScopeIndex())) in EmitFunctionProlog()
2216 QualType OTy = PVD->getOriginalType(); in EmitFunctionProlog()
2251 const auto *AVAttr = PVD->getAttr<AlignValueAttr>(); in EmitFunctionProlog()
3154 auto PVD = ParmNum < FD->getNumParams() ? FD->getParamDecl(ParmNum) : nullptr; in EmitNonNullArgCheck() local
3155 unsigned ArgNo = PVD ? PVD->getFunctionScopeIndex() : ParmNum; in EmitNonNullArgCheck()
[all …]
DCGOpenMPRuntime.cpp6421 auto *PVD = cast<ParmVarDecl>(cast<DeclRefExpr>(E)->getDecl()) in emitDeclareSimdFunction() local
6423 Pos = ParamPositions[PVD]; in emitDeclareSimdFunction()
6437 auto *PVD = cast<ParmVarDecl>(cast<DeclRefExpr>(E)->getDecl()) in emitDeclareSimdFunction() local
6439 Pos = ParamPositions[PVD]; in emitDeclareSimdFunction()
6440 ParmTy = PVD->getType(); in emitDeclareSimdFunction()
6458 auto *PVD = cast<ParmVarDecl>(cast<DeclRefExpr>(E)->getDecl()) in emitDeclareSimdFunction() local
6460 Pos = ParamPositions[PVD]; in emitDeclareSimdFunction()
DCodeGenFunction.cpp893 if (const ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(VD)) in StartFunction() local
894 Ty = PVD->getOriginalType(); in StartFunction()
DCGStmtOpenMP.cpp3468 const ImplicitParamDecl *PVD, in mapParam() argument
3472 VDecl, [&CGF, PVD]() -> Address { return CGF.GetAddrOfLocalVar(PVD); }); in mapParam()
/external/clang/lib/Sema/
DSemaOpenMP.cpp3672 if (auto *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) in ActOnOpenMPDeclareSimdDirective() local
3673 if (FD->getNumParams() > PVD->getFunctionScopeIndex() && in ActOnOpenMPDeclareSimdDirective()
3674 FD->getParamDecl(PVD->getFunctionScopeIndex()) in ActOnOpenMPDeclareSimdDirective()
3675 ->getCanonicalDecl() == PVD->getCanonicalDecl()) { in ActOnOpenMPDeclareSimdDirective()
3676 UniformedArgs.insert(std::make_pair(PVD->getCanonicalDecl(), E)); in ActOnOpenMPDeclareSimdDirective()
3699 if (auto *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) { in ActOnOpenMPDeclareSimdDirective() local
3700 auto *CanonPVD = PVD->getCanonicalDecl(); in ActOnOpenMPDeclareSimdDirective()
3701 if (FD->getNumParams() > PVD->getFunctionScopeIndex() && in ActOnOpenMPDeclareSimdDirective()
3702 FD->getParamDecl(PVD->getFunctionScopeIndex()) in ActOnOpenMPDeclareSimdDirective()
3715 QualType QTy = PVD->getType() in ActOnOpenMPDeclareSimdDirective()
[all …]
DSemaStmt.cpp2293 if (ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) { in BuildCXXForRangeStmt() local
2294 QualType ArrayTy = PVD->getOriginalType(); in BuildCXXForRangeStmt()
2295 QualType PointerTy = PVD->getType(); in BuildCXXForRangeStmt()
2298 << RangeLoc << PVD << ArrayTy << PointerTy; in BuildCXXForRangeStmt()
2299 Diag(PVD->getLocation(), diag::note_declared_at); in BuildCXXForRangeStmt()
DSemaTemplateInstantiateDecl.cpp252 if (auto *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) { in instantiateOMPDeclareSimdDeclAttr() local
255 if (FD->getNumParams() > PVD->getFunctionScopeIndex()) in instantiateOMPDeclareSimdDeclAttr()
257 PVD, FD->getParamDecl(PVD->getFunctionScopeIndex())); in instantiateOMPDeclareSimdDeclAttr()
DSemaExpr.cpp3671 if (ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(DeclRef->getFoundDecl())) { in CheckUnaryExprOrTypeTraitOperand() local
3672 QualType OType = PVD->getOriginalType(); in CheckUnaryExprOrTypeTraitOperand()
3673 QualType Type = PVD->getType(); in CheckUnaryExprOrTypeTraitOperand()
3677 Diag(PVD->getLocation(), diag::note_declared_at); in CheckUnaryExprOrTypeTraitOperand()
4902 static void DiagnoseCalleeStaticArrayParam(Sema &S, ParmVarDecl *PVD) { in DiagnoseCalleeStaticArrayParam() argument
4903 TypeLoc TL = PVD->getTypeSourceInfo()->getTypeLoc(); in DiagnoseCalleeStaticArrayParam()
4907 S.Diag(PVD->getLocation(), diag::note_callee_static_array) in DiagnoseCalleeStaticArrayParam()
13653 if (ParmVarDecl *PVD = dyn_cast_or_null<ParmVarDecl>(Var)) in tryCaptureVariable() local
13654 QTy = PVD->getOriginalType(); in tryCaptureVariable()
DSemaChecking.cpp2031 const ParmVarDecl *PVD = *I; in CheckNonNullArguments() local
2032 if (PVD->hasAttr<NonNullAttr>() || in CheckNonNullArguments()
2033 isNonNullType(S.Context, PVD->getType())) { in CheckNonNullArguments()
DSemaDeclAttr.cpp5531 if (ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(D)) in ProcessDeclAttribute() local
5532 handleNonNullAttrParameter(S, PVD, Attr); in ProcessDeclAttribute()
DSemaDeclCXX.cpp422 const ParmVarDecl *PVD = FD->getParamDecl(NumParams-1); in functionDeclHasDefaultArgument() local
423 if (!PVD->hasDefaultArg()) in functionDeclHasDefaultArgument()
425 if (!PVD->hasInheritedDefaultArg()) in functionDeclHasDefaultArgument()
/external/syslinux/core/
Disolinux.asm1144 ; (which will be at 16 only for a single-session disk!); from the PVD
/external/clang/lib/AST/
DExpr.cpp3903 if (auto *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) in getBaseOriginalType() local
3904 OriginalTy = PVD->getOriginalType().getNonReferenceType(); in getBaseOriginalType()
DExprConstant.cpp2113 if (const ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(VD)) { in evaluateVarDeclInit() local
2122 Result = &Frame->Arguments[PVD->getFunctionScopeIndex()]; in evaluateVarDeclInit()