1 // CodeGen/RuntimeLibcallSignatures.h - R.T. Lib. Call Signatures -*- C++ -*--//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 /// This file provides signature information for runtime libcalls.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_RUNTIME_LIBCALL_SIGNATURES_H
15 #define LLVM_LIB_TARGET_WEBASSEMBLY_RUNTIME_LIBCALL_SIGNATURES_H
17 #include "MCTargetDesc/WebAssemblyMCTargetDesc.h"
18 #include "llvm/ADT/SmallVector.h"
19 #include "llvm/CodeGen/RuntimeLibcalls.h"
23 class WebAssemblySubtarget
;
25 extern void getLibcallSignature(const WebAssemblySubtarget
&Subtarget
,
27 SmallVectorImpl
<wasm::ValType
> &Rets
,
28 SmallVectorImpl
<wasm::ValType
> &Params
);
30 extern void getLibcallSignature(const WebAssemblySubtarget
&Subtarget
,
32 SmallVectorImpl
<wasm::ValType
> &Rets
,
33 SmallVectorImpl
<wasm::ValType
> &Params
);
35 } // end namespace llvm