LLVM  6.0.0svn
Enumerations | Variables
WebAssemblyRuntimeLibcallSignatures.cpp File Reference

This file contains signature information for runtime libcalls. More...

#include "WebAssemblyRuntimeLibcallSignatures.h"
#include "WebAssemblySubtarget.h"
#include "llvm/CodeGen/RuntimeLibcalls.h"
Include dependency graph for WebAssemblyRuntimeLibcallSignatures.cpp:

Go to the source code of this file.

Enumerations

enum  RuntimeLibcallSignature
 

Variables

static const RuntimeLibcallSignature RuntimeLibcallSignatures [RTLIB::UNKNOWN_LIBCALL]
 
static const charRuntimeLibcallNames [RTLIB::UNKNOWN_LIBCALL]
 

Detailed Description

This file contains signature information for runtime libcalls.

CodeGen uses external symbols, which it refers to by name. The WebAssembly target needs type information for all functions. This file contains a big table providing type signatures for all runtime library functions that LLVM uses.

This is currently a fairly heavy-handed solution.

Definition in file WebAssemblyRuntimeLibcallSignatures.cpp.

Enumeration Type Documentation

◆ RuntimeLibcallSignature

Definition at line 30 of file WebAssemblyRuntimeLibcallSignatures.cpp.

Variable Documentation

◆ RuntimeLibcallNames

const char* RuntimeLibcallNames[RTLIB::UNKNOWN_LIBCALL]
static

Definition at line 557 of file WebAssemblyRuntimeLibcallSignatures.cpp.

Referenced by llvm::GetSignature().

◆ RuntimeLibcallSignatures

const RuntimeLibcallSignature RuntimeLibcallSignatures[RTLIB::UNKNOWN_LIBCALL]
static

Definition at line 90 of file WebAssemblyRuntimeLibcallSignatures.cpp.

Referenced by llvm::GetSignature().