LLVM  8.0.1
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 /// 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 GetLibcallSignature(const WebAssemblySubtarget &Subtarget,
27  RTLIB::Libcall LC,
28  SmallVectorImpl<wasm::ValType> &Rets,
29  SmallVectorImpl<wasm::ValType> &Params);
30 
31 extern void GetLibcallSignature(const WebAssemblySubtarget &Subtarget,
32  const char *Name,
33  SmallVectorImpl<wasm::ValType> &Rets,
34  SmallVectorImpl<wasm::ValType> &Params);
35 
36 } // end namespace llvm
37 
38 #endif
This class represents lattice values for constants.
Definition: AllocatorList.h:24
Libcall
RTLIB::Libcall enum - This enum defines all of the runtime library calls the backend can emit...
amdgpu Simplify well known AMD library false Value Value const Twine & Name
This file provides WebAssembly-specific target descriptions.
void GetLibcallSignature(const WebAssemblySubtarget &Subtarget, RTLIB::Libcall LC, SmallVectorImpl< wasm::ValType > &Rets, SmallVectorImpl< wasm::ValType > &Params)