]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/llvm/lib/Target/R600/MCTargetDesc/AMDGPUMCAsmInfo.h
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / llvm / lib / Target / R600 / MCTargetDesc / AMDGPUMCAsmInfo.h
1 //===-- MCTargetDesc/AMDGPUMCAsmInfo.h - AMDGPU MCAsm Interface  ----------===//
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 /// \file
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef AMDGPUMCASMINFO_H
15 #define AMDGPUMCASMINFO_H
16
17 #include "llvm/MC/MCAsmInfo.h"
18 namespace llvm {
19
20 class Target;
21 class StringRef;
22
23 class AMDGPUMCAsmInfo : public MCAsmInfo {
24 public:
25   explicit AMDGPUMCAsmInfo(const Target &T, StringRef &TT);
26   const char* getDataASDirective(unsigned int Size, unsigned int AS) const;
27   const MCSection* getNonexecutableStackSection(MCContext &CTX) const;
28 };
29 } // namespace llvm
30 #endif // AMDGPUMCASMINFO_H