LLVM  12.0.0git
Go to the documentation of this file.
1 //===- VEMCAsmInfo.cpp - VE asm properties --------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file contains the declarations of the VEMCAsmInfo properties.
10 //
11 //===----------------------------------------------------------------------===//
13 #include "VEMCAsmInfo.h"
14 #include "llvm/ADT/Triple.h"
16 #include "llvm/MC/MCExpr.h"
17 #include "llvm/MC/MCStreamer.h"
20 using namespace llvm;
22 void VEELFMCAsmInfo::anchor() {}
29  // VE uses ".*byte" directive for unaligned data.
30  Data8bitsDirective = "\t.byte\t";
31  Data16bitsDirective = "\t.2byte\t";
32  Data32bitsDirective = "\t.4byte\t";
33  Data64bitsDirective = "\t.8byte\t";
35  // Uses '.section' before '.bss' directive. VE requires this although
36  // assembler manual says sinple '.bss' is supported.
40  UseIntegratedAssembler = false;
41 }
bool UseIntegratedAssembler
Should we use the integrated assembler? The integrated assembler should be enabled by default (by the...
Definition: MCAsmInfo.h:414
This class represents lattice values for constants.
Definition: AllocatorList.h:23
VEELFMCAsmInfo(const Triple &TheTriple)
Definition: VEMCAsmInfo.cpp:24
const char * Data64bitsDirective
Definition: MCAsmInfo.h:232
unsigned CalleeSaveStackSlotSize
Size of the stack slot reserved for callee-saved registers, in bytes.
Definition: MCAsmInfo.h:76
bool UsesELFSectionDirectiveForBSS
This is true if this target uses ELF '.section' directive before the '.bss' one.
Definition: MCAsmInfo.h:263
const char * Data8bitsDirective
These directives are used to output some unit of integer data to the current section.
Definition: MCAsmInfo.h:229
bool SupportsDebugInformation
True if target supports emission of debugging information.
Definition: MCAsmInfo.h:375
const char * Data16bitsDirective
Definition: MCAsmInfo.h:230
Triple - Helper class for working with autoconf configuration names.
Definition: Triple.h:45
unsigned MinInstAlignment
Every possible instruction length is a multiple of this value.
Definition: MCAsmInfo.h:115
const char * Data32bitsDirective
Definition: MCAsmInfo.h:231
This file contains constants used for implementing Dwarf debug support.
unsigned CodePointerSize
Code pointer size in bytes. Default is 4.
Definition: MCAsmInfo.h:72
unsigned MaxInstLength
This is the maximum possible length of an instruction, which is needed to compute the size of an inli...
Definition: MCAsmInfo.h:111