Dan Gohman | 10e730a | 2015-06-29 23:51:55 +0000 | [diff] [blame] | 1 | //===-- WebAssembly.h - Top-level interface for WebAssembly ----*- 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 entry points for global functions defined in |
| 12 | /// the LLVM WebAssembly back-end. |
| 13 | /// |
| 14 | //===----------------------------------------------------------------------===// |
| 15 | |
| 16 | #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLY_H |
| 17 | #define LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLY_H |
| 18 | |
| 19 | #include "llvm/Support/CodeGen.h" |
| 20 | |
| 21 | namespace llvm { |
| 22 | |
| 23 | class WebAssemblyTargetMachine; |
| 24 | class FunctionPass; |
| 25 | |
| 26 | FunctionPass *createWebAssemblyISelDag(WebAssemblyTargetMachine &TM, |
| 27 | CodeGenOpt::Level OptLevel); |
| 28 | |
Dan Gohman | 950a13c | 2015-09-16 16:51:30 +0000 | [diff] [blame] | 29 | FunctionPass *createWebAssemblyCFGStackify(); |
| 30 | |
JF Bastien | 53bd975 | 2015-10-16 16:35:49 +0000 | [diff] [blame] | 31 | FunctionPass *createWebAssemblyRelooper(); |
| 32 | |
Dan Gohman | 10e730a | 2015-06-29 23:51:55 +0000 | [diff] [blame] | 33 | } // end namespace llvm |
| 34 | |
| 35 | #endif |