Skip to content
Snippets Groups Projects
  1. Dec 05, 2014
  2. Dec 03, 2014
  3. Nov 14, 2014
  4. Nov 12, 2014
  5. Oct 10, 2014
  6. Oct 03, 2014
    • Dan Liew's avatar
      [sphinx clean up] Fix warning introduced by r218957 · 0999b0d8
      Dan Liew authored
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@218983 91177308-0d34-0410-b5e6-96231b3b80d8
      0999b0d8
    • Hal Finkel's avatar
      Add an implementation of C11's stdatomic.h · 39f1f1f1
      Hal Finkel authored
      Adds a Clang-specific implementation of C11's stdatomic.h header. On systems,
      such as FreeBSD, where a stdatomic.h header is already provided, we defer to
      that header instead (using our __has_include_next technology). Otherwise, we
      provide an implementation in terms of our __c11_atomic_* intrinsics (that were
      created for this purpose).
      
      C11 7.1.4p1 requires function declarations for atomic_thread_fence,
      atomic_signal_fence, atomic_flag_test_and_set,
      atomic_flag_test_and_set_explicit, and atomic_flag_clear, and requires that
      they have external linkage. Accordingly, we provide these declarations, but if
      a user elides the shadowing macros and uses them, then they must have a libc
      (or similar) that actually provides definitions.
      
      atomic_flag is implemented using _Bool as the underlying type. This is
      consistent with the implementation provided by FreeBSD and also GCC 4.9 (at
      least when __GCC_ATOMIC_TEST_AND_SET_TRUEVAL == 1).
      
      Patch by Richard Smith (rebased and slightly edited by me -- Richard said I
      should drive at this point).
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@218957 91177308-0d34-0410-b5e6-96231b3b80d8
      39f1f1f1
  7. Sep 08, 2014
    • Hal Finkel's avatar
      Add __builtin_assume and __builtin_assume_aligned using @llvm.assume. · 687b32ee
      Hal Finkel authored
      This makes use of the recently-added @llvm.assume intrinsic to implement a
      __builtin_assume(bool) intrinsic (to provide additional information to the
      optimizer). This hooks up __assume in MS-compatibility mode to mirror
      __builtin_assume (the semantics have been intentionally kept compatible), and
      implements GCC's __builtin_assume_aligned as assume((p - o) & mask == 0). LLVM
      now contains special logic to deal with assumptions of this form.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@217349 91177308-0d34-0410-b5e6-96231b3b80d8
      687b32ee
  8. Sep 03, 2014
  9. Sep 02, 2014
  10. Jul 23, 2014
  11. Jul 14, 2014
  12. Jul 02, 2014
  13. Jun 19, 2014
  14. Jun 18, 2014
  15. Jun 04, 2014
  16. May 28, 2014
  17. May 24, 2014
  18. May 09, 2014
  19. Apr 12, 2014
  20. Mar 29, 2014
  21. Feb 21, 2014
  22. Feb 20, 2014
  23. Feb 19, 2014
  24. Feb 18, 2014
  25. Jan 28, 2014
  26. Jan 24, 2014
Loading