Convert two char* that are only ever used as booleans to bool.
[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   CommentColumn = 40;
25   CommentString = ";";
26   LabelSuffix = ":";
27   PrivateGlobalPrefix = ";.";
28   LinkerPrivateGlobalPrefix = "!";
29   InlineAsmStart = ";#ASMSTART";
30   InlineAsmEnd = ";#ASMEND";
31   AssemblerDialect = 0;
32
33   //===--- Data Emission Directives -------------------------------------===//
34   ZeroDirective = ".zero";
35   AsciiDirective = ".ascii\t";
36   AscizDirective = ".asciz\t";
37   Data8bitsDirective = ".byte\t";
38   Data16bitsDirective = ".short\t";
39   Data32bitsDirective = ".long\t";
40   Data64bitsDirective = ".quad\t";
41   GPRel32Directive = 0;
42   SunStyleELFSectionSwitchSyntax = true;
43   UsesELFSectionDirectiveForBSS = true;
44   HasMicrosoftFastStdCallMangling = false;
45
46   //===--- Alignment Information ----------------------------------------===//
47   AlignDirective = ".align\t";
48   AlignmentIsInBytes = true;
49   TextAlignFillValue = 0;
50
51   //===--- Global Variable Emission Directives --------------------------===//
52   GlobalDirective = ".global";
53   HasSetDirective = false;
54   HasAggressiveSymbolFolding = true;
55   COMMDirectiveAlignmentIsInBytes = false;
56   HasDotTypeDotSizeDirective = false;
57   HasNoDeadStrip = true;
58   WeakRefDirective = ".weakref\t";
59   //===--- Dwarf Emission Directives -----------------------------------===//
60   HasLEB128 = true;
61   SupportsDebugInformation = true;
62 }
63
64 const MCSection*
65 AMDGPUMCAsmInfo::getNonexecutableStackSection(MCContext &CTX) const {
66   return 0;
67 }