Samuel Antao | 45bfe4c | 2016-02-08 15:59:20 +0000 | [diff] [blame^] | 1 | //===----- CGOpenMPRuntimeNVPTX.h - Interface to OpenMP NVPTX Runtimes ----===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This provides a class for OpenMP runtime code generation specialized to NVPTX |
| 11 | // targets. |
| 12 | // |
| 13 | //===----------------------------------------------------------------------===// |
| 14 | |
| 15 | #ifndef LLVM_CLANG_LIB_CODEGEN_CGOPENMPRUNTIMENVPTX_H |
| 16 | #define LLVM_CLANG_LIB_CODEGEN_CGOPENMPRUNTIMENVPTX_H |
| 17 | |
| 18 | #include "CGOpenMPRuntime.h" |
| 19 | |
| 20 | namespace clang { |
| 21 | namespace CodeGen { |
| 22 | |
| 23 | class CGOpenMPRuntimeNVPTX : public CGOpenMPRuntime { |
| 24 | public: |
| 25 | explicit CGOpenMPRuntimeNVPTX(CodeGenModule &CGM); |
| 26 | }; |
| 27 | |
| 28 | } // CodeGen namespace. |
| 29 | } // clang namespace. |
| 30 | |
| 31 | #endif // LLVM_CLANG_LIB_CODEGEN_CGOPENMPRUNTIMENVPTX_H |