LLVM  6.0.0svn
WebAssemblyRuntimeLibcallSignatures.h
Go to the documentation of this file.
1 // CodeGen/RuntimeLibcallSignatures.h - R.T. Lib. Call Signatures -*- 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 provides signature information for runtime libcalls.
12 ///
13 //===----------------------------------------------------------------------===//
14 
15 #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_RUNTIME_LIBCALL_SIGNATURES_H
16 #define LLVM_LIB_TARGET_WEBASSEMBLY_RUNTIME_LIBCALL_SIGNATURES_H
17 
19 #include "llvm/ADT/SmallVector.h"
21 
22 namespace llvm {
23 
24 class WebAssemblySubtarget;
25 
26 extern void GetSignature(const WebAssemblySubtarget &Subtarget,
27  RTLIB::Libcall LC,
28  SmallVectorImpl<wasm::ValType> &Rets,
29  SmallVectorImpl<wasm::ValType> &Params);
30 
31 extern void GetSignature(const WebAssemblySubtarget &Subtarget,
32  const char *Name, SmallVectorImpl<wasm::ValType> &Rets,
33  SmallVectorImpl<wasm::ValType> &Params);
34 
35 } // end namespace llvm
36 
37 #endif
Compute iterated dominance frontiers using a linear time algorithm.
Definition: AllocatorList.h:24
Libcall
RTLIB::Libcall enum - This enum defines all of the runtime library calls the backend can emit...
This file provides WebAssembly-specific target descriptions.
void GetSignature(const WebAssemblySubtarget &Subtarget, RTLIB::Libcall LC, SmallVectorImpl< wasm::ValType > &Rets, SmallVectorImpl< wasm::ValType > &Params)