Lines Matching refs:Simdlen
3631 DeclGroupPtrTy DG, OMPDeclareSimdDeclAttr::BranchStateTy BS, Expr *Simdlen, in ActOnOpenMPDeclareSimdDirective() argument
3659 if (Simdlen) in ActOnOpenMPDeclareSimdDirective()
3660 SL = VerifyPositiveIntegerConstantInClause(Simdlen, OMPC_simdlen); in ActOnOpenMPDeclareSimdDirective()
5429 static bool checkSimdlenSafelenValues(Sema &S, const Expr *Simdlen, in checkSimdlenSafelenValues() argument
5432 if (Simdlen->isValueDependent() || Simdlen->isTypeDependent() || in checkSimdlenSafelenValues()
5433 Simdlen->isInstantiationDependent() || in checkSimdlenSafelenValues()
5434 Simdlen->containsUnexpandedParameterPack()) in checkSimdlenSafelenValues()
5440 Simdlen->EvaluateAsInt(SimdlenRes, S.Context); in checkSimdlenSafelenValues()
5446 S.Diag(Simdlen->getExprLoc(), diag::err_omp_wrong_simdlen_safelen_values) in checkSimdlenSafelenValues()
5447 << Simdlen->getSourceRange() << Safelen->getSourceRange(); in checkSimdlenSafelenValues()
5488 OMPSimdlenClause *Simdlen = nullptr; in ActOnOpenMPSimdDirective() local
5493 Simdlen = cast<OMPSimdlenClause>(Clause); in ActOnOpenMPSimdDirective()
5494 if (Safelen && Simdlen) in ActOnOpenMPSimdDirective()
5497 if (Simdlen && Safelen && in ActOnOpenMPSimdDirective()
5498 checkSimdlenSafelenValues(*this, Simdlen->getSimdlen(), in ActOnOpenMPSimdDirective()
5579 OMPSimdlenClause *Simdlen = nullptr; in ActOnOpenMPForSimdDirective() local
5584 Simdlen = cast<OMPSimdlenClause>(Clause); in ActOnOpenMPForSimdDirective()
5585 if (Safelen && Simdlen) in ActOnOpenMPForSimdDirective()
5588 if (Simdlen && Safelen && in ActOnOpenMPForSimdDirective()
5589 checkSimdlenSafelenValues(*this, Simdlen->getSimdlen(), in ActOnOpenMPForSimdDirective()
5838 OMPSimdlenClause *Simdlen = nullptr; in ActOnOpenMPParallelForSimdDirective() local
5843 Simdlen = cast<OMPSimdlenClause>(Clause); in ActOnOpenMPParallelForSimdDirective()
5844 if (Safelen && Simdlen) in ActOnOpenMPParallelForSimdDirective()
5847 if (Simdlen && Safelen && in ActOnOpenMPParallelForSimdDirective()
5848 checkSimdlenSafelenValues(*this, Simdlen->getSimdlen(), in ActOnOpenMPParallelForSimdDirective()
7228 OMPSimdlenClause *Simdlen = nullptr; in ActOnOpenMPTargetParallelForSimdDirective() local
7233 Simdlen = cast<OMPSimdlenClause>(Clause); in ActOnOpenMPTargetParallelForSimdDirective()
7234 if (Safelen && Simdlen) in ActOnOpenMPTargetParallelForSimdDirective()
7237 if (Simdlen && Safelen && in ActOnOpenMPTargetParallelForSimdDirective()
7238 checkSimdlenSafelenValues(*this, Simdlen->getSimdlen(), in ActOnOpenMPTargetParallelForSimdDirective()
7508 ExprResult Simdlen = VerifyPositiveIntegerConstantInClause(Len, OMPC_simdlen); in ActOnOpenMPSimdlenClause() local
7509 if (Simdlen.isInvalid()) in ActOnOpenMPSimdlenClause()
7512 OMPSimdlenClause(Simdlen.get(), StartLoc, LParenLoc, EndLoc); in ActOnOpenMPSimdlenClause()