LLVM  3.7.0
WebAssemblyMachineFunctionInfo.h
Go to the documentation of this file.
1 // WebAssemblyMachineFuctionInfo.h-WebAssembly machine function info -*- 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 declares WebAssembly-specific per-machine-function
12 /// information.
13 ///
14 //===----------------------------------------------------------------------===//
15 
16 #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYMACHINEFUNCTIONINFO_H
17 #define LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYMACHINEFUNCTIONINFO_H
18 
22 
23 namespace llvm {
24 
25 /// This class is derived from MachineFunctionInfo and contains private
26 /// WebAssembly-specific information for each MachineFunction.
28  MachineFunction &MF;
29 
30 public:
31  explicit WebAssemblyFunctionInfo(MachineFunction &MF) : MF(MF) {}
32  ~WebAssemblyFunctionInfo() override;
33 };
34 
35 } // end namespace llvm
36 
37 #endif
MachineFunctionInfo - This class can be derived from and used by targets to hold private target-speci...
This file contains the WebAssembly implementation of the WebAssemblyRegisterInfo class.
This class is derived from MachineFunctionInfo and contains private WebAssembly-specific information ...