1 //===-- MCTargetDesc/AMDGPUMCAsmInfo.h - TODO: Add brief description -------===// 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 // TODO: Add full description 11 // 12 //===----------------------------------------------------------------------===// 13 14 #ifndef AMDGPUMCASMINFO_H_ 15 #define AMDGPUMCASMINFO_H_ 16 17 #include "llvm/MC/MCAsmInfo.h" 18 namespace llvm { 19 class Target; 20 class StringRef; 21 22 class AMDGPUMCAsmInfo : public MCAsmInfo { 23 public: 24 explicit AMDGPUMCAsmInfo(const Target &T, StringRef &TT); 25 const char* 26 getDataASDirective(unsigned int Size, unsigned int AS) const; 27 const MCSection* getNonexecutableStackSection(MCContext &CTX) const; 28 }; 29 } // namespace llvm 30 #endif // AMDGPUMCASMINFO_H_ 31