xref: /minix3/external/bsd/llvm/dist/llvm/lib/Target/R600/MCTargetDesc/AMDGPUMCAsmInfo.cpp (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1f4a2713aSLionel Sambuc //===-- MCTargetDesc/AMDGPUMCAsmInfo.cpp - Assembly Info ------------------===//
2f4a2713aSLionel Sambuc //
3f4a2713aSLionel Sambuc //                     The LLVM Compiler Infrastructure
4f4a2713aSLionel Sambuc //
5f4a2713aSLionel Sambuc // This file is distributed under the University of Illinois Open Source
6f4a2713aSLionel Sambuc // License. See LICENSE.TXT for details.
7f4a2713aSLionel Sambuc //
8f4a2713aSLionel Sambuc /// \file
9f4a2713aSLionel Sambuc //===----------------------------------------------------------------------===//
10f4a2713aSLionel Sambuc 
11f4a2713aSLionel Sambuc #include "AMDGPUMCAsmInfo.h"
12f4a2713aSLionel Sambuc 
13f4a2713aSLionel Sambuc using namespace llvm;
AMDGPUMCAsmInfo(StringRef & TT)14*0a6a1f1dSLionel Sambuc AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(StringRef &TT) : MCAsmInfoELF() {
15f4a2713aSLionel Sambuc   HasSingleParameterDotFile = false;
16f4a2713aSLionel Sambuc   //===------------------------------------------------------------------===//
17f4a2713aSLionel Sambuc   MaxInstLength = 16;
18f4a2713aSLionel Sambuc   SeparatorString = "\n";
19f4a2713aSLionel Sambuc   CommentString = ";";
20*0a6a1f1dSLionel Sambuc   PrivateLabelPrefix = "";
21f4a2713aSLionel Sambuc   InlineAsmStart = ";#ASMSTART";
22f4a2713aSLionel Sambuc   InlineAsmEnd = ";#ASMEND";
23f4a2713aSLionel Sambuc 
24f4a2713aSLionel Sambuc   //===--- Data Emission Directives -------------------------------------===//
25f4a2713aSLionel Sambuc   ZeroDirective = ".zero";
26f4a2713aSLionel Sambuc   AsciiDirective = ".ascii\t";
27f4a2713aSLionel Sambuc   AscizDirective = ".asciz\t";
28f4a2713aSLionel Sambuc   Data8bitsDirective = ".byte\t";
29f4a2713aSLionel Sambuc   Data16bitsDirective = ".short\t";
30f4a2713aSLionel Sambuc   Data32bitsDirective = ".long\t";
31f4a2713aSLionel Sambuc   Data64bitsDirective = ".quad\t";
32f4a2713aSLionel Sambuc   SunStyleELFSectionSwitchSyntax = true;
33f4a2713aSLionel Sambuc   UsesELFSectionDirectiveForBSS = true;
34f4a2713aSLionel Sambuc 
35f4a2713aSLionel Sambuc   //===--- Global Variable Emission Directives --------------------------===//
36f4a2713aSLionel Sambuc   HasAggressiveSymbolFolding = true;
37f4a2713aSLionel Sambuc   COMMDirectiveAlignmentIsInBytes = false;
38f4a2713aSLionel Sambuc   HasDotTypeDotSizeDirective = false;
39f4a2713aSLionel Sambuc   HasNoDeadStrip = true;
40f4a2713aSLionel Sambuc   WeakRefDirective = ".weakref\t";
41f4a2713aSLionel Sambuc   //===--- Dwarf Emission Directives -----------------------------------===//
42f4a2713aSLionel Sambuc   SupportsDebugInformation = true;
43f4a2713aSLionel Sambuc }
44