Lines Matching defs:Clause

2519     for (const OpenACCClause *Clause : Clauses) {
2522 Visit(Clause);
2526 void VisitClauseWithVarList(const OpenACCClauseWithVarList &Clause) {
2527 for (auto *E : Clause.getVarList())
2532 void Visit##CLAUSE_NAME##Clause(const OpenACC##CLAUSE_NAME##Clause &Clause);
2539 const OpenACCDefaultClause &Clause) {}
2541 void OpenACCClauseProfiler::VisitIfClause(const OpenACCIfClause &Clause) {
2542 assert(Clause.hasConditionExpr() &&
2544 Profiler.VisitStmt(Clause.getConditionExpr());
2547 void OpenACCClauseProfiler::VisitCopyClause(const OpenACCCopyClause &Clause) {
2548 VisitClauseWithVarList(Clause);
2551 const OpenACCCopyInClause &Clause) {
2552 VisitClauseWithVarList(Clause);
2556 const OpenACCCopyOutClause &Clause) {
2557 VisitClauseWithVarList(Clause);
2561 const OpenACCCreateClause &Clause) {
2562 VisitClauseWithVarList(Clause);
2565 void OpenACCClauseProfiler::VisitHostClause(const OpenACCHostClause &Clause) {
2566 VisitClauseWithVarList(Clause);
2570 const OpenACCDeviceClause &Clause) {
2571 VisitClauseWithVarList(Clause);
2574 void OpenACCClauseProfiler::VisitSelfClause(const OpenACCSelfClause &Clause) {
2575 if (Clause.isConditionExprClause()) {
2576 if (Clause.hasConditionExpr())
2577 Profiler.VisitStmt(Clause.getConditionExpr());
2579 for (auto *E : Clause.getVarList())
2585 const OpenACCFinalizeClause &Clause) {}
2588 const OpenACCIfPresentClause &Clause) {}
2591 const OpenACCNumGangsClause &Clause) {
2592 for (auto *E : Clause.getIntExprs())
2596 void OpenACCClauseProfiler::VisitTileClause(const OpenACCTileClause &Clause) {
2597 for (auto *E : Clause.getSizeExprs())
2602 const OpenACCNumWorkersClause &Clause) {
2603 assert(Clause.hasIntExpr() && "num_workers clause requires a valid int expr");
2604 Profiler.VisitStmt(Clause.getIntExpr());
2608 const OpenACCCollapseClause &Clause) {
2609 assert(Clause.getLoopCount() && "collapse clause requires a valid int expr");
2610 Profiler.VisitStmt(Clause.getLoopCount());
2614 const OpenACCPrivateClause &Clause) {
2615 VisitClauseWithVarList(Clause);
2619 const OpenACCFirstPrivateClause &Clause) {
2620 VisitClauseWithVarList(Clause);
2624 const OpenACCAttachClause &Clause) {
2625 VisitClauseWithVarList(Clause);
2629 const OpenACCDetachClause &Clause) {
2630 VisitClauseWithVarList(Clause);
2634 const OpenACCDeleteClause &Clause) {
2635 VisitClauseWithVarList(Clause);
2639 const OpenACCDevicePtrClause &Clause) {
2640 VisitClauseWithVarList(Clause);
2644 const OpenACCNoCreateClause &Clause) {
2645 VisitClauseWithVarList(Clause);
2649 const OpenACCPresentClause &Clause) {
2650 VisitClauseWithVarList(Clause);
2654 const OpenACCUseDeviceClause &Clause) {
2655 VisitClauseWithVarList(Clause);
2659 const OpenACCVectorLengthClause &Clause) {
2660 assert(Clause.hasIntExpr() &&
2662 Profiler.VisitStmt(Clause.getIntExpr());
2665 void OpenACCClauseProfiler::VisitAsyncClause(const OpenACCAsyncClause &Clause) {
2666 if (Clause.hasIntExpr())
2667 Profiler.VisitStmt(Clause.getIntExpr());
2671 const OpenACCDeviceNumClause &Clause) {
2672 Profiler.VisitStmt(Clause.getIntExpr());
2676 const OpenACCDefaultAsyncClause &Clause) {
2677 Profiler.VisitStmt(Clause.getIntExpr());
2681 const OpenACCWorkerClause &Clause) {
2682 if (Clause.hasIntExpr())
2683 Profiler.VisitStmt(Clause.getIntExpr());
2687 const OpenACCVectorClause &Clause) {
2688 if (Clause.hasIntExpr())
2689 Profiler.VisitStmt(Clause.getIntExpr());
2692 void OpenACCClauseProfiler::VisitWaitClause(const OpenACCWaitClause &Clause) {
2693 if (Clause.hasDevNumExpr())
2694 Profiler.VisitStmt(Clause.getDevNumExpr());
2695 for (auto *E : Clause.getQueueIdExprs())
2700 const OpenACCDeviceTypeClause &Clause) {}
2702 void OpenACCClauseProfiler::VisitAutoClause(const OpenACCAutoClause &Clause) {}
2705 const OpenACCIndependentClause &Clause) {}
2707 void OpenACCClauseProfiler::VisitSeqClause(const OpenACCSeqClause &Clause) {}
2709 void OpenACCClauseProfiler::VisitGangClause(const OpenACCGangClause &Clause) {
2710 for (unsigned I = 0; I < Clause.getNumExprs(); ++I) {
2711 Profiler.VisitStmt(Clause.getExpr(I).second);
2716 const OpenACCReductionClause &Clause) {
2717 VisitClauseWithVarList(Clause);