1 // WebAssemblyInstrInfo.td-Describe the WebAssembly Instructions-*- tablegen -*-
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // WebAssembly Instruction definitions.
12 //===----------------------------------------------------------------------===//
14 //===----------------------------------------------------------------------===//
15 // WebAssembly Instruction Predicate Definitions.
16 //===----------------------------------------------------------------------===//
18 def HasAddr32 : Predicate<"!Subtarget->hasAddr64()">;
19 def HasAddr64 : Predicate<"Subtarget->hasAddr64()">;
20 def HasSIMD128 : Predicate<"Subtarget->hasSIMD128()">,
21 AssemblerPredicate<"FeatureSIMD128", "simd128">;
23 //===----------------------------------------------------------------------===//
24 // WebAssembly-specific DAG Node Types.
25 //===----------------------------------------------------------------------===//
27 //===----------------------------------------------------------------------===//
28 // WebAssembly-specific DAG Nodes.
29 //===----------------------------------------------------------------------===//
31 //===----------------------------------------------------------------------===//
32 // WebAssembly-specific Operands.
33 //===----------------------------------------------------------------------===//
35 //===----------------------------------------------------------------------===//
36 // WebAssembly Instruction Format Definitions.
37 //===----------------------------------------------------------------------===//
39 include "WebAssemblyInstrFormats.td"
41 //===----------------------------------------------------------------------===//
42 // Additional sets of instructions.
43 //===----------------------------------------------------------------------===//
45 include "WebAssemblyInstrAtomics.td"
46 include "WebAssemblyInstrSIMD.td"