LLVM 20.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"
14#include "llvm/MC/MCStreamer.h"
16
17using namespace llvm;
18
19void VEELFMCAsmInfo::anchor() {}
20
22
25
26 // VE uses ".*byte" directive for unaligned data.
27 Data8bitsDirective = "\t.byte\t";
28 Data16bitsDirective = "\t.2byte\t";
29 Data32bitsDirective = "\t.4byte\t";
30 Data64bitsDirective = "\t.8byte\t";
31
32 // Uses '.section' before '.bss' directive. VE requires this although
33 // assembler manual says sinple '.bss' is supported.
35
37}
const char * Data16bitsDirective
Definition: MCAsmInfo.h:281
unsigned MinInstAlignment
Every possible instruction length is a multiple of this value.
Definition: MCAsmInfo.h:107
const char * Data8bitsDirective
These directives are used to output some unit of integer data to the current section.
Definition: MCAsmInfo.h:280
const char * Data64bitsDirective
Definition: MCAsmInfo.h:283
const char * Data32bitsDirective
Definition: MCAsmInfo.h:282
unsigned MaxInstLength
This is the maximum possible length of an instruction, which is needed to compute the size of an inli...
Definition: MCAsmInfo.h:103
bool UsesELFSectionDirectiveForBSS
This is true if this target uses ELF '.section' directive before the '.bss' one.
Definition: MCAsmInfo.h:314
bool SupportsDebugInformation
True if target supports emission of debugging information.
Definition: MCAsmInfo.h:423
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:21
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18