[WebAssembly] Initial WebAssembly backend
[oota-llvm.git] / lib / Target / WebAssembly / WebAssemblyRegisterInfo.h
1 // WebAssemblyRegisterInfo.h - WebAssembly Register Information Impl -*- 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 WebAssembly implementation of the
12 /// WebAssemblyRegisterInfo class.
13 ///
14 //===----------------------------------------------------------------------===//
15
16 #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYREGISTERINFO_H
17 #define LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYREGISTERINFO_H
18
19 namespace llvm {
20
21 class MachineFunction;
22 class RegScavenger;
23 class TargetRegisterClass;
24 class Triple;
25
26 class WebAssemblyRegisterInfo final {
27   const Triple &TT;
28
29 public:
30   explicit WebAssemblyRegisterInfo(const Triple &TT);
31 };
32
33 } // end namespace llvm
34
35 #endif