| 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 |  | 
| Dan Gohman | 81719f8 | 2015-11-25 16:55:01 +0000 | [diff] [blame] | 26 | FunctionPass *createWebAssemblyOptimizeReturned(); | 
|  | 27 |  | 
| Dan Gohman | 10e730a | 2015-06-29 23:51:55 +0000 | [diff] [blame] | 28 | FunctionPass *createWebAssemblyISelDag(WebAssemblyTargetMachine &TM, | 
|  | 29 | CodeGenOpt::Level OptLevel); | 
| Dan Gohman | 1cf96c0 | 2015-12-09 16:23:59 +0000 | [diff] [blame] | 30 | FunctionPass *createWebAssemblyArgumentMove(); | 
| Dan Gohman | bb37224 | 2016-01-26 03:39:31 +0000 | [diff] [blame] | 31 | FunctionPass *createWebAssemblySetP2AlignOperands(); | 
| Dan Gohman | 10e730a | 2015-06-29 23:51:55 +0000 | [diff] [blame] | 32 |  | 
| Dan Gohman | 81719f8 | 2015-11-25 16:55:01 +0000 | [diff] [blame] | 33 | FunctionPass *createWebAssemblyStoreResults(); | 
| Dan Gohman | 1462faa | 2015-11-16 16:18:28 +0000 | [diff] [blame] | 34 | FunctionPass *createWebAssemblyRegStackify(); | 
|  | 35 | FunctionPass *createWebAssemblyRegColoring(); | 
| Derek Schuff | 9769deb | 2015-12-11 23:49:46 +0000 | [diff] [blame] | 36 | FunctionPass *createWebAssemblyPEI(); | 
| Dan Gohman | d7a2eea | 2016-03-09 02:01:14 +0000 | [diff] [blame] | 37 | FunctionPass *createWebAssemblyFixIrreducibleControlFlow(); | 
| Dan Gohman | 950a13c | 2015-09-16 16:51:30 +0000 | [diff] [blame] | 38 | FunctionPass *createWebAssemblyCFGStackify(); | 
| Dan Gohman | f0b165a | 2015-12-05 03:03:35 +0000 | [diff] [blame] | 39 | FunctionPass *createWebAssemblyLowerBrUnless(); | 
| Dan Gohman | cf4748f | 2015-11-12 17:04:33 +0000 | [diff] [blame] | 40 | FunctionPass *createWebAssemblyRegNumbering(); | 
| Dan Gohman | 81719f8 | 2015-11-25 16:55:01 +0000 | [diff] [blame] | 41 | FunctionPass *createWebAssemblyPeephole(); | 
| Dan Gohman | 950a13c | 2015-09-16 16:51:30 +0000 | [diff] [blame] | 42 |  | 
| Dan Gohman | 10e730a | 2015-06-29 23:51:55 +0000 | [diff] [blame] | 43 | } // end namespace llvm | 
|  | 44 |  | 
|  | 45 | #endif |