llvm-project/llvm/lib/Bitcode/Reader
Akira Hatanaka ecde8c7ad4 [ObjC][ARC] Upgrade calls to ARC runtime functions to intrinsic calls if
the bitcode has the arm64 retainAutoreleasedReturnValue marker

The ARC middle-end passes stopped optimizing or transforming bitcode
that has been compiled with old compilers after we started emitting
calls to ARC runtime functions as intrinsic calls instead of normal
function calls in the front-end and made changes to teach the ARC
middle-end passes about those intrinsics (see r349534). This patch
converts calls to ARC runtime functions that are not intrinsic functions
to intrinsic function calls if the bitcode has the arm64
retainAutoreleasedReturnValue marker. Checking for the presence of the
marker is necessary to make sure we aren't changing ARC function calls
that were originally MRR message sends (see r349952).

rdar://problem/53280660

Differential Revision: https://reviews.llvm.org/D65902

llvm-svn: 368311
2019-08-08 16:59:31 +00:00
..
BitReader.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BitcodeAnalyzer.cpp Reland: [Remarks] Add an LLVM-bitstream-based remark serializer 2019-07-31 00:13:51 +00:00
BitcodeReader.cpp [ObjC][ARC] Upgrade calls to ARC runtime functions to intrinsic calls if 2019-08-08 16:59:31 +00:00
CMakeLists.txt [llvm-bcanalyzer] Refactor and move to libLLVMBitReader 2019-07-08 02:06:34 +00:00
LLVMBuild.txt [Bitcode] Move Bitstream to a separate library 2019-07-03 22:40:07 +00:00
MetadataLoader.cpp [BitcodeReader] Use tighter upper bound to validate forward references. 2019-07-14 12:35:50 +00:00
MetadataLoader.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ValueList.cpp [BitcodeReader] Use tighter upper bound to validate forward references. 2019-07-14 12:35:50 +00:00
ValueList.h [BitcodeReader] Use tighter upper bound to validate forward references. 2019-07-14 12:35:50 +00:00