LLVM API Documentation

AMDGPUMCAsmInfo.cpp
Go to the documentation of this file.
00001 //===-- MCTargetDesc/AMDGPUMCAsmInfo.cpp - Assembly Info ------------------===//
00002 //
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file is distributed under the University of Illinois Open Source
00006 // License. See LICENSE.TXT for details.
00007 //
00008 /// \file
00009 //===----------------------------------------------------------------------===//
00010 
00011 #include "AMDGPUMCAsmInfo.h"
00012 
00013 using namespace llvm;
00014 AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(StringRef &TT) : MCAsmInfo() {
00015   HasSingleParameterDotFile = false;
00016   //===------------------------------------------------------------------===//
00017   HasSubsectionsViaSymbols = true;
00018   HasMachoZeroFillDirective = false;
00019   HasMachoTBSSDirective = false;
00020   HasStaticCtorDtorReferenceInStaticMode = false;
00021   LinkerRequiresNonEmptyDwarfLines = true;
00022   MaxInstLength = 16;
00023   SeparatorString = "\n";
00024   CommentString = ";";
00025   LabelSuffix = ":";
00026   InlineAsmStart = ";#ASMSTART";
00027   InlineAsmEnd = ";#ASMEND";
00028   AssemblerDialect = 0;
00029 
00030   //===--- Data Emission Directives -------------------------------------===//
00031   ZeroDirective = ".zero";
00032   AsciiDirective = ".ascii\t";
00033   AscizDirective = ".asciz\t";
00034   Data8bitsDirective = ".byte\t";
00035   Data16bitsDirective = ".short\t";
00036   Data32bitsDirective = ".long\t";
00037   Data64bitsDirective = ".quad\t";
00038   GPRel32Directive = nullptr;
00039   SunStyleELFSectionSwitchSyntax = true;
00040   UsesELFSectionDirectiveForBSS = true;
00041 
00042   //===--- Alignment Information ----------------------------------------===//
00043   AlignmentIsInBytes = true;
00044   TextAlignFillValue = 0;
00045 
00046   //===--- Global Variable Emission Directives --------------------------===//
00047   GlobalDirective = ".global";
00048   HasSetDirective = false;
00049   HasAggressiveSymbolFolding = true;
00050   COMMDirectiveAlignmentIsInBytes = false;
00051   HasDotTypeDotSizeDirective = false;
00052   HasNoDeadStrip = true;
00053   WeakRefDirective = ".weakref\t";
00054   //===--- Dwarf Emission Directives -----------------------------------===//
00055   SupportsDebugInformation = true;
00056 }
00057 
00058 const MCSection*
00059 AMDGPUMCAsmInfo::getNonexecutableStackSection(MCContext &CTX) const {
00060   return nullptr;
00061 }