forked from OSchip/llvm-project
48 lines
1.5 KiB
TableGen
48 lines
1.5 KiB
TableGen
// WebAssemblyInstrAtomics.td-WebAssembly Atomic codegen support-*- tablegen -*-
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
///
|
|
/// \file
|
|
/// \brief WebAssembly Atomic operand code-gen constructs.
|
|
///
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// TODO: Implement atomic instructions.
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
// Atomic fences
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// TODO: add atomic fences here...
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
// Atomic loads
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// TODO: add atomic loads here...
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
// Atomic stores
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// TODO: add atomic stores here...
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
// Low-level exclusive operations
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// TODO: add exclusive operations here...
|
|
|
|
// Load-exclusives.
|
|
|
|
// Store-exclusives.
|
|
|
|
// Store-release-exclusives.
|
|
|
|
// And clear exclusive.
|