LLVM 22.0.0git
X86MCAsmInfo.h
Go to the documentation of this file.
1//===-- X86MCAsmInfo.h - X86 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// This file contains the declaration of the X86MCAsmInfo class.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCASMINFO_H
14#define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCASMINFO_H
15
20#include "llvm/MC/MCExpr.h"
21
22namespace llvm {
23class Triple;
24
26 virtual void anchor();
27
28public:
29 explicit X86MCAsmInfoDarwin(const Triple &Triple);
30};
31
33 explicit X86_64MCAsmInfoDarwin(const Triple &Triple);
34 const MCExpr *
35 getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding,
36 MCStreamer &Streamer) const override;
37};
38
40 void anchor() override;
41
42public:
43 explicit X86ELFMCAsmInfo(const Triple &Triple);
44};
45
47 void anchor() override;
48
49public:
50 explicit X86MCAsmInfoMicrosoft(const Triple &Triple);
51};
52
54 void anchor() override;
55
56public:
58};
59
61 void anchor() override;
62
63public:
64 explicit X86MCAsmInfoGNUCOFF(const Triple &Triple);
65};
66
67namespace X86 {
69
70enum {
73
100};
101} // namespace X86
102} // namespace llvm
103
104#endif
Symbol * Sym
Definition: ELF_riscv.cpp:479
Base class for the full range of assembler expressions which are needed for parsing.
Definition: MCExpr.h:34
Streaming machine code generation interface.
Definition: MCStreamer.h:220
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Definition: MCSymbol.h:42
Triple - Helper class for working with autoconf configuration names.
Definition: Triple.h:47
@ S_GOTPCREL_NORELAX
Definition: X86MCAsmInfo.h:82
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
const MCExpr * getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding, MCStreamer &Streamer) const override