Lines Matching defs:CK
344 OpenACCClauseKind CK, SourceLocation Loc,
348 CK == OpenACCClauseKind::Invalid) ||
350 CK != OpenACCClauseKind::Invalid) ||
352 CK == OpenACCClauseKind::Invalid)) &&
371 IntExprConverter(OpenACCDirectiveKind DK, OpenACCClauseKind CK,
376 DirectiveKind(DK), ClauseKind(CK), IntExpr(IntExpr) {}
425 } IntExprDiagnoser(DK, CK, IntExpr);
474 ExprResult SemaOpenACC::ActOnVar(OpenACCClauseKind CK, Expr *VarExpr) {
480 if (CK == OpenACCClauseKind::UseDevice &&
503 // If CK is a Reduction, this special cases for OpenACC3.3 2.5.15: "A var in a
506 // If CK is a 'use_device', this also isn't valid, as it isn' the name of a
509 if (CK != OpenACCClauseKind::Reduction &&
510 CK != OpenACCClauseKind::UseDevice) {
519 if (CK != OpenACCClauseKind::UseDevice && isa<CXXThisExpr>(CurVarExpr))
525 (CK != OpenACCClauseKind::Reduction &&
534 if (CK == OpenACCClauseKind::UseDevice)
538 << (CK != OpenACCClauseKind::Reduction);