blob: 001f9f9d4a721eb9a43faddd6bab5536a2a4fc79 [file] [log] [blame]
Dan Gohman10e730a2015-06-29 23:51:55 +00001//===-- 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
21namespace llvm {
22
23class WebAssemblyTargetMachine;
24class FunctionPass;
25
Dan Gohman81719f82015-11-25 16:55:01 +000026FunctionPass *createWebAssemblyOptimizeReturned();
27
Dan Gohman10e730a2015-06-29 23:51:55 +000028FunctionPass *createWebAssemblyISelDag(WebAssemblyTargetMachine &TM,
29 CodeGenOpt::Level OptLevel);
30
Dan Gohman81719f82015-11-25 16:55:01 +000031FunctionPass *createWebAssemblyStoreResults();
Dan Gohman1462faa2015-11-16 16:18:28 +000032FunctionPass *createWebAssemblyRegStackify();
33FunctionPass *createWebAssemblyRegColoring();
Dan Gohman950a13c2015-09-16 16:51:30 +000034FunctionPass *createWebAssemblyCFGStackify();
Dan Gohmancf4748f2015-11-12 17:04:33 +000035FunctionPass *createWebAssemblyRegNumbering();
Dan Gohman81719f82015-11-25 16:55:01 +000036FunctionPass *createWebAssemblyPeephole();
Dan Gohman950a13c2015-09-16 16:51:30 +000037
JF Bastien53bd9752015-10-16 16:35:49 +000038FunctionPass *createWebAssemblyRelooper();
39
Dan Gohman10e730a2015-06-29 23:51:55 +000040} // end namespace llvm
41
42#endif