[WebAssembly] Use TSFlags instead of keeping a list of special-case opcodes.
[oota-llvm.git] / lib / Target / WebAssembly / WebAssemblyInstrAtomics.td
1 // WebAssemblyInstrAtomics.td-WebAssembly Atomic codegen support-*- 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 WebAssembly Atomic operand code-gen constructs.
12 ///
13 //===----------------------------------------------------------------------===//
14
15 // TODO: Implement atomic instructions.
16
17 //===----------------------------------------------------------------------===//
18 // Atomic fences
19 //===----------------------------------------------------------------------===//
20
21 // TODO: add atomic fences here...
22
23 //===----------------------------------------------------------------------===//
24 // Atomic loads
25 //===----------------------------------------------------------------------===//
26
27 // TODO: add atomic loads here...
28
29 //===----------------------------------------------------------------------===//
30 // Atomic stores
31 //===----------------------------------------------------------------------===//
32
33 // TODO: add atomic stores here...
34
35 //===----------------------------------------------------------------------===//
36 // Low-level exclusive operations
37 //===----------------------------------------------------------------------===//
38
39 // TODO: add exclusive operations here...
40
41 // Load-exclusives.
42
43 // Store-exclusives.
44
45 // Store-release-exclusives.
46
47 // And clear exclusive.