| Yaxun Liu | 07d659b | 2016-12-14 17:16:52 +0000 | [diff] [blame] | 1 | //===- AMDGPURuntimeMD.h - Generate runtime metadata ---------------*- C++ -*-// |
| 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 file declares functions for generating runtime metadata. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | #ifndef LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPURUNTIMEMD_H |
| 15 | #define LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPURUNTIMEMD_H |
| 16 | |
| 17 | #include <string> |
| 18 | |
| 19 | namespace llvm { |
| 20 | class Module; |
| 21 | |
| 22 | // Get runtime metadata as YAML string. |
| 23 | std::string getRuntimeMDYAMLString(Module &M); |
| 24 | |
| 25 | } |
| 26 | #endif |