summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-06-18 23:03:10 +0000
committerJim Grosbach <grosbach@apple.com>2010-06-18 23:03:10 +0000
commitef6eb9c7ab7967790566c5e2d47977d89fc060ee (patch)
treeeb274c405a8619ac88d34133a8a24a0667289388 /include/llvm/CodeGen
parent69a462ef710b01ee8781dbf814b7088b302d506a (diff)
downloadllvm-ef6eb9c7ab7967790566c5e2d47977d89fc060ee.tar.gz
llvm-ef6eb9c7ab7967790566c5e2d47977d89fc060ee.tar.bz2
llvm-ef6eb9c7ab7967790566c5e2d47977d89fc060ee.tar.xz
back-end libcall handling for ATOMIC_SWAP (__sync_lock_test_and_set)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106342 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r--include/llvm/CodeGen/RuntimeLibcalls.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/RuntimeLibcalls.h b/include/llvm/CodeGen/RuntimeLibcalls.h
index 7ac433b2dd..a51e82a640 100644
--- a/include/llvm/CodeGen/RuntimeLibcalls.h
+++ b/include/llvm/CodeGen/RuntimeLibcalls.h
@@ -252,6 +252,10 @@ namespace RTLIB {
SYNC_VAL_COMPARE_AND_SWAP_2,
SYNC_VAL_COMPARE_AND_SWAP_4,
SYNC_VAL_COMPARE_AND_SWAP_8,
+ SYNC_LOCK_TEST_AND_SET_1,
+ SYNC_LOCK_TEST_AND_SET_2,
+ SYNC_LOCK_TEST_AND_SET_4,
+ SYNC_LOCK_TEST_AND_SET_8,
SYNC_FETCH_AND_ADD_1,
SYNC_FETCH_AND_ADD_2,
SYNC_FETCH_AND_ADD_4,