LLVM  3.7.0
X86MCAsmInfo.h
Go to the documentation of this file.
1 //===-- X86MCAsmInfo.h - X86 asm properties --------------------*- C++ -*--===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the declaration of the X86MCAsmInfo class.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCASMINFO_H
15 #define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCASMINFO_H
16 
17 #include "llvm/MC/MCAsmInfo.h"
18 #include "llvm/MC/MCAsmInfoCOFF.h"
20 #include "llvm/MC/MCAsmInfoELF.h"
21 
22 namespace llvm {
23  class Triple;
24 
26  virtual void anchor();
27 
28  public:
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 
39  class X86ELFMCAsmInfo : public MCAsmInfoELF {
40  void anchor() override;
41  public:
42  explicit X86ELFMCAsmInfo(const Triple &Triple);
43  };
44 
46  void anchor() override;
47  public:
48  explicit X86MCAsmInfoMicrosoft(const Triple &Triple);
49  };
50 
52  void anchor() override;
53  public:
54  explicit X86MCAsmInfoGNUCOFF(const Triple &Triple);
55  };
56 } // namespace llvm
57 
58 #endif
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Definition: MCSymbol.h:39
const MCExpr * getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding, MCStreamer &Streamer) const override
X86_64MCAsmInfoDarwin(const Triple &Triple)
Base class for the full range of assembler expressions which are needed for parsing.
Definition: MCExpr.h:33
X86MCAsmInfoMicrosoft(const Triple &Triple)
Streaming machine code generation interface.
Definition: MCStreamer.h:157
X86ELFMCAsmInfo(const Triple &Triple)
Triple - Helper class for working with autoconf configuration names.
Definition: Triple.h:44
X86MCAsmInfoDarwin(const Triple &Triple)
X86MCAsmInfoGNUCOFF(const Triple &Triple)