WebAssemblyInstrInfo.td 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438
  1. // WebAssemblyInstrInfo.td-Describe the WebAssembly Instructions-*- tablegen -*-
  2. //
  3. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  4. // See https://llvm.org/LICENSE.txt for license information.
  5. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  6. //
  7. //===----------------------------------------------------------------------===//
  8. ///
  9. /// \file
  10. /// WebAssembly Instruction definitions.
  11. ///
  12. //===----------------------------------------------------------------------===//
  13. //===----------------------------------------------------------------------===//
  14. // WebAssembly Instruction Predicate Definitions.
  15. //===----------------------------------------------------------------------===//
  16. def IsPIC : Predicate<"TM.isPositionIndependent()">;
  17. def IsNotPIC : Predicate<"!TM.isPositionIndependent()">;
  18. def HasAddr32 : Predicate<"!Subtarget->hasAddr64()">;
  19. def HasAddr64 : Predicate<"Subtarget->hasAddr64()">;
  20. def HasSIMD128 :
  21. Predicate<"Subtarget->hasSIMD128()">,
  22. AssemblerPredicate<(all_of FeatureSIMD128), "simd128">;
  23. def HasRelaxedSIMD :
  24. Predicate<"Subtarget->hasRelaxedSIMD()">,
  25. AssemblerPredicate<(all_of FeatureRelaxedSIMD), "relaxed-simd">;
  26. def HasAtomics :
  27. Predicate<"Subtarget->hasAtomics()">,
  28. AssemblerPredicate<(all_of FeatureAtomics), "atomics">;
  29. def HasMultivalue :
  30. Predicate<"Subtarget->hasMultivalue()">,
  31. AssemblerPredicate<(all_of FeatureMultivalue), "multivalue">;
  32. def HasNontrappingFPToInt :
  33. Predicate<"Subtarget->hasNontrappingFPToInt()">,
  34. AssemblerPredicate<(all_of FeatureNontrappingFPToInt), "nontrapping-fptoint">;
  35. def NotHasNontrappingFPToInt :
  36. Predicate<"!Subtarget->hasNontrappingFPToInt()">,
  37. AssemblerPredicate<(all_of (not FeatureNontrappingFPToInt)), "nontrapping-fptoint">;
  38. def HasSignExt :
  39. Predicate<"Subtarget->hasSignExt()">,
  40. AssemblerPredicate<(all_of FeatureSignExt), "sign-ext">;
  41. def HasTailCall :
  42. Predicate<"Subtarget->hasTailCall()">,
  43. AssemblerPredicate<(all_of FeatureTailCall), "tail-call">;
  44. def HasExceptionHandling :
  45. Predicate<"Subtarget->hasExceptionHandling()">,
  46. AssemblerPredicate<(all_of FeatureExceptionHandling), "exception-handling">;
  47. def HasBulkMemory :
  48. Predicate<"Subtarget->hasBulkMemory()">,
  49. AssemblerPredicate<(all_of FeatureBulkMemory), "bulk-memory">;
  50. def HasReferenceTypes :
  51. Predicate<"Subtarget->hasReferenceTypes()">,
  52. AssemblerPredicate<(all_of FeatureReferenceTypes), "reference-types">;
  53. def HasExtendedConst :
  54. Predicate<"Subtarget->hasExtendedConst()">,
  55. AssemblerPredicate<(all_of FeatureExtendedConst), "extended-const">;
  56. //===----------------------------------------------------------------------===//
  57. // WebAssembly-specific DAG Node Types.
  58. //===----------------------------------------------------------------------===//
  59. def SDT_WebAssemblyCallSeqStart : SDCallSeqStart<[SDTCisVT<0, iPTR>,
  60. SDTCisVT<1, iPTR>]>;
  61. def SDT_WebAssemblyCallSeqEnd :
  62. SDCallSeqEnd<[SDTCisVT<0, iPTR>, SDTCisVT<1, iPTR>]>;
  63. def SDT_WebAssemblyBrTable : SDTypeProfile<0, -1, [SDTCisPtrTy<0>]>;
  64. def SDT_WebAssemblyArgument : SDTypeProfile<1, 1, [SDTCisVT<1, i32>]>;
  65. def SDT_WebAssemblyLocalGet : SDTypeProfile<1, 1, [SDTCisVT<1, i32>]>;
  66. def SDT_WebAssemblyLocalSet : SDTypeProfile<0, 2, [SDTCisVT<0, i32>]>;
  67. def SDT_WebAssemblyReturn : SDTypeProfile<0, -1, []>;
  68. def SDT_WebAssemblyWrapper : SDTypeProfile<1, 1, [SDTCisSameAs<0, 1>,
  69. SDTCisPtrTy<0>]>;
  70. def SDT_WebAssemblyGlobalGet : SDTypeProfile<1, 1, [SDTCisPtrTy<1>]>;
  71. def SDT_WebAssemblyGlobalSet : SDTypeProfile<0, 2, [SDTCisPtrTy<1>]>;
  72. //===----------------------------------------------------------------------===//
  73. // WebAssembly-specific DAG Nodes.
  74. //===----------------------------------------------------------------------===//
  75. def WebAssemblycallseq_start :
  76. SDNode<"ISD::CALLSEQ_START", SDT_WebAssemblyCallSeqStart,
  77. [SDNPHasChain, SDNPOutGlue]>;
  78. def WebAssemblycallseq_end :
  79. SDNode<"ISD::CALLSEQ_END", SDT_WebAssemblyCallSeqEnd,
  80. [SDNPHasChain, SDNPOptInGlue, SDNPOutGlue]>;
  81. def WebAssemblybr_table : SDNode<"WebAssemblyISD::BR_TABLE",
  82. SDT_WebAssemblyBrTable,
  83. [SDNPHasChain, SDNPVariadic]>;
  84. def WebAssemblyargument : SDNode<"WebAssemblyISD::ARGUMENT",
  85. SDT_WebAssemblyArgument>;
  86. def WebAssemblyreturn : SDNode<"WebAssemblyISD::RETURN",
  87. SDT_WebAssemblyReturn,
  88. [SDNPHasChain, SDNPVariadic]>;
  89. def WebAssemblyWrapper : SDNode<"WebAssemblyISD::Wrapper",
  90. SDT_WebAssemblyWrapper>;
  91. def WebAssemblyWrapperREL : SDNode<"WebAssemblyISD::WrapperREL",
  92. SDT_WebAssemblyWrapper>;
  93. def WebAssemblyglobal_get :
  94. SDNode<"WebAssemblyISD::GLOBAL_GET", SDT_WebAssemblyGlobalGet,
  95. [SDNPHasChain, SDNPMayLoad, SDNPMemOperand]>;
  96. def WebAssemblyglobal_set :
  97. SDNode<"WebAssemblyISD::GLOBAL_SET", SDT_WebAssemblyGlobalSet,
  98. [SDNPHasChain, SDNPMayStore, SDNPMemOperand]>;
  99. def WebAssemblylocal_get :
  100. SDNode<"WebAssemblyISD::LOCAL_GET", SDT_WebAssemblyLocalGet,
  101. [SDNPHasChain, SDNPMayLoad]>;
  102. def WebAssemblylocal_set :
  103. SDNode<"WebAssemblyISD::LOCAL_SET", SDT_WebAssemblyLocalSet,
  104. [SDNPHasChain, SDNPMayStore]>;
  105. //===----------------------------------------------------------------------===//
  106. // WebAssembly-specific Operands.
  107. //===----------------------------------------------------------------------===//
  108. // Default Operand has AsmOperandClass "Imm" which is for integers (and
  109. // symbols), so specialize one for floats:
  110. class FPImmAsmOperand<ValueType ty> : AsmOperandClass {
  111. let Name = "FPImm" # ty;
  112. let PredicateMethod = "isFPImm";
  113. }
  114. class FPOperand<ValueType ty> : Operand<ty> {
  115. AsmOperandClass ParserMatchClass = FPImmAsmOperand<ty>;
  116. }
  117. let OperandNamespace = "WebAssembly" in {
  118. let OperandType = "OPERAND_BASIC_BLOCK" in
  119. def bb_op : Operand<OtherVT>;
  120. let OperandType = "OPERAND_LOCAL" in
  121. def local_op : Operand<i32>;
  122. let OperandType = "OPERAND_GLOBAL" in {
  123. // The operand to global instructions is always a 32-bit index.
  124. def global_op32 : Operand<i32>;
  125. // In PIC mode however, we temporarily represent this index as an external
  126. // symbol, which to LLVM is a pointer, so in wasm64 mode it is easiest to
  127. // pretend we use a 64-bit index for it.
  128. def global_op64 : Operand<i64>;
  129. }
  130. let OperandType = "OPERAND_I32IMM" in
  131. def i32imm_op : Operand<i32>;
  132. let OperandType = "OPERAND_I64IMM" in
  133. def i64imm_op : Operand<i64>;
  134. let OperandType = "OPERAND_F32IMM" in
  135. def f32imm_op : FPOperand<f32>;
  136. let OperandType = "OPERAND_F64IMM" in
  137. def f64imm_op : FPOperand<f64>;
  138. let OperandType = "OPERAND_VEC_I8IMM" in
  139. def vec_i8imm_op : Operand<i32>;
  140. let OperandType = "OPERAND_VEC_I16IMM" in
  141. def vec_i16imm_op : Operand<i32>;
  142. let OperandType = "OPERAND_VEC_I32IMM" in
  143. def vec_i32imm_op : Operand<i32>;
  144. let OperandType = "OPERAND_VEC_I64IMM" in
  145. def vec_i64imm_op : Operand<i64>;
  146. let OperandType = "OPERAND_FUNCTION32" in
  147. def function32_op : Operand<i32>;
  148. let OperandType = "OPERAND_TABLE" in
  149. def table32_op : Operand<i32>;
  150. let OperandType = "OPERAND_OFFSET32" in
  151. def offset32_op : Operand<i32>;
  152. let OperandType = "OPERAND_OFFSET64" in
  153. def offset64_op : Operand<i64>;
  154. let OperandType = "OPERAND_P2ALIGN" in {
  155. def P2Align : Operand<i32> {
  156. let PrintMethod = "printWebAssemblyP2AlignOperand";
  157. }
  158. let OperandType = "OPERAND_TAG" in
  159. def tag_op : Operand<i32>;
  160. } // OperandType = "OPERAND_P2ALIGN"
  161. let OperandType = "OPERAND_SIGNATURE" in
  162. def Signature : Operand<i32> {
  163. let PrintMethod = "printWebAssemblySignatureOperand";
  164. }
  165. let OperandType = "OPERAND_TYPEINDEX" in
  166. def TypeIndex : Operand<i32>;
  167. } // OperandNamespace = "WebAssembly"
  168. // TODO: Find more places to use this.
  169. def bool_node : PatLeaf<(i32 I32:$cond), [{
  170. return CurDAG->computeKnownBits(SDValue(N, 0)).countMinLeadingZeros() == 31;
  171. }]>;
  172. //===----------------------------------------------------------------------===//
  173. // WebAssembly Register to Stack instruction mapping
  174. //===----------------------------------------------------------------------===//
  175. class StackRel;
  176. def getStackOpcode : InstrMapping {
  177. let FilterClass = "StackRel";
  178. let RowFields = ["BaseName"];
  179. let ColFields = ["StackBased"];
  180. let KeyCol = ["0"];
  181. let ValueCols = [["1"]];
  182. }
  183. //===----------------------------------------------------------------------===//
  184. // WebAssembly Stack to Register instruction mapping
  185. //===----------------------------------------------------------------------===//
  186. class RegisterRel;
  187. def getRegisterOpcode : InstrMapping {
  188. let FilterClass = "RegisterRel";
  189. let RowFields = ["BaseName"];
  190. let ColFields = ["StackBased"];
  191. let KeyCol = ["1"];
  192. let ValueCols = [["0"]];
  193. }
  194. //===----------------------------------------------------------------------===//
  195. // WebAssembly 32 to 64-bit instruction mapping
  196. //===----------------------------------------------------------------------===//
  197. class Wasm64Rel;
  198. def getWasm64Opcode : InstrMapping {
  199. let FilterClass = "Wasm64Rel";
  200. let RowFields = ["Wasm32Name"];
  201. let ColFields = ["IsWasm64"];
  202. let KeyCol = ["0"];
  203. let ValueCols = [["1"]];
  204. }
  205. //===----------------------------------------------------------------------===//
  206. // WebAssembly Instruction Format Definitions.
  207. //===----------------------------------------------------------------------===//
  208. include "WebAssemblyInstrFormats.td"
  209. //===----------------------------------------------------------------------===//
  210. // Additional instructions.
  211. //===----------------------------------------------------------------------===//
  212. multiclass ARGUMENT<WebAssemblyRegClass rc, ValueType vt> {
  213. let hasSideEffects = 1, isCodeGenOnly = 1, Defs = []<Register>,
  214. Uses = [ARGUMENTS] in
  215. defm ARGUMENT_#vt :
  216. I<(outs rc:$res), (ins i32imm:$argno), (outs), (ins i32imm:$argno),
  217. [(set (vt rc:$res), (WebAssemblyargument timm:$argno))]>;
  218. }
  219. defm "": ARGUMENT<I32, i32>;
  220. defm "": ARGUMENT<I64, i64>;
  221. defm "": ARGUMENT<F32, f32>;
  222. defm "": ARGUMENT<F64, f64>;
  223. defm "": ARGUMENT<FUNCREF, funcref>;
  224. defm "": ARGUMENT<EXTERNREF, externref>;
  225. // local.get and local.set are not generated by instruction selection; they
  226. // are implied by virtual register uses and defs.
  227. multiclass LOCAL<WebAssemblyRegClass rc, Operand global_op> {
  228. let hasSideEffects = 0 in {
  229. // COPY is not an actual instruction in wasm, but since we allow local.get and
  230. // local.set to be implicit during most of codegen, we can have a COPY which
  231. // is actually a no-op because all the work is done in the implied local.get
  232. // and local.set. COPYs are eliminated (and replaced with
  233. // local.get/local.set) in the ExplicitLocals pass.
  234. let isAsCheapAsAMove = 1, isCodeGenOnly = 1 in
  235. defm COPY_#rc : I<(outs rc:$res), (ins rc:$src), (outs), (ins), [],
  236. "local.copy\t$res, $src", "local.copy">;
  237. // TEE is similar to COPY, but writes two copies of its result. Typically
  238. // this would be used to stackify one result and write the other result to a
  239. // local.
  240. let isAsCheapAsAMove = 1, isCodeGenOnly = 1 in
  241. defm TEE_#rc : I<(outs rc:$res, rc:$also), (ins rc:$src), (outs), (ins), [],
  242. "local.tee\t$res, $also, $src", "local.tee">;
  243. // This is the actual local.get instruction in wasm. These are made explicit
  244. // by the ExplicitLocals pass. It has mayLoad because it reads from a wasm
  245. // local, which is a side effect not otherwise modeled in LLVM.
  246. let mayLoad = 1, isAsCheapAsAMove = 1 in
  247. defm LOCAL_GET_#rc : I<(outs rc:$res), (ins local_op:$local),
  248. (outs), (ins local_op:$local), [],
  249. "local.get\t$res, $local", "local.get\t$local", 0x20>;
  250. // This is the actual local.set instruction in wasm. These are made explicit
  251. // by the ExplicitLocals pass. It has mayStore because it writes to a wasm
  252. // local, which is a side effect not otherwise modeled in LLVM.
  253. let mayStore = 1, isAsCheapAsAMove = 1 in
  254. defm LOCAL_SET_#rc : I<(outs), (ins local_op:$local, rc:$src),
  255. (outs), (ins local_op:$local), [],
  256. "local.set\t$local, $src", "local.set\t$local", 0x21>;
  257. // This is the actual local.tee instruction in wasm. TEEs are turned into
  258. // LOCAL_TEEs by the ExplicitLocals pass. It has mayStore for the same reason
  259. // as LOCAL_SET.
  260. let mayStore = 1, isAsCheapAsAMove = 1 in
  261. defm LOCAL_TEE_#rc : I<(outs rc:$res), (ins local_op:$local, rc:$src),
  262. (outs), (ins local_op:$local), [],
  263. "local.tee\t$res, $local, $src", "local.tee\t$local",
  264. 0x22>;
  265. // Unused values must be dropped in some contexts.
  266. defm DROP_#rc : I<(outs), (ins rc:$src), (outs), (ins), [],
  267. "drop\t$src", "drop", 0x1a>;
  268. let mayLoad = 1 in
  269. defm GLOBAL_GET_#rc : I<(outs rc:$res), (ins global_op:$addr),
  270. (outs), (ins global_op:$addr), [],
  271. "global.get\t$res, $addr", "global.get\t$addr",
  272. 0x23>;
  273. let mayStore = 1 in
  274. defm GLOBAL_SET_#rc : I<(outs), (ins global_op:$addr, rc:$src),
  275. (outs), (ins global_op:$addr), [],
  276. "global.set\t$addr, $src", "global.set\t$addr",
  277. 0x24>;
  278. } // hasSideEffects = 0
  279. foreach vt = rc.RegTypes in {
  280. def : Pat<(vt (WebAssemblyglobal_get
  281. (WebAssemblyWrapper tglobaladdr:$addr))),
  282. (!cast<NI>("GLOBAL_GET_" # rc) tglobaladdr:$addr)>;
  283. def : Pat<(WebAssemblyglobal_set
  284. vt:$src, (WebAssemblyWrapper tglobaladdr:$addr)),
  285. (!cast<NI>("GLOBAL_SET_" # rc) tglobaladdr:$addr, vt:$src)>;
  286. def : Pat<(vt (WebAssemblylocal_get (i32 timm:$local))),
  287. (!cast<NI>("LOCAL_GET_" # rc) timm:$local)>;
  288. def : Pat<(WebAssemblylocal_set timm:$local, vt:$src),
  289. (!cast<NI>("LOCAL_SET_" # rc) timm:$local, vt:$src)>;
  290. }
  291. }
  292. defm "" : LOCAL<I32, global_op32>;
  293. defm "" : LOCAL<I64, global_op64>; // 64-bit only needed for pointers.
  294. defm "" : LOCAL<F32, global_op32>;
  295. defm "" : LOCAL<F64, global_op32>;
  296. defm "" : LOCAL<V128, global_op32>, Requires<[HasSIMD128]>;
  297. defm "" : LOCAL<FUNCREF, global_op32>, Requires<[HasReferenceTypes]>;
  298. defm "" : LOCAL<EXTERNREF, global_op32>, Requires<[HasReferenceTypes]>;
  299. let isMoveImm = 1, isAsCheapAsAMove = 1, isReMaterializable = 1 in {
  300. defm CONST_I32 : I<(outs I32:$res), (ins i32imm_op:$imm),
  301. (outs), (ins i32imm_op:$imm),
  302. [(set I32:$res, imm:$imm)],
  303. "i32.const\t$res, $imm", "i32.const\t$imm", 0x41>;
  304. defm CONST_I64 : I<(outs I64:$res), (ins i64imm_op:$imm),
  305. (outs), (ins i64imm_op:$imm),
  306. [(set I64:$res, imm:$imm)],
  307. "i64.const\t$res, $imm", "i64.const\t$imm", 0x42>;
  308. defm CONST_F32 : I<(outs F32:$res), (ins f32imm_op:$imm),
  309. (outs), (ins f32imm_op:$imm),
  310. [(set F32:$res, fpimm:$imm)],
  311. "f32.const\t$res, $imm", "f32.const\t$imm", 0x43>;
  312. defm CONST_F64 : I<(outs F64:$res), (ins f64imm_op:$imm),
  313. (outs), (ins f64imm_op:$imm),
  314. [(set F64:$res, fpimm:$imm)],
  315. "f64.const\t$res, $imm", "f64.const\t$imm", 0x44>;
  316. } // isMoveImm = 1, isAsCheapAsAMove = 1, isReMaterializable = 1
  317. def : Pat<(i32 (WebAssemblyWrapper tglobaladdr:$addr)),
  318. (CONST_I32 tglobaladdr:$addr)>, Requires<[IsNotPIC, HasAddr32]>;
  319. def : Pat<(i64 (WebAssemblyWrapper tglobaladdr:$addr)),
  320. (CONST_I64 tglobaladdr:$addr)>, Requires<[IsNotPIC, HasAddr64]>;
  321. def : Pat<(i32 (WebAssemblyWrapper tglobaladdr:$addr)),
  322. (GLOBAL_GET_I32 tglobaladdr:$addr)>, Requires<[IsPIC, HasAddr32]>;
  323. def : Pat<(i64 (WebAssemblyWrapper tglobaladdr:$addr)),
  324. (GLOBAL_GET_I64 tglobaladdr:$addr)>, Requires<[IsPIC, HasAddr64]>;
  325. def : Pat<(i32 (WebAssemblyWrapperREL tglobaladdr:$addr)),
  326. (CONST_I32 tglobaladdr:$addr)>, Requires<[IsPIC, HasAddr32]>;
  327. def : Pat<(i64 (WebAssemblyWrapperREL tglobaladdr:$addr)),
  328. (CONST_I64 tglobaladdr:$addr)>, Requires<[IsPIC, HasAddr64]>;
  329. def : Pat<(i32 (WebAssemblyWrapperREL tglobaltlsaddr:$addr)),
  330. (CONST_I32 tglobaltlsaddr:$addr)>, Requires<[HasAddr32]>;
  331. def : Pat<(i64 (WebAssemblyWrapperREL tglobaltlsaddr:$addr)),
  332. (CONST_I64 tglobaltlsaddr:$addr)>, Requires<[HasAddr64]>;
  333. def : Pat<(i32 (WebAssemblyWrapper tglobaltlsaddr:$addr)),
  334. (GLOBAL_GET_I32 tglobaltlsaddr:$addr)>, Requires<[HasAddr32]>;
  335. def : Pat<(i64 (WebAssemblyWrapper tglobaltlsaddr:$addr)),
  336. (GLOBAL_GET_I64 tglobaltlsaddr:$addr)>, Requires<[HasAddr64]>;
  337. def : Pat<(i32 (WebAssemblyWrapper texternalsym:$addr)),
  338. (GLOBAL_GET_I32 texternalsym:$addr)>, Requires<[IsPIC, HasAddr32]>;
  339. def : Pat<(i64 (WebAssemblyWrapper texternalsym:$addr)),
  340. (GLOBAL_GET_I64 texternalsym:$addr)>, Requires<[IsPIC, HasAddr64]>;
  341. def : Pat<(i32 (WebAssemblyWrapper texternalsym:$addr)),
  342. (CONST_I32 texternalsym:$addr)>, Requires<[IsNotPIC, HasAddr32]>;
  343. def : Pat<(i64 (WebAssemblyWrapper texternalsym:$addr)),
  344. (CONST_I64 texternalsym:$addr)>, Requires<[IsNotPIC, HasAddr64]>;
  345. def : Pat<(i32 (WebAssemblyWrapperREL texternalsym:$addr)),
  346. (CONST_I32 texternalsym:$addr)>, Requires<[IsPIC, HasAddr32]>;
  347. def : Pat<(i64 (WebAssemblyWrapperREL texternalsym:$addr)),
  348. (CONST_I64 texternalsym:$addr)>, Requires<[IsPIC, HasAddr64]>;
  349. //===----------------------------------------------------------------------===//
  350. // Additional sets of instructions.
  351. //===----------------------------------------------------------------------===//
  352. include "WebAssemblyInstrMemory.td"
  353. include "WebAssemblyInstrCall.td"
  354. include "WebAssemblyInstrControl.td"
  355. include "WebAssemblyInstrInteger.td"
  356. include "WebAssemblyInstrConv.td"
  357. include "WebAssemblyInstrFloat.td"
  358. include "WebAssemblyInstrAtomics.td"
  359. include "WebAssemblyInstrSIMD.td"
  360. include "WebAssemblyInstrRef.td"
  361. include "WebAssemblyInstrBulkMemory.td"
  362. include "WebAssemblyInstrTable.td"