Lines Matching refs:OASE

5000     } else if (auto *OASE = dyn_cast_or_null<OMPArraySectionExpr>(RefExpr)) {  in getPrivateItem()  local
5001 Expr *Base = OASE->getBase()->IgnoreParenImpCasts(); in getPrivateItem()
5602 const auto *OASE = cast<OMPArraySectionExpr>(E->IgnoreParenImpCasts()); in processImplicitMapsWithDefaultMappers() local
5604 OMPArraySectionExpr::getBaseOriginalType(OASE->getBase()); in processImplicitMapsWithDefaultMappers()
16253 ASTContext &Context, const OMPArraySectionExpr *OASE, bool &SingleElement, in checkOMPArraySectionConstantForReduction() argument
16255 const Expr *Length = OASE->getLength(); in checkOMPArraySectionConstantForReduction()
16259 if (OASE->getColonLocFirst().isValid()) in checkOMPArraySectionConstantForReduction()
16276 const Expr *Base = OASE->getBase()->IgnoreParenImpCasts(); in checkOMPArraySectionConstantForReduction()
16285 if (OASE->getColonLocFirst().isValid()) in checkOMPArraySectionConstantForReduction()
16471 auto *OASE = dyn_cast<OMPArraySectionExpr>(RefExpr->IgnoreParens()); in actOnOMPReductionKindClause() local
16474 } else if (OASE) { in actOnOMPReductionKindClause()
16476 OMPArraySectionExpr::getBaseOriginalType(OASE->getBase()); in actOnOMPReductionKindClause()
16497 /*AcceptIfMutable*/ false, ASE || OASE)) in actOnOMPReductionKindClause()
16504 if (!ASE && !OASE) { in actOnOMPReductionKindClause()
16610 if (!ASE && !OASE) { in actOnOMPReductionKindClause()
16623 if (!ASE && !OASE) { in actOnOMPReductionKindClause()
16644 if (OASE) { in actOnOMPReductionKindClause()
16648 Context, OASE, SingleElement, ArraySizes); in actOnOMPReductionKindClause()
16659 if ((OASE && !ConstantLengthOASE) || in actOnOMPReductionKindClause()
16660 (!OASE && !ASE && in actOnOMPReductionKindClause()
16664 S.Diag(ELoc, diag::err_omp_reduction_vla_unsupported) << !!OASE; in actOnOMPReductionKindClause()
16668 S.targetDiag(ELoc, diag::err_omp_reduction_vla_unsupported) << !!OASE; in actOnOMPReductionKindClause()
16681 } else if (!ASE && !OASE && in actOnOMPReductionKindClause()
16988 if (ASE || OASE) { in actOnOMPReductionKindClause()
17027 ASE || OASE); in actOnOMPReductionKindClause()
17929 const auto *OASE = dyn_cast<OMPArraySectionExpr>(SimpleExpr); in ActOnOpenMPDependClause() local
17930 if (OASE) { in ActOnOpenMPDependClause()
17932 OMPArraySectionExpr::getBaseOriginalType(OASE->getBase()); in ActOnOpenMPDependClause()
17938 const Expr *Length = OASE->getLength(); in ActOnOpenMPDependClause()
18080 const auto *OASE = dyn_cast<OMPArraySectionExpr>(E); in checkArrayExpressionDoesNotReferToWholeSize() local
18086 (OASE && OASE->getColonLocFirst().isInvalid())) { in checkArrayExpressionDoesNotReferToWholeSize()
18093 assert(OASE && "Expecting array section if not an array subscript."); in checkArrayExpressionDoesNotReferToWholeSize()
18094 const Expr *LowerBound = OASE->getLowerBound(); in checkArrayExpressionDoesNotReferToWholeSize()
18095 const Expr *Length = OASE->getLength(); in checkArrayExpressionDoesNotReferToWholeSize()
18138 const auto *OASE = dyn_cast<OMPArraySectionExpr>(E); in checkArrayExpressionDoesNotReferToUnitySize() local
18143 (OASE && OASE->getColonLocFirst().isInvalid())) in checkArrayExpressionDoesNotReferToUnitySize()
18146 assert(OASE && "Expecting array section if not an array subscript."); in checkArrayExpressionDoesNotReferToUnitySize()
18147 const Expr *Length = OASE->getLength(); in checkArrayExpressionDoesNotReferToUnitySize()
18354 bool VisitOMPArraySectionExpr(OMPArraySectionExpr *OASE) { in VisitOMPArraySectionExpr() argument
18356 Expr *E = OASE->getBase()->IgnoreParenImpCasts(); in VisitOMPArraySectionExpr()
18370 << 0 << OASE->getSourceRange(); in VisitOMPArraySectionExpr()
18375 checkArrayExpressionDoesNotReferToWholeSize(SemaRef, OASE, CurType); in VisitOMPArraySectionExpr()
18377 checkArrayExpressionDoesNotReferToUnitySize(SemaRef, OASE, CurType); in VisitOMPArraySectionExpr()
18400 << OASE->getSourceRange(); in VisitOMPArraySectionExpr()
18410 if (!OASE->getLength()->isValueDependent() && in VisitOMPArraySectionExpr()
18411 OASE->getLength()->EvaluateAsInt(ResultR, SemaRef.getASTContext()) && in VisitOMPArraySectionExpr()
18413 SemaRef.Diag(OASE->getLength()->getExprLoc(), in VisitOMPArraySectionExpr()
18415 SemaRef.Diag(OASE->getLength()->getExprLoc(), in VisitOMPArraySectionExpr()
18418 if (OASE->getLowerBound() && !OASE->getLowerBound()->isValueDependent() && in VisitOMPArraySectionExpr()
18419 OASE->getLowerBound()->EvaluateAsInt(ResultL, in VisitOMPArraySectionExpr()
18422 SemaRef.Diag(OASE->getLowerBound()->getExprLoc(), in VisitOMPArraySectionExpr()
18424 SemaRef.Diag(OASE->getLowerBound()->getExprLoc(), in VisitOMPArraySectionExpr()
18432 Components.emplace_back(OASE, nullptr, /*IsNonContiguous=*/false); in VisitOMPArraySectionExpr()
18530 const auto *OASE = in checkMapClauseExpressionBase() local
18532 if (!OASE) in checkMapClauseExpressionBase()
18534 if (OASE && OASE->getLength()) in checkMapClauseExpressionBase()
18632 } else if (const auto *OASE = dyn_cast<OMPArraySectionExpr>( in checkMapConflicts() local
18634 const Expr *E = OASE->getBase()->IgnoreParenImpCasts(); in checkMapConflicts()
18637 } else if (const auto *OASE = dyn_cast<OMPArrayShapingExpr>( in checkMapConflicts() local
18639 Type = OASE->getBase()->getType()->getPointeeType(); in checkMapConflicts()
19105 auto *OASE = dyn_cast<OMPArraySectionExpr>(VE->IgnoreParens()); in checkMappableExpressionList() local
19109 } else if (OASE) { in checkMappableExpressionList()
19111 OMPArraySectionExpr::getBaseOriginalType(OASE->getBase()); in checkMappableExpressionList()