Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 1 | //===-- MCTargetDesc/AMDGPUMCAsmInfo.cpp - Assembly Info ------------------===// |
| 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 | /// \file |
| 9 | //===----------------------------------------------------------------------===// |
| 10 | |
| 11 | #include "AMDGPUMCAsmInfo.h" |
| 12 | |
| 13 | using namespace llvm; |
Tom Stellard | 022802a | 2014-10-07 21:09:23 +0000 | [diff] [blame] | 14 | AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(StringRef &TT) : MCAsmInfoELF() { |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 15 | HasSingleParameterDotFile = false; |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 16 | //===------------------------------------------------------------------===// |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 17 | MaxInstLength = 16; |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 18 | SeparatorString = "\n"; |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 19 | CommentString = ";"; |
Matt Arsenault | 4e27343 | 2014-12-04 00:06:57 +0000 | [diff] [blame^] | 20 | PrivateGlobalPrefix = ""; |
| 21 | PrivateLabelPrefix = ""; |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 22 | InlineAsmStart = ";#ASMSTART"; |
| 23 | InlineAsmEnd = ";#ASMEND"; |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 24 | |
| 25 | //===--- Data Emission Directives -------------------------------------===// |
| 26 | ZeroDirective = ".zero"; |
| 27 | AsciiDirective = ".ascii\t"; |
| 28 | AscizDirective = ".asciz\t"; |
| 29 | Data8bitsDirective = ".byte\t"; |
| 30 | Data16bitsDirective = ".short\t"; |
| 31 | Data32bitsDirective = ".long\t"; |
| 32 | Data64bitsDirective = ".quad\t"; |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 33 | SunStyleELFSectionSwitchSyntax = true; |
| 34 | UsesELFSectionDirectiveForBSS = true; |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 35 | |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 36 | //===--- Global Variable Emission Directives --------------------------===// |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 37 | HasAggressiveSymbolFolding = true; |
| 38 | COMMDirectiveAlignmentIsInBytes = false; |
| 39 | HasDotTypeDotSizeDirective = false; |
| 40 | HasNoDeadStrip = true; |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 41 | WeakRefDirective = ".weakref\t"; |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 42 | //===--- Dwarf Emission Directives -----------------------------------===// |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 43 | SupportsDebugInformation = true; |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 44 | } |