aboutsummaryrefslogtreecommitdiff
path: root/llvm/include/llvm/CodeGen/RuntimeLibcalls.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2024-01-09 19:58:18 +0000
committerDimitry Andric <dim@FreeBSD.org>2024-01-09 19:58:18 +0000
commitaca2e42c67292825f835f094eb0c4df5ce6013db (patch)
tree9cfb7eeef35545100c4f7219e794e6a0306ea6a6 /llvm/include/llvm/CodeGen/RuntimeLibcalls.h
parent77dbea07356e1ab2f37a777d4d1ddc5dd3e301c2 (diff)
downloadsrc-aca2e42c67292825f835f094eb0c4df5ce6013db.tar.gz
src-aca2e42c67292825f835f094eb0c4df5ce6013db.zip
Diffstat (limited to 'llvm/include/llvm/CodeGen/RuntimeLibcalls.h')
-rw-r--r--llvm/include/llvm/CodeGen/RuntimeLibcalls.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/RuntimeLibcalls.h b/llvm/include/llvm/CodeGen/RuntimeLibcalls.h
index 666420681510..3a407c4a4d94 100644
--- a/llvm/include/llvm/CodeGen/RuntimeLibcalls.h
+++ b/llvm/include/llvm/CodeGen/RuntimeLibcalls.h
@@ -82,6 +82,12 @@ namespace RTLIB {
/// UNKNOWN_LIBCALL if there is none.
Libcall getSYNC(unsigned Opc, MVT VT);
+ /// Return the outline atomics value for the given atomic ordering, access
+ /// size and set of libcalls for a given atomic, or UNKNOWN_LIBCALL if there
+ /// is none.
+ Libcall getOutlineAtomicHelper(const Libcall (&LC)[5][4],
+ AtomicOrdering Order, uint64_t MemSize);
+
/// Return the outline atomics value for the given opcode, atomic ordering
/// and type, or UNKNOWN_LIBCALL if there is none.
Libcall getOUTLINE_ATOMIC(unsigned Opc, AtomicOrdering Order, MVT VT);