LLVM 24.0.0git
M68kMCAsmInfo.cpp
Go to the documentation of this file.
1//===-- M68kMCAsmInfo.cpp - M68k Asm Properties -----------------*- C++ -*-===//
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/// \file
10/// This file contains the definitions of the M68k MCAsmInfo properties.
11///
12//===----------------------------------------------------------------------===//
13
14#include "M68kMCAsmInfo.h"
15#include "llvm/ADT/Enum.h"
16#include "llvm/MC/MCExpr.h"
18
19using namespace llvm;
20
22 {{"GOTOFF"}, M68k::S_GOTOFF}, {{"GOTPCREL"}, M68k::S_GOTPCREL},
23 {{"GOTTPOFF"}, M68k::S_GOTTPOFF}, {{"PLT"}, M68k::S_PLT},
24 {{"TLSGD"}, M68k::S_TLSGD}, {{"TLSLD"}, M68k::S_TLSLD},
25 {{"TLSLDM"}, M68k::S_TLSLDM}, {{"TPOFF"}, M68k::S_TPOFF},
26};
28
29void M68kELFMCAsmInfo::anchor() {}
30
36
37 IsLittleEndian = false;
38
39 // Debug Information
41
42 // Exceptions handling
44
46 CommentString = ";";
47
49}
constexpr EnumStringDef< MCAsmInfo::AtSpecifierKind > AtSpecifierDefs[]
constexpr auto atSpecifiers
#define BUILD_ENUM_STRINGS(Tab)
Definition Enum.h:120
static LVOptions Options
Definition LVOptions.cpp:25
This file contains the declarations of the M68k MCAsmInfo properties.
#define T
M68kELFMCAsmInfo(const Triple &Triple, const MCTargetOptions &Options)
MCAsmInfoELF(const MCTargetOptions &Options)
ExceptionHandling ExceptionsType
Exception handling format for the target. Defaults to None.
Definition MCAsmInfo.h:357
bool UseMotorolaIntegers
Definition MCAsmInfo.h:429
bool SupportsDebugInformation
True if target supports emission of debugging information.
Definition MCAsmInfo.h:354
void initializeAtSpecifiers(EnumStrings< AtSpecifierKind, 1 >)
bool IsLittleEndian
True if target is little endian. Default is true.
Definition MCAsmInfo.h:93
unsigned CodePointerSize
Code pointer size in bytes. Default is 4.
Definition MCAsmInfo.h:86
unsigned CalleeSaveStackSlotSize
Size of the stack slot reserved for callee-saved registers, in bytes.
Definition MCAsmInfo.h:90
StringRef CommentString
This indicates the comment string used by the assembler.
Definition MCAsmInfo.h:134
Triple - Helper class for working with autoconf configuration names.
Definition Triple.h:48
This is an optimization pass for GlobalISel generic memory operations.
@ DwarfCFI
DWARF-like instruction based exceptions.
Definition CodeGen.h:55
Compile-time data representation of enum entries.
Definition Enum.h:47