Go to file
Saleem Abdulrasool c30cec26ed CodeGen: annotate ObjC ARC functions with ABI constraints
Certain ARC runtime functions have an ABI contract of being forwarding.
Annotate the functions with the appropriate `returned` attribute on the
arguments.  This hoists some of the runtime ABI contract information
into the frontend rather than the backend transformations.

The test adjustments are to mark the returned function parameter as
such.  The minor change to the IR output is due to the fact that the
returned reference of the object causes it to extend the lifetime of the
object by returning an autoreleased return value.  The result is that
the explicit objc_autorelease call is no longer formed, as autorelease
elision is now possible on the return.

llvm-svn: 294872
2017-02-11 21:34:18 +00:00
clang CodeGen: annotate ObjC ARC functions with ABI constraints 2017-02-11 21:34:18 +00:00
clang-tools-extra Fix memory leak by using unique_ptr 2017-02-11 05:25:21 +00:00
compiler-rt Re-submit r294826 "Fix -Wsign-compare" reverted in r294842 by mistake. 2017-02-11 19:39:05 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc math: Add native_rsqrt builtin function 2017-02-09 18:39:26 +00:00
libcxx Remove a now unneeded __CloudABI__ check. 2017-02-11 08:33:16 +00:00
libcxxabi Fix path to libc++'s python test module 2017-02-09 23:58:54 +00:00
libunwind Revert "[libunwind][CMake] Use libc++ headers when available" 2017-02-09 03:56:47 +00:00
lld Create only one section symbol per section. 2017-02-11 01:40:49 +00:00
lldb Fix the lldb_private::Function::GetDescription to print out the name and mangled name correctly. Previously this was getting the function type's name which was not correct. 2017-02-10 23:32:06 +00:00
llgo [llgo] Remove support for LLVM attributes 2016-12-06 19:22:04 +00:00
llvm Update Kaleidoscope tutorial and improve Windows support 2017-02-11 21:26:52 +00:00
openmp libomptarget: Disable on Win32 2017-02-10 17:13:28 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Check reduction dependencies in case of the matrix multiplication optimization 2017-02-11 09:59:09 +00:00