1 // CodeGen/RuntimeLibcallSignatures.h - R.T. Lib. Call Signatures -*- 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 provides signature information for runtime libcalls.
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_RUNTIME_LIBCALL_SIGNATURES_H
16 #define LLVM_LIB_TARGET_WEBASSEMBLY_RUNTIME_LIBCALL_SIGNATURES_H
18 #include "MCTargetDesc/WebAssemblyMCTargetDesc.h"
19 #include "llvm/ADT/SmallVector.h"
20 #include "llvm/CodeGen/RuntimeLibcalls.h"
24 class WebAssemblySubtarget;
26 extern void GetSignature(const WebAssemblySubtarget &Subtarget,
28 SmallVectorImpl<wasm::ValType> &Rets,
29 SmallVectorImpl<wasm::ValType> &Params);
31 extern void GetSignature(const WebAssemblySubtarget &Subtarget,
32 const char *Name, SmallVectorImpl<wasm::ValType> &Rets,
33 SmallVectorImpl<wasm::ValType> &Params);
35 } // end namespace llvm