Add two new calling conventions for runtime calls
[oota-llvm.git] / 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   //===------------------------------------------------------------------===//
17   HasSubsectionsViaSymbols = true;
18   HasMachoZeroFillDirective = false;
19   HasMachoTBSSDirective = false;
20   HasStaticCtorDtorReferenceInStaticMode = false;
21   LinkerRequiresNonEmptyDwarfLines = true;
22   MaxInstLength = 16;
23   SeparatorString = "\n";
24   CommentString = ";";
25   LabelSuffix = ":";
26   InlineAsmStart = ";#ASMSTART";
27   InlineAsmEnd = ";#ASMEND";
28   AssemblerDialect = 0;
29
30   //===--- Data Emission Directives -------------------------------------===//
31   ZeroDirective = ".zero";
32   AsciiDirective = ".ascii\t";
33   AscizDirective = ".asciz\t";
34   Data8bitsDirective = ".byte\t";
35   Data16bitsDirective = ".short\t";
36   Data32bitsDirective = ".long\t";
37   Data64bitsDirective = ".quad\t";
38   GPRel32Directive = 0;
39   SunStyleELFSectionSwitchSyntax = true;
40   UsesELFSectionDirectiveForBSS = true;
41
42   //===--- Alignment Information ----------------------------------------===//
43   AlignDirective = ".align\t";
44   AlignmentIsInBytes = true;
45   TextAlignFillValue = 0;
46
47   //===--- Global Variable Emission Directives --------------------------===//
48   GlobalDirective = ".global";
49   HasSetDirective = false;
50   HasAggressiveSymbolFolding = true;
51   COMMDirectiveAlignmentIsInBytes = false;
52   HasDotTypeDotSizeDirective = false;
53   HasNoDeadStrip = true;
54   WeakRefDirective = ".weakref\t";
55   //===--- Dwarf Emission Directives -----------------------------------===//
56   HasLEB128 = true;
57   SupportsDebugInformation = true;
58 }
59
60 const MCSection*
61 AMDGPUMCAsmInfo::getNonexecutableStackSection(MCContext &CTX) const {
62   return 0;
63 }