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; |
Daniel Sanders | 153010c | 2015-09-15 14:08:28 +0000 | [diff] [blame] | 14 | AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(const TargetTuple &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 | PrivateLabelPrefix = ""; |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 21 | InlineAsmStart = ";#ASMSTART"; |
| 22 | InlineAsmEnd = ";#ASMEND"; |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 23 | |
| 24 | //===--- Data Emission Directives -------------------------------------===// |
| 25 | ZeroDirective = ".zero"; |
| 26 | AsciiDirective = ".ascii\t"; |
| 27 | AscizDirective = ".asciz\t"; |
| 28 | Data8bitsDirective = ".byte\t"; |
| 29 | Data16bitsDirective = ".short\t"; |
| 30 | Data32bitsDirective = ".long\t"; |
| 31 | Data64bitsDirective = ".quad\t"; |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 32 | SunStyleELFSectionSwitchSyntax = true; |
| 33 | UsesELFSectionDirectiveForBSS = true; |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 34 | |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 35 | //===--- Global Variable Emission Directives --------------------------===// |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 36 | HasAggressiveSymbolFolding = true; |
| 37 | COMMDirectiveAlignmentIsInBytes = false; |
| 38 | HasDotTypeDotSizeDirective = false; |
| 39 | HasNoDeadStrip = true; |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 40 | WeakRefDirective = ".weakref\t"; |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 41 | //===--- Dwarf Emission Directives -----------------------------------===// |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 42 | SupportsDebugInformation = true; |
Tom Stellard | 75aadc2 | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 43 | } |