LLVM 24.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,
31};
32
34 explicit X86_64MCAsmInfoDarwin(const Triple &Triple,
36 const MCExpr *
37 getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding,
38 MCStreamer &Streamer) const override;
39};
40
42 void anchor() override;
43
44public:
45 explicit X86ELFMCAsmInfo(const Triple &Triple,
47};
48
50 void anchor() override;
51
52public:
53 explicit X86MCAsmInfoMicrosoft(const Triple &Triple,
55};
56
58 void anchor() override;
59
60public:
63};
64
66 void anchor() override;
67
68public:
69 explicit X86MCAsmInfoGNUCOFF(const Triple &Triple,
71};
72
73namespace X86 {
75
76enum {
79
106};
107} // namespace X86
108} // namespace llvm
109
110#endif
static LVOptions Options
Definition LVOptions.cpp:25
MCAsmInfoDarwin(const MCTargetOptions &Options)
MCAsmInfoELF(const MCTargetOptions &Options)
MCAsmInfoGNUCOFF(const MCTargetOptions &Options)
MCAsmInfoMicrosoft(const MCTargetOptions &Options)
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:222
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:48
X86ELFMCAsmInfo(const Triple &Triple, const MCTargetOptions &Options)
X86MCAsmInfoDarwin(const Triple &Triple, const MCTargetOptions &Options)
X86MCAsmInfoGNUCOFF(const Triple &Triple, const MCTargetOptions &Options)
X86MCAsmInfoMicrosoftMASM(const Triple &Triple, const MCTargetOptions &Options)
X86MCAsmInfoMicrosoft(const Triple &Triple, const MCTargetOptions &Options)
Define some predicates that are used for node matching.
uint16_t Specifier
@ S_GOTPCREL_NORELAX
This is an optimization pass for GlobalISel generic memory operations.
const MCExpr * getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding, MCStreamer &Streamer) const override
X86_64MCAsmInfoDarwin(const Triple &Triple, const MCTargetOptions &Options)