llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc
Thomas Lively ca9ba76481 [WebAssembly] Replace all calls with generalized multivalue calls
Summary:
Extends the multivalue call infrastructure to tail calls, removes all
legacy calls specialized for particular result types, and removes the
CallIndirectFixup pass, since all indirect call arguments are now
fixed up directly in the post-insertion hook.

In order to keep supporting pretty-printed defs and uses in test
expectations, MCInstLower now inserts an immediate containing the
number of defs for each call and call_indirect. The InstPrinter is
updated to query this immediate if it is present and determine which
MCOperands are defs and uses accordingly.

Depends on D72902.

Reviewers: aheejin

Subscribers: dschuff, mgorny, sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74192
2020-02-18 15:55:20 -08:00
..
CMakeLists.txt [cmake] Explicitly mark libraries defined in lib/ as "Component Libraries" 2019-11-21 10:48:08 -08:00
LLVMBuild.txt [WebAssembly] Move InstPrinter files to MCTargetDesc. NFC 2019-05-13 03:32:41 +00:00
WebAssemblyAsmBackend.cpp [WebAssembly] Make __attribute__((used)) not imply export. 2019-08-29 22:40:00 +00:00
WebAssemblyFixupKinds.h
WebAssemblyInstPrinter.cpp [WebAssembly] Replace all calls with generalized multivalue calls 2020-02-18 15:55:20 -08:00
WebAssemblyInstPrinter.h [WebAssembly] Replace all calls with generalized multivalue calls 2020-02-18 15:55:20 -08:00
WebAssemblyMCAsmInfo.cpp [Mips] Use appropriate private label prefix based on Mips ABI 2019-10-23 12:24:35 +02:00
WebAssemblyMCAsmInfo.h [Mips] Use appropriate private label prefix based on Mips ABI 2019-10-23 12:24:35 +02:00
WebAssemblyMCCodeEmitter.cpp [WebAssembly] Allow multivalue types in block signature operands 2019-10-15 18:28:22 +00:00
WebAssemblyMCTargetDesc.cpp CMake: Make most target symbols hidden by default 2020-01-14 19:46:52 -08:00
WebAssemblyMCTargetDesc.h [WebAssembly] Replace all calls with generalized multivalue calls 2020-02-18 15:55:20 -08:00
WebAssemblyTargetStreamer.cpp [MCStreamer] De-capitalize EmitValue EmitIntValue{,InHex} 2020-02-14 23:08:40 -08:00
WebAssemblyTargetStreamer.h [WebAssembly] Add new `export_name` clang attribute for controlling wasm export names 2019-12-11 11:54:57 -08:00
WebAssemblyWasmObjectWriter.cpp [WebAssembly] Make __attribute__((used)) not imply export. 2019-08-29 22:40:00 +00:00