llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc
Andy Wingo 107c3a12d6 [WebAssembly] Implement ref.null
This patch adds a new "heap type" operand kind to the WebAssembly MC
layer, used by ref.null. Currently the possible values are "extern" and
"func"; when typed function references come, though, this operand may be
a type index.

Note that the "heap type" production is still known as "refedtype" in
the draft proposal; changing its name in the spec is
ongoing (https://github.com/WebAssembly/reference-types/issues/123).

The register form of ref.null is still untested.

Differential Revision: https://reviews.llvm.org/D90608
2020-11-03 10:46:23 -08:00
..
CMakeLists.txt
LLVMBuild.txt
WebAssemblyAsmBackend.cpp [MC] Default MCAsmBackend::mayNeedRelaxation() to false 2020-08-02 22:13:59 -07:00
WebAssemblyFixupKinds.h [WebAssembly] Adding 64-bit versions of all load & store ops. 2020-06-15 08:31:56 -07:00
WebAssemblyInstPrinter.cpp [WebAssembly] Implement ref.null 2020-11-03 10:46:23 -08:00
WebAssemblyInstPrinter.h [WebAssembly] Implement ref.null 2020-11-03 10:46:23 -08:00
WebAssemblyMCAsmInfo.cpp [WebAssembly] Fixed DWARF DW_AT_low_pc encoded as 64-bit in wasm64 2020-10-30 16:42:48 -07:00
WebAssemblyMCAsmInfo.h
WebAssemblyMCCodeEmitter.cpp [WebAssembly] Implement ref.null 2020-11-03 10:46:23 -08:00
WebAssemblyMCTargetDesc.cpp [X86][MC][Target] Initial backend support a tune CPU to support -mtune 2020-08-14 15:31:50 -07:00
WebAssemblyMCTargetDesc.h [WebAssembly] Implement ref.null 2020-11-03 10:46:23 -08:00
WebAssemblyTargetStreamer.cpp [WebAssembly] Added .tabletype to asm and multiple table support in obj files 2020-10-13 07:52:23 -07:00
WebAssemblyTargetStreamer.h [WebAssembly] Added .tabletype to asm and multiple table support in obj files 2020-10-13 07:52:23 -07:00
WebAssemblyWasmObjectWriter.cpp [WebAssembly] Fixed DWARF DW_AT_low_pc encoded as 64-bit in wasm64 2020-10-30 16:42:48 -07:00