]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/blob - contrib/llvm/lib/Target/R600/MCTargetDesc/AMDGPUMCAsmInfo.cpp
MFC 254790 (by emaste):
[FreeBSD/stable/9.git] / contrib / llvm / lib / Target / R600 / MCTargetDesc / AMDGPUMCAsmInfo.cpp
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;
14 AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(StringRef &TT) : MCAsmInfo() {
15   HasSingleParameterDotFile = false;
16   WeakDefDirective = 0;
17   //===------------------------------------------------------------------===//
18   HasSubsectionsViaSymbols = true;
19   HasMachoZeroFillDirective = false;
20   HasMachoTBSSDirective = false;
21   HasStaticCtorDtorReferenceInStaticMode = false;
22   LinkerRequiresNonEmptyDwarfLines = true;
23   MaxInstLength = 16;
24   SeparatorString = "\n";
25   CommentColumn = 40;
26   CommentString = ";";
27   LabelSuffix = ":";
28   GlobalPrefix = "@";
29   PrivateGlobalPrefix = ";.";
30   LinkerPrivateGlobalPrefix = "!";
31   InlineAsmStart = ";#ASMSTART";
32   InlineAsmEnd = ";#ASMEND";
33   AssemblerDialect = 0;
34
35   //===--- Data Emission Directives -------------------------------------===//
36   ZeroDirective = ".zero";
37   AsciiDirective = ".ascii\t";
38   AscizDirective = ".asciz\t";
39   Data8bitsDirective = ".byte\t";
40   Data16bitsDirective = ".short\t";
41   Data32bitsDirective = ".long\t";
42   Data64bitsDirective = ".quad\t";
43   GPRel32Directive = 0;
44   SunStyleELFSectionSwitchSyntax = true;
45   UsesELFSectionDirectiveForBSS = true;
46   HasMicrosoftFastStdCallMangling = false;
47
48   //===--- Alignment Information ----------------------------------------===//
49   AlignDirective = ".align\t";
50   AlignmentIsInBytes = true;
51   TextAlignFillValue = 0;
52
53   //===--- Global Variable Emission Directives --------------------------===//
54   GlobalDirective = ".global";
55   HasSetDirective = false;
56   HasAggressiveSymbolFolding = true;
57   COMMDirectiveAlignmentIsInBytes = false;
58   HasDotTypeDotSizeDirective = false;
59   HasNoDeadStrip = true;
60   WeakRefDirective = ".weakref\t";
61   LinkOnceDirective = 0;
62   //===--- Dwarf Emission Directives -----------------------------------===//
63   HasLEB128 = true;
64   SupportsDebugInformation = true;
65 }
66
67 const MCSection*
68 AMDGPUMCAsmInfo::getNonexecutableStackSection(MCContext &CTX) const {
69   return 0;
70 }