R600/SI: Add a MUBUF store pattern for Imm offsets
[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   AlignmentIsInBytes = true;
44   TextAlignFillValue = 0;
45
46   //===--- Global Variable Emission Directives --------------------------===//
47   GlobalDirective = ".global";
48   HasSetDirective = false;
49   HasAggressiveSymbolFolding = true;
50   COMMDirectiveAlignmentIsInBytes = false;
51   HasDotTypeDotSizeDirective = false;
52   HasNoDeadStrip = true;
53   WeakRefDirective = ".weakref\t";
54   //===--- Dwarf Emission Directives -----------------------------------===//
55   HasLEB128 = true;
56   SupportsDebugInformation = true;
57 }
58
59 const MCSection*
60 AMDGPUMCAsmInfo::getNonexecutableStackSection(MCContext &CTX) const {
61   return 0;
62 }