LLVM  10.0.0svn
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/MCAsmInfo.h"
17 #include "llvm/MC/MCAsmInfoCOFF.h"
19 #include "llvm/MC/MCAsmInfoELF.h"
20 
21 namespace llvm {
22 class Triple;
23 
25  virtual void anchor();
26 
27 public:
28  explicit X86MCAsmInfoDarwin(const Triple &Triple);
29 };
30 
32  explicit X86_64MCAsmInfoDarwin(const Triple &Triple);
33  const MCExpr *
34  getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding,
35  MCStreamer &Streamer) const override;
36 };
37 
38 class X86ELFMCAsmInfo : public MCAsmInfoELF {
39  void anchor() override;
40 
41 public:
42  explicit X86ELFMCAsmInfo(const Triple &Triple);
43 };
44 
46  void anchor() override;
47 
48 public:
49  explicit X86MCAsmInfoMicrosoft(const Triple &Triple);
50 };
51 
53  void anchor() override;
54 
55 public:
56  explicit X86MCAsmInfoGNUCOFF(const Triple &Triple);
57 };
58 } // namespace llvm
59 
60 #endif
This class represents lattice values for constants.
Definition: AllocatorList.h:23
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Definition: MCSymbol.h:41
virtual const MCExpr * getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding, MCStreamer &Streamer) const
Definition: MCAsmInfo.cpp:82
Base class for the full range of assembler expressions which are needed for parsing.
Definition: MCExpr.h:35
Streaming machine code generation interface.
Definition: MCStreamer.h:189
Triple - Helper class for working with autoconf configuration names.
Definition: Triple.h:43
X86MCAsmInfoDarwin(const Triple &Triple)