LLVM  8.0.1
HexagonMCAsmInfo.cpp
Go to the documentation of this file.
1 //===-- HexagonMCAsmInfo.cpp - Hexagon asm properties ---------------------===//
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 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the declarations of the HexagonMCAsmInfo properties.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #include "HexagonMCAsmInfo.h"
15 
16 using namespace llvm;
17 
18 // Pin the vtable to this file.
19 void HexagonMCAsmInfo::anchor() {}
20 
22  Data16bitsDirective = "\t.half\t";
23  Data32bitsDirective = "\t.word\t";
24  Data64bitsDirective = nullptr; // .xword is only supported by V9.
25  CommentString = "//";
27 
29  InlineAsmStart = "# InlineAsm Start";
30  InlineAsmEnd = "# InlineAsm End";
31  ZeroDirective = "\t.space\t";
32  AscizDirective = "\t.string\t";
33 
34  MinInstAlignment = 4;
37  UseLogicalShr = false;
38 }
LCOMM::LCOMMType LCOMMDirectiveAlignmentType
Describes if the .lcomm directive for the target supports an alignment argument and how it is interpr...
Definition: MCAsmInfo.h:271
This class represents lattice values for constants.
Definition: AllocatorList.h:24
const char * Data64bitsDirective
Definition: MCAsmInfo.h:193
const char * ZeroDirective
This should be set to the directive used to get some number of zero bytes emitted to the current sect...
Definition: MCAsmInfo.h:174
bool UseLogicalShr
True if the integrated assembler should interpret 'a >> b' constant expressions as logical rather tha...
Definition: MCAsmInfo.h:381
StringRef CommentString
This indicates the comment character used by the assembler.
Definition: MCAsmInfo.h:114
bool UsesELFSectionDirectiveForBSS
This is true if this target uses ELF '.section' directive before the '.bss' one.
Definition: MCAsmInfo.h:221
const char * AscizDirective
If not null, this allows for special handling of zero terminated strings on this target.
Definition: MCAsmInfo.h:184
const char * InlineAsmStart
If these are nonempty, they contain a directive to emit before and after an inline assembly statement...
Definition: MCAsmInfo.h:142
bool SupportsDebugInformation
True if target supports emission of debugging information.
Definition: MCAsmInfo.h:332
const char * Data16bitsDirective
Definition: MCAsmInfo.h:191
Triple - Helper class for working with autoconf configuration names.
Definition: Triple.h:44
HexagonMCAsmInfo(const Triple &TT)
const char * InlineAsmEnd
Definition: MCAsmInfo.h:143
unsigned MinInstAlignment
Every possible instruction length is a multiple of this value.
Definition: MCAsmInfo.h:102
const char * Data32bitsDirective
Definition: MCAsmInfo.h:192
ExceptionHandling ExceptionsType
Exception handling format for the target. Defaults to None.
Definition: MCAsmInfo.h:335
No exception support.