336d9df5e628279425344d754dc68047fa5b00a7 |
|
11-Jul-2013 |
Eli Friedman <eli.friedman@gmail.com> |
Simplify atomic load/store IRGen. Also fixes a couple minor bugs along the way; see testcases. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186049 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/CodeGen/CGAtomic.cpp
|
c59cf0de99622b946d38b6fdbae658d425910b72 |
|
31-May-2013 |
Ed Schouten <ed@80386.nl> |
Fix style bug introduced in r183033. I renamed the function at one point in time, but forgot to fix the layout of the arguments. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183036 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/CodeGen/CGAtomic.cpp
|
e469249726840b8baa2df008ca891e213cc5c661 |
|
31-May-2013 |
Ed Schouten <ed@80386.nl> |
Add support for optimized (non-generic) atomic libcalls. For integer types of sizes 1, 2, 4 and 8, libcompiler-rt (and libgcc) provide atomic functions that pass parameters by value and return results directly. libgcc and libcompiler-rt only provide optimized libcalls for __atomic_fetch_*, as generic libcalls on non-integer types would make little sense. This means that we can finally make __atomic_fetch_* work on architectures for which we don't provide these operations as builtins (e.g. ARM). This should fix the dreaded "cannot compile this atomic library call yet" error that would pop up once every while. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183033 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/CodeGen/CGAtomic.cpp
|
64aa4b3ec7e62288e2e66c1935487ece995ca94b |
|
17-Apr-2013 |
John McCall <rjmccall@apple.com> |
Standardize accesses to the TargetInfo in IR-gen. Patch by Stephen Lin! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179638 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/CodeGen/CGAtomic.cpp
|
f6b4a6868cd292d211474abce98a7d9b541acf1b |
|
15-Apr-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Removed #if 0 code that doesn't compiled if uncommented. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179495 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/CodeGen/CGAtomic.cpp
|
9eda3abe7e183b05834947391c0cdc291f4ee0d8 |
|
07-Mar-2013 |
John McCall <rjmccall@apple.com> |
Promote atomic type sizes up to a power of two, capped by MaxAtomicPromoteWidth. Fix a ton of terrible bugs with _Atomic types and (non-intrinsic-mediated) loads and stores thereto. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176658 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/CodeGen/CGAtomic.cpp
|
fafaaef243322b1e598a72d7dbfaf2ca0c139174 |
|
07-Mar-2013 |
John McCall <rjmccall@apple.com> |
Move the atomics code into its own file. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176657 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/CodeGen/CGAtomic.cpp
|