1 //===-- WebAssembly.h - Top-level interface for WebAssembly ----*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
11 /// \brief This file contains the entry points for global functions defined in
12 /// the LLVM WebAssembly back-end.
14 //===----------------------------------------------------------------------===//
16 #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLY_H
17 #define LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLY_H
19 #include "llvm/Support/CodeGen.h"
23 class WebAssemblyTargetMachine;
26 FunctionPass *createWebAssemblyISelDag(WebAssemblyTargetMachine &TM,
27 CodeGenOpt::Level OptLevel);
29 FunctionPass *createWebAssemblyCFGStackify();
31 } // end namespace llvm