LLVM  14.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 
16 #include "llvm/MC/MCAsmInfoCOFF.h"
18 #include "llvm/MC/MCAsmInfoELF.h"
19 
20 namespace llvm {
21 class Triple;
22 
24  virtual void anchor();
25 
26 public:
27  explicit X86MCAsmInfoDarwin(const Triple &Triple);
28 };
29 
31  explicit X86_64MCAsmInfoDarwin(const Triple &Triple);
32  const MCExpr *
33  getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding,
34  MCStreamer &Streamer) const override;
35 };
36 
37 class X86ELFMCAsmInfo : public MCAsmInfoELF {
38  void anchor() override;
39 
40 public:
41  explicit X86ELFMCAsmInfo(const Triple &Triple);
42 };
43 
45  void anchor() override;
46 
47 public:
48  explicit X86MCAsmInfoMicrosoft(const Triple &Triple);
49 };
50 
52  void anchor() override;
53 
54 public:
55  explicit X86MCAsmInfoMicrosoftMASM(const Triple &Triple);
56 };
57 
59  void anchor() override;
60 
61 public:
62  explicit X86MCAsmInfoGNUCOFF(const Triple &Triple);
63 };
64 } // namespace llvm
65 
66 #endif
llvm::MCAsmInfoELF
Definition: MCAsmInfoELF.h:16
llvm
This file implements support for optimizing divisions by a constant.
Definition: AllocatorList.h:23
llvm::X86MCAsmInfoMicrosoft
Definition: X86MCAsmInfo.h:44
llvm::MCSymbol
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Definition: MCSymbol.h:41
MCAsmInfoDarwin.h
llvm::X86_64MCAsmInfoDarwin::X86_64MCAsmInfoDarwin
X86_64MCAsmInfoDarwin(const Triple &Triple)
Definition: X86MCAsmInfo.cpp:76
llvm::X86MCAsmInfoGNUCOFF::X86MCAsmInfoGNUCOFF
X86MCAsmInfoGNUCOFF(const Triple &Triple)
Definition: X86MCAsmInfo.cpp:155
llvm::Triple
Triple - Helper class for working with autoconf configuration names.
Definition: Triple.h:45
llvm::X86MCAsmInfoMicrosoftMASM
Definition: X86MCAsmInfo.h:51
llvm::X86MCAsmInfoDarwin::X86MCAsmInfoDarwin
X86MCAsmInfoDarwin(const Triple &Triple)
Definition: X86MCAsmInfo.cpp:39
llvm::X86MCAsmInfoMicrosoftMASM::X86MCAsmInfoMicrosoftMASM
X86MCAsmInfoMicrosoftMASM(const Triple &Triple)
Definition: X86MCAsmInfo.cpp:142
llvm::MCAsmInfoMicrosoft
Definition: MCAsmInfoCOFF.h:23
llvm::MCStreamer
Streaming machine code generation interface.
Definition: MCStreamer.h:199
llvm::X86ELFMCAsmInfo
Definition: X86MCAsmInfo.h:37
llvm::X86ELFMCAsmInfo::X86ELFMCAsmInfo
X86ELFMCAsmInfo(const Triple &Triple)
Definition: X86MCAsmInfo.cpp:82
llvm::X86_64MCAsmInfoDarwin::getExprForPersonalitySymbol
const MCExpr * getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding, MCStreamer &Streamer) const override
Definition: X86MCAsmInfo.cpp:106
llvm::X86MCAsmInfoMicrosoft::X86MCAsmInfoMicrosoft
X86MCAsmInfoMicrosoft(const Triple &Triple)
Definition: X86MCAsmInfo.cpp:118
llvm::MCAsmInfoDarwin
Definition: MCAsmInfoDarwin.h:21
MCAsmInfoELF.h
llvm::X86MCAsmInfoDarwin
Definition: X86MCAsmInfo.h:23
MCAsmInfoCOFF.h
llvm::X86_64MCAsmInfoDarwin
Definition: X86MCAsmInfo.h:30
llvm::MCExpr
Base class for the full range of assembler expressions which are needed for parsing.
Definition: MCExpr.h:35
llvm::MCAsmInfoGNUCOFF
Definition: MCAsmInfoCOFF.h:30
llvm::X86MCAsmInfoGNUCOFF
Definition: X86MCAsmInfo.h:58