Lines Matching refs:OpenACCClauseKind
45 OpenACCClauseKind ClauseKind) { in doesClauseApplyToDirective()
49 case OpenACCClauseKind::Default: in doesClauseApplyToDirective()
62 case OpenACCClauseKind::If: in doesClauseApplyToDirective()
83 case OpenACCClauseKind::Self: in doesClauseApplyToDirective()
96 case OpenACCClauseKind::NumGangs: in doesClauseApplyToDirective()
97 case OpenACCClauseKind::NumWorkers: in doesClauseApplyToDirective()
98 case OpenACCClauseKind::VectorLength: in doesClauseApplyToDirective()
108 case OpenACCClauseKind::FirstPrivate: in doesClauseApplyToDirective()
118 case OpenACCClauseKind::Private: in doesClauseApplyToDirective()
130 case OpenACCClauseKind::NoCreate: in doesClauseApplyToDirective()
143 case OpenACCClauseKind::Present: in doesClauseApplyToDirective()
158 case OpenACCClauseKind::Copy: in doesClauseApplyToDirective()
159 case OpenACCClauseKind::PCopy: in doesClauseApplyToDirective()
160 case OpenACCClauseKind::PresentOrCopy: in doesClauseApplyToDirective()
174 case OpenACCClauseKind::CopyIn: in doesClauseApplyToDirective()
175 case OpenACCClauseKind::PCopyIn: in doesClauseApplyToDirective()
176 case OpenACCClauseKind::PresentOrCopyIn: in doesClauseApplyToDirective()
191 case OpenACCClauseKind::CopyOut: in doesClauseApplyToDirective()
192 case OpenACCClauseKind::PCopyOut: in doesClauseApplyToDirective()
193 case OpenACCClauseKind::PresentOrCopyOut: in doesClauseApplyToDirective()
208 case OpenACCClauseKind::Create: in doesClauseApplyToDirective()
209 case OpenACCClauseKind::PCreate: in doesClauseApplyToDirective()
210 case OpenACCClauseKind::PresentOrCreate: in doesClauseApplyToDirective()
225 case OpenACCClauseKind::Attach: in doesClauseApplyToDirective()
239 case OpenACCClauseKind::DevicePtr: in doesClauseApplyToDirective()
253 case OpenACCClauseKind::Async: in doesClauseApplyToDirective()
271 case OpenACCClauseKind::Wait: in doesClauseApplyToDirective()
288 case OpenACCClauseKind::Seq: in doesClauseApplyToDirective()
300 case OpenACCClauseKind::Independent: in doesClauseApplyToDirective()
301 case OpenACCClauseKind::Auto: in doesClauseApplyToDirective()
312 case OpenACCClauseKind::Reduction: in doesClauseApplyToDirective()
325 case OpenACCClauseKind::DeviceType: in doesClauseApplyToDirective()
326 case OpenACCClauseKind::DType: in doesClauseApplyToDirective()
384 if (NewClause.getClauseKind() == OpenACCClauseKind::DType || in checkValidAfterDeviceType()
385 NewClause.getClauseKind() == OpenACCClauseKind::DeviceType) in checkValidAfterDeviceType()
393 case OpenACCClauseKind::Async: in checkValidAfterDeviceType()
394 case OpenACCClauseKind::Wait: in checkValidAfterDeviceType()
395 case OpenACCClauseKind::NumGangs: in checkValidAfterDeviceType()
396 case OpenACCClauseKind::NumWorkers: in checkValidAfterDeviceType()
397 case OpenACCClauseKind::VectorLength: in checkValidAfterDeviceType()
407 case OpenACCClauseKind::Collapse: in checkValidAfterDeviceType()
408 case OpenACCClauseKind::Gang: in checkValidAfterDeviceType()
409 case OpenACCClauseKind::Worker: in checkValidAfterDeviceType()
410 case OpenACCClauseKind::Vector: in checkValidAfterDeviceType()
411 case OpenACCClauseKind::Seq: in checkValidAfterDeviceType()
412 case OpenACCClauseKind::Independent: in checkValidAfterDeviceType()
413 case OpenACCClauseKind::Auto: in checkValidAfterDeviceType()
414 case OpenACCClauseKind::Tile: in checkValidAfterDeviceType()
450 case OpenACCClauseKind::Gang: in Visit()
451 case OpenACCClauseKind::Worker: in Visit()
452 case OpenACCClauseKind::Vector: { in Visit()
472 case OpenACCClauseKind::CLAUSE_NAME: \ in Visit()
475 case OpenACCClauseKind::ALIAS: \ in Visit()
478 << Clause.getClauseKind() << OpenACCClauseKind::CLAUSE_NAME; \ in Visit()
846 return SemaRef.CheckVarIsPointerType(OpenACCClauseKind::Attach, E); in VisitAttachClause()
867 return SemaRef.CheckVarIsPointerType(OpenACCClauseKind::DevicePtr, E); in VisitDevicePtrClause()
1071 if (Clause.getClauseKind() == OpenACCClauseKind::Invalid) in ActOnClause()
1234 OpenACCClauseKind CK, SourceLocation Loc, in ActOnIntExpr()
1238 CK == OpenACCClauseKind::Invalid) || in ActOnIntExpr()
1240 CK != OpenACCClauseKind::Invalid) || in ActOnIntExpr()
1242 CK == OpenACCClauseKind::Invalid)) && in ActOnIntExpr()
1247 OpenACCClauseKind ClauseKind; in ActOnIntExpr()
1253 if (ClauseKind != OpenACCClauseKind::Invalid) in ActOnIntExpr()
1261 IntExprConverter(OpenACCDirectiveKind DK, OpenACCClauseKind CK, in ActOnIntExpr()
1331 bool SemaOpenACC::CheckVarIsPointerType(OpenACCClauseKind ClauseKind, in CheckVarIsPointerType()
1361 ExprResult SemaOpenACC::ActOnVar(OpenACCClauseKind CK, Expr *VarExpr) { in ActOnVar()
1385 if (CK != OpenACCClauseKind::Reduction) { in ActOnVar()
1399 (CK != OpenACCClauseKind::Reduction && in ActOnVar()
1409 << (CK != OpenACCClauseKind::Reduction); in ActOnVar()
1490 ActOnIntExpr(OpenACCDirectiveKind::Invalid, OpenACCClauseKind::Invalid, in ActOnArraySectionExpr()
1501 ActOnIntExpr(OpenACCDirectiveKind::Invalid, OpenACCClauseKind::Invalid, in ActOnArraySectionExpr()