blob: 119dd425916ee9297e4185d00fb083a10ce02249 [file] [log] [blame]
Matt Arsenault06a711d2014-09-30 01:05:27 +00001//===-- MCTargetDesc/AMDGPUMCAsmInfo.h - AMDGPU MCAsm Interface -*- C++ -*-===//
Tom Stellard75aadc22012-12-11 21:25:42 +00002//
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
Benjamin Kramera7c40ef2014-08-13 16:26:38 +000014#ifndef LLVM_LIB_TARGET_R600_MCTARGETDESC_AMDGPUMCASMINFO_H
15#define LLVM_LIB_TARGET_R600_MCTARGETDESC_AMDGPUMCASMINFO_H
Tom Stellard75aadc22012-12-11 21:25:42 +000016
Tom Stellard022802a2014-10-07 21:09:23 +000017#include "llvm/MC/MCAsmInfoELF.h"
Tom Stellard75aadc22012-12-11 21:25:42 +000018namespace llvm {
19
Daniel Sanders7813ae82015-06-04 13:12:25 +000020class Triple;
Tom Stellard75aadc22012-12-11 21:25:42 +000021
Tom Stellard022802a2014-10-07 21:09:23 +000022// 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
Nick Lewyckyc3890d22015-07-29 22:32:47 +000024// a prefix that won't appear in a function name. The default value
Tom Stellard022802a2014-10-07 21:09:23 +000025// for PrivateGlobalPrefix is 'L', so it will consider any function starting
26// with 'L' as a local symbol.
27class AMDGPUMCAsmInfo : public MCAsmInfoELF {
Tom Stellard75aadc22012-12-11 21:25:42 +000028public:
Daniel Sanders7813ae82015-06-04 13:12:25 +000029 explicit AMDGPUMCAsmInfo(const Triple &TT);
Tom Stellard75aadc22012-12-11 21:25:42 +000030};
31} // namespace llvm
Benjamin Kramera7c40ef2014-08-13 16:26:38 +000032#endif