From 10e730a2634ed185b179868485bac44b4f2ab956 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 29 Jun 2015 23:51:55 +0000 Subject: [WebAssembly] Initial WebAssembly backend This WebAssembly backend is just a skeleton at this time and is not yet functional. llvm-svn: 241022 --- .../Target/WebAssembly/WebAssemblyRegisterInfo.h | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 llvm/lib/Target/WebAssembly/WebAssemblyRegisterInfo.h (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyRegisterInfo.h') diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyRegisterInfo.h b/llvm/lib/Target/WebAssembly/WebAssemblyRegisterInfo.h new file mode 100644 index 00000000000..55300287a51 --- /dev/null +++ b/llvm/lib/Target/WebAssembly/WebAssemblyRegisterInfo.h @@ -0,0 +1,35 @@ +// WebAssemblyRegisterInfo.h - WebAssembly Register Information Impl -*- C++ -*- +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +/// +/// \file +/// \brief This file contains the WebAssembly implementation of the +/// WebAssemblyRegisterInfo class. +/// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYREGISTERINFO_H +#define LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYREGISTERINFO_H + +namespace llvm { + +class MachineFunction; +class RegScavenger; +class TargetRegisterClass; +class Triple; + +class WebAssemblyRegisterInfo final { + const Triple &TT; + +public: + explicit WebAssemblyRegisterInfo(const Triple &TT); +}; + +} // end namespace llvm + +#endif -- cgit v1.2.3