llvm-project/clang/include/clang
Pete Cooper e388680dfa Convert some ObjC msgSends to runtime calls.
It is faster to directly call the ObjC runtime for methods such as alloc/allocWithZone instead of sending a message to those functions.

This patch adds support for converting messages to alloc/allocWithZone to their equivalent runtime calls.

Tests included for the positive case of applying this transformation, negative tests that we ensure we only convert "alloc" to objc_alloc, not "alloc2", and also a driver test to ensure we enable this only for supported runtime versions.

Reviewed By: rjmccall

https://reviews.llvm.org/D55349

llvm-svn: 348687
2018-12-08 05:13:50 +00:00
..
ARCMigrate Remove trailing space 2018-07-30 19:24:48 +00:00
AST Move diagnostic enums into Basic. 2018-12-08 05:05:03 +00:00
ASTMatchers Revert rL347462 "[ASTMatchers] Add hasSideEffect() matcher." 2018-11-22 14:26:33 +00:00
Analysis Move diagnostic enums into Basic. 2018-12-08 05:05:03 +00:00
Basic Convert some ObjC msgSends to runtime calls. 2018-12-08 05:13:50 +00:00
CodeGen In swiftcall, don't merge FP/vector types within a chunk. 2018-10-29 20:32:36 +00:00
Config CMake option to allow enabling experimental new pass manager by default 2018-04-06 00:53:00 +00:00
CrossTU Move diagnostic enums into Basic. 2018-12-08 05:05:03 +00:00
Driver Convert some ObjC msgSends to runtime calls. 2018-12-08 05:13:50 +00:00
Edit Remove trailing space 2018-07-30 19:24:48 +00:00
Format Update the example of BS_Stroustrup to match what is done by clang-format 2018-10-26 07:25:37 +00:00
Frontend Convert some ObjC msgSends to runtime calls. 2018-12-08 05:13:50 +00:00
FrontendTool [Templight] Template Instantiation Observer 2018-02-10 14:04:45 +00:00
Index [Index] Expose USR generation for types 2018-11-26 15:24:48 +00:00
Lex Move diagnostic enums into Basic. 2018-12-08 05:05:03 +00:00
Parse Move diagnostic enums into Basic. 2018-12-08 05:05:03 +00:00
Rewrite Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
Sema Move diagnostic enums into Basic. 2018-12-08 05:05:03 +00:00
Serialization Move diagnostic enums into Basic. 2018-12-08 05:05:03 +00:00
StaticAnalyzer [analyzer] Move out tracking retain count for OSObjects into a separate checker 2018-12-07 20:21:51 +00:00
Tooling Move diagnostic enums into Basic. 2018-12-08 05:05:03 +00:00
CMakeLists.txt Fixed bug 2016-05-31 15:56:26 +00:00
module.modulemap [OpenCL] Add support of cl_intel_device_side_avc_motion_estimation extension 2018-11-08 11:25:41 +00:00