Lines Matching refs:OASE
9776 } else if (auto *OASE = dyn_cast_or_null<OMPArraySectionExpr>(RefExpr)) { in getPrivateItem() local
9777 Expr *Base = OASE->getBase()->IgnoreParenImpCasts(); in getPrivateItem()
10766 ASTContext &Context, const OMPArraySectionExpr *OASE, bool &SingleElement, in checkOMPArraySectionConstantForReduction() argument
10768 const Expr *Length = OASE->getLength(); in checkOMPArraySectionConstantForReduction()
10772 if (OASE->getColonLoc().isValid()) in checkOMPArraySectionConstantForReduction()
10789 const Expr *Base = OASE->getBase()->IgnoreParenImpCasts(); in checkOMPArraySectionConstantForReduction()
10798 if (OASE->getColonLoc().isValid()) in checkOMPArraySectionConstantForReduction()
10969 auto *OASE = dyn_cast<OMPArraySectionExpr>(RefExpr->IgnoreParens()); in actOnOMPReductionKindClause() local
10972 } else if (OASE) { in actOnOMPReductionKindClause()
10974 OMPArraySectionExpr::getBaseOriginalType(OASE->getBase()); in actOnOMPReductionKindClause()
10995 /*AcceptIfMutable*/ false, ASE || OASE)) in actOnOMPReductionKindClause()
11002 if (!ASE && !OASE) { in actOnOMPReductionKindClause()
11097 if (!ASE && !OASE) { in actOnOMPReductionKindClause()
11110 if (!ASE && !OASE) { in actOnOMPReductionKindClause()
11131 if (OASE) { in actOnOMPReductionKindClause()
11135 Context, OASE, SingleElement, ArraySizes); in actOnOMPReductionKindClause()
11145 if ((OASE && !ConstantLengthOASE) || in actOnOMPReductionKindClause()
11146 (!OASE && !ASE && in actOnOMPReductionKindClause()
11150 S.Diag(ELoc, diag::err_omp_reduction_vla_unsupported) << !!OASE; in actOnOMPReductionKindClause()
11163 } else if (!ASE && !OASE && in actOnOMPReductionKindClause()
11410 if (ASE || OASE) { in actOnOMPReductionKindClause()
12297 const auto *OASE = dyn_cast<OMPArraySectionExpr>(E); in checkArrayExpressionDoesNotReferToWholeSize() local
12302 if (isa<ArraySubscriptExpr>(E) || (OASE && OASE->getColonLoc().isInvalid())) { in checkArrayExpressionDoesNotReferToWholeSize()
12309 assert(OASE && "Expecting array section if not an array subscript."); in checkArrayExpressionDoesNotReferToWholeSize()
12310 const Expr *LowerBound = OASE->getLowerBound(); in checkArrayExpressionDoesNotReferToWholeSize()
12311 const Expr *Length = OASE->getLength(); in checkArrayExpressionDoesNotReferToWholeSize()
12354 const auto *OASE = dyn_cast<OMPArraySectionExpr>(E); in checkArrayExpressionDoesNotReferToUnitySize() local
12358 if (isa<ArraySubscriptExpr>(E) || (OASE && OASE->getColonLoc().isInvalid())) in checkArrayExpressionDoesNotReferToUnitySize()
12361 assert(OASE && "Expecting array section if not an array subscript."); in checkArrayExpressionDoesNotReferToUnitySize()
12362 const Expr *Length = OASE->getLength(); in checkArrayExpressionDoesNotReferToUnitySize()
12718 } else if (const auto *OASE = dyn_cast<OMPArraySectionExpr>( in checkMapConflicts() local
12720 const Expr *E = OASE->getBase()->IgnoreParenImpCasts(); in checkMapConflicts()