1 //===-- MCTargetDesc/AMDGPUMCAsmInfo.h - AMDGPU MCAsm Interface -*- 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 /// \file 11 // 12 //===----------------------------------------------------------------------===// 13 14 #ifndef LLVM_LIB_TARGET_R600_MCTARGETDESC_AMDGPUMCASMINFO_H 15 #define LLVM_LIB_TARGET_R600_MCTARGETDESC_AMDGPUMCASMINFO_H 16 17 #include "llvm/MC/MCAsmInfoELF.h" 18 namespace llvm { 19 20 class StringRef; 21 22 // If you need to create another MCAsmInfo class, which inherits from MCAsmInfo, 23 // you will need to make sure your new class sets PrivateGlobalPrefix to 24 // a prefix that won't appeary in a fuction name. The default value 25 // for PrivateGlobalPrefix is 'L', so it will consider any function starting 26 // with 'L' as a local symbol. 27 class AMDGPUMCAsmInfo : public MCAsmInfoELF { 28 public: 29 explicit AMDGPUMCAsmInfo(StringRef &TT); 30 }; 31 } // namespace llvm 32 #endif 33