]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/include/llvm/IR/IntrinsicsWebAssembly.td
Update lldb to release_39 branch r276489 and resolve immediate conflicts.
[FreeBSD/FreeBSD.git] / contrib / llvm / include / llvm / IR / IntrinsicsWebAssembly.td
1 //===- IntrinsicsWebAssembly.td - Defines wasm intrinsics --*- tablegen -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 ///
10 /// \file
11 /// \brief This file defines all of the WebAssembly-specific intrinsics.
12 ///
13 //===----------------------------------------------------------------------===//
14
15 let TargetPrefix = "wasm" in {  // All intrinsics start with "llvm.wasm.".
16
17 // Note that current_memory is not IntrNoMem because it must be sequenced with
18 // respect to grow_memory calls.
19 def int_wasm_current_memory : Intrinsic<[llvm_anyint_ty], [], [IntrReadMem]>;
20 def int_wasm_grow_memory : Intrinsic<[], [llvm_anyint_ty], []>;
21
22 }