LLVM 18.0.0git
VEMCAsmInfo.cpp
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//===----------------------------------------------------------------------===//
12
13#include "VEMCAsmInfo.h"
15#include "llvm/MC/MCExpr.h"
16#include "llvm/MC/MCStreamer.h"
19
20using namespace llvm;
21
22void VEELFMCAsmInfo::anchor() {}
23
25
28
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";
34
35 // Uses '.section' before '.bss' directive. VE requires this although
36 // assembler manual says sinple '.bss' is supported.
38
40}
This file contains constants used for implementing Dwarf debug support.
const char * Data16bitsDirective
Definition: MCAsmInfo.h:289
unsigned MinInstAlignment
Every possible instruction length is a multiple of this value.
Definition: MCAsmInfo.h:115
const char * Data8bitsDirective
These directives are used to output some unit of integer data to the current section.
Definition: MCAsmInfo.h:288
const char * Data64bitsDirective
Definition: MCAsmInfo.h:291
const char * Data32bitsDirective
Definition: MCAsmInfo.h:290
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
bool UsesELFSectionDirectiveForBSS
This is true if this target uses ELF '.section' directive before the '.bss' one.
Definition: MCAsmInfo.h:322
bool SupportsDebugInformation
True if target supports emission of debugging information.
Definition: MCAsmInfo.h:454
unsigned CodePointerSize
Code pointer size in bytes. Default is 4.
Definition: MCAsmInfo.h:72
unsigned CalleeSaveStackSlotSize
Size of the stack slot reserved for callee-saved registers, in bytes.
Definition: MCAsmInfo.h:76
Triple - Helper class for working with autoconf configuration names.
Definition: Triple.h:44
VEELFMCAsmInfo(const Triple &TheTriple)
Definition: VEMCAsmInfo.cpp:24
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18