]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCAsmInfo.h
Import mandoc 1.14.4
[FreeBSD/FreeBSD.git] / contrib / llvm / lib / Target / WebAssembly / MCTargetDesc / WebAssemblyMCAsmInfo.h
1 //===-- WebAssemblyMCAsmInfo.h - WebAssembly 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 /// \file
11 /// \brief This file contains the declaration of the WebAssemblyMCAsmInfo class.
12 ///
13 //===----------------------------------------------------------------------===//
14
15 #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_MCTARGETDESC_WEBASSEMBLYMCASMINFO_H
16 #define LLVM_LIB_TARGET_WEBASSEMBLY_MCTARGETDESC_WEBASSEMBLYMCASMINFO_H
17
18 #include "llvm/MC/MCAsmInfoELF.h"
19 #include "llvm/MC/MCAsmInfoWasm.h"
20
21 namespace llvm {
22
23 class Triple;
24
25 class WebAssemblyMCAsmInfoELF final : public MCAsmInfoELF {
26 public:
27   explicit WebAssemblyMCAsmInfoELF(const Triple &T);
28   ~WebAssemblyMCAsmInfoELF() override;
29 };
30
31 class WebAssemblyMCAsmInfo final : public MCAsmInfoWasm {
32 public:
33   explicit WebAssemblyMCAsmInfo(const Triple &T);
34   ~WebAssemblyMCAsmInfo() override;
35 };
36
37 } // end namespace llvm
38
39 #endif