diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2024-01-09 19:58:18 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2024-01-09 19:58:18 +0000 |
commit | aca2e42c67292825f835f094eb0c4df5ce6013db (patch) | |
tree | 9cfb7eeef35545100c4f7219e794e6a0306ea6a6 /llvm/include/llvm/CodeGen/RuntimeLibcalls.h | |
parent | 77dbea07356e1ab2f37a777d4d1ddc5dd3e301c2 (diff) | |
download | src-aca2e42c67292825f835f094eb0c4df5ce6013db.tar.gz src-aca2e42c67292825f835f094eb0c4df5ce6013db.zip |
Diffstat (limited to 'llvm/include/llvm/CodeGen/RuntimeLibcalls.h')
-rw-r--r-- | llvm/include/llvm/CodeGen/RuntimeLibcalls.h | 6 |
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); |