1 | //===-- OpenACCClauses.def - List of implemented OpenACC Clauses -- C++ -*-===// |
2 | // |
3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 | // See https://llvm.org/LICENSE.txt for license information. |
5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | // |
9 | // This file defines a list of currently implemented OpenACC Clauses (and |
10 | // eventually, the entire list) in a way that makes generating 'visitor' and |
11 | // other lists easier. |
12 | // |
13 | // The primary macro is a single-argument version taking the name of the Clause |
14 | // as used in Clang source (so `Default` instead of `default`). |
15 | // |
16 | // VISIT_CLAUSE(CLAUSE_NAME) |
17 | |
18 | VISIT_CLAUSE(Default) |
19 | VISIT_CLAUSE(If) |
20 | VISIT_CLAUSE(Self) |
21 | VISIT_CLAUSE(NumGangs) |
22 | VISIT_CLAUSE(NumWorkers) |
23 | VISIT_CLAUSE(VectorLength) |
24 | |
25 | #undef VISIT_CLAUSE |
26 | |