diff options
| author | JF Bastien <jfb@google.com> | 2015-07-10 18:23:10 +0000 |
|---|---|---|
| committer | JF Bastien <jfb@google.com> | 2015-07-10 18:23:10 +0000 |
| commit | 5ca0baca4a3b03eb5d8a2303bd0fb67b9d19bef7 (patch) | |
| tree | dcceee28eaa2fc083595eb237bec12306f923b82 /llvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td | |
| parent | f6bc8667cd05c9a9f8d2eedbb23faf6c6b8d443f (diff) | |
| download | bcm5719-llvm-5ca0baca4a3b03eb5d8a2303bd0fb67b9d19bef7.tar.gz bcm5719-llvm-5ca0baca4a3b03eb5d8a2303bd0fb67b9d19bef7.zip | |
WebAssembly: basic instructions todo, and basic register info.
Summary:
This code is based on AArch64 for modern backend good practice, and NVPTX for
virtual ISA concerns.
Reviewers: sunfish
Subscribers: aemerson, llvm-commits, jfb
Differential Revision: http://reviews.llvm.org/D11070
llvm-svn: 241923
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td')
| -rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td b/llvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td new file mode 100644 index 00000000000..6b5b6cd5417 --- /dev/null +++ b/llvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td @@ -0,0 +1,21 @@ +//===- WebAssemblyInstrCall.td-WebAssembly Call codegen support -*- tablegen -*- +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +/// +/// \file +/// \brief WebAssembly Call operand code-gen constructs. +/// +//===----------------------------------------------------------------------===// + +/* + * TODO(jfb): Add the following. + * + * call_direct: call function directly + * call_indirect: call function indirectly + * addressof: obtain a function pointer value for a given function + */ |

