summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Atomic.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge System into Support.Michael J. Spencer2010-11-291-112/+0
| | | | llvm-svn: 120298
* Fixes the Atomic implementation if compiled by MSVC compiler.Oscar Fuentes2009-12-071-1/+1
| | | | | | | | | sys::cas_flag should be long on this platform, InterlockedAdd() is defined only for the Itanium architecture (according to MSDN). Patch by Michael Beck! llvm-svn: 90748
* Add atomic multiply and divide operations, built on top of CompareAndSwap.Owen Anderson2009-06-231-0/+18
| | | | llvm-svn: 74004
* Revert my last series of commits related to Timer and 64-bit atomics. Not ↵Owen Anderson2009-06-231-19/+7
| | | | | | | | all the targets we care about are capable of supporting it. llvm-svn: 73993
* Atomic ops that do arithmetic use signed arithmetic.Owen Anderson2009-06-231-4/+4
| | | | llvm-svn: 73980
* Label the existing atomic functions as 32-bit specific, and add a 64-bit one ↵Owen Anderson2009-06-231-7/+19
| | | | | | | | that will be useful in the near future. llvm-svn: 73971
* Add an atomic add operation.Owen Anderson2009-06-231-0/+13
| | | | llvm-svn: 73964
* Fix bad paste-o in the MSVC atomics.Owen Anderson2009-06-191-2/+2
| | | | | | Patch by Иван Сорокин. llvm-svn: 73779
* Use atomic increment/decrement for reference counting of Type's.Owen Anderson2009-06-171-2/+2
| | | | llvm-svn: 73588
* Add an atomic increment and decrement implementation, which will be used forOwen Anderson2009-06-171-0/+28
| | | | | | thread-safe reference counting. llvm-svn: 73587
* At a newline at the end of this file.Duncan Sands2009-06-031-1/+1
| | | | llvm-svn: 72767
* Undef MemoryFence when compiling on MSVC.Owen Anderson2009-06-021-0/+1
| | | | llvm-svn: 72732
* Tabs, be gone!Owen Anderson2009-05-201-3/+3
| | | | llvm-svn: 72180
* I just fail today.Owen Anderson2009-05-201-3/+3
| | | | | | Hopefully this fixes the last build errors on systems with GCC < 4.1. llvm-svn: 72179
* Copy-and-paste-o.Owen Anderson2009-05-201-1/+1
| | | | llvm-svn: 72177
* Move atomic operations' definitions out of line. While this seems kind of ↵Owen Anderson2009-05-201-0/+52
silly, all kinds of problems caused by including windows.h and/or config.h in an LLVM header. llvm-svn: 72174
OpenPOWER on IntegriCloud