summaryrefslogtreecommitdiff
path: root/lib/Target/R600/MCTargetDesc/AMDGPUMCAsmInfo.h
blob: 485167b3da24789405e9a08d9e71b0b87bdbebe0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//===-- MCTargetDesc/AMDGPUMCAsmInfo.h - AMDGPU MCAsm Interface  ----------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
/// \file
//
//===----------------------------------------------------------------------===//

#ifndef AMDGPUMCASMINFO_H
#define AMDGPUMCASMINFO_H

#include "llvm/MC/MCAsmInfo.h"
namespace llvm {

class StringRef;

class AMDGPUMCAsmInfo : public MCAsmInfo {
public:
  explicit AMDGPUMCAsmInfo(StringRef &TT);
  const char* getDataASDirective(unsigned int Size, unsigned int AS) const;
  const MCSection* getNonexecutableStackSection(MCContext &CTX) const;
};
} // namespace llvm
#endif // AMDGPUMCASMINFO_H