Warning, /include/clang/Basic/OpenACCClauses.def is written in an unsupported language. File is not indexed.
0001 //===-- OpenACCClauses.def - List of implemented OpenACC Clauses -- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 //
0009 // This file defines a list of currently implemented OpenACC Clauses (and
0010 // eventually, the entire list) in a way that makes generating 'visitor' and
0011 // other lists easier.
0012 //
0013 // The primary macro is a single-argument version taking the name of the Clause
0014 // as used in Clang source (so `Default` instead of `default`).
0015 //
0016 // VISIT_CLAUSE(CLAUSE_NAME)
0017 //
0018 // CLAUSE_ALIAS(ALIAS_NAME, CLAUSE_NAME, DEPRECATED)
0019
0020 #ifndef CLAUSE_ALIAS
0021 #define CLAUSE_ALIAS(ALIAS_NAME, CLAUSE_NAME, false)
0022 #endif
0023
0024 VISIT_CLAUSE(Auto)
0025 VISIT_CLAUSE(Async)
0026 VISIT_CLAUSE(Attach)
0027 VISIT_CLAUSE(Collapse)
0028 VISIT_CLAUSE(Copy)
0029 CLAUSE_ALIAS(PCopy, Copy, true)
0030 CLAUSE_ALIAS(PresentOrCopy, Copy, true)
0031 VISIT_CLAUSE(CopyIn)
0032 CLAUSE_ALIAS(PCopyIn, CopyIn, true)
0033 CLAUSE_ALIAS(PresentOrCopyIn, CopyIn, true)
0034 VISIT_CLAUSE(CopyOut)
0035 CLAUSE_ALIAS(PCopyOut, CopyOut, true)
0036 CLAUSE_ALIAS(PresentOrCopyOut, CopyOut, true)
0037 VISIT_CLAUSE(Create)
0038 CLAUSE_ALIAS(PCreate, Create, true)
0039 CLAUSE_ALIAS(PresentOrCreate, Create, true)
0040 VISIT_CLAUSE(Default)
0041 VISIT_CLAUSE(DefaultAsync)
0042 VISIT_CLAUSE(Delete)
0043 VISIT_CLAUSE(Detach)
0044 VISIT_CLAUSE(Device)
0045 VISIT_CLAUSE(DeviceNum)
0046 VISIT_CLAUSE(DevicePtr)
0047 VISIT_CLAUSE(DeviceType)
0048 CLAUSE_ALIAS(DType, DeviceType, false)
0049 VISIT_CLAUSE(Finalize)
0050 VISIT_CLAUSE(FirstPrivate)
0051 VISIT_CLAUSE(Gang)
0052 VISIT_CLAUSE(Host)
0053 VISIT_CLAUSE(If)
0054 VISIT_CLAUSE(IfPresent)
0055 VISIT_CLAUSE(Independent)
0056 VISIT_CLAUSE(NoCreate)
0057 VISIT_CLAUSE(NumGangs)
0058 VISIT_CLAUSE(NumWorkers)
0059 VISIT_CLAUSE(Present)
0060 VISIT_CLAUSE(Private)
0061 VISIT_CLAUSE(Reduction)
0062 VISIT_CLAUSE(Self)
0063 VISIT_CLAUSE(Seq)
0064 VISIT_CLAUSE(Tile)
0065 VISIT_CLAUSE(UseDevice)
0066 VISIT_CLAUSE(Vector)
0067 VISIT_CLAUSE(VectorLength)
0068 VISIT_CLAUSE(Wait)
0069 VISIT_CLAUSE(Worker)
0070
0071 #undef VISIT_CLAUSE
0072 #undef CLAUSE_ALIAS