blob: a92fdd4bebc28fd20fd171f33279b5c22dca06ff [file] [log] [blame]
Yaxun Liu07d659b2016-12-14 17:16:52 +00001//===- 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
19namespace llvm {
20class Module;
21
22// Get runtime metadata as YAML string.
23std::string getRuntimeMDYAMLString(Module &M);
24
25}
26#endif