diff options
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/ObjCARC/ObjCARCAPElim.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/Transforms/ObjCARC/ObjCARCAPElim.cpp b/lib/Transforms/ObjCARC/ObjCARCAPElim.cpp index 36cf4e54d5..f693c3fb38 100644 --- a/lib/Transforms/ObjCARC/ObjCARCAPElim.cpp +++ b/lib/Transforms/ObjCARC/ObjCARCAPElim.cpp @@ -1,4 +1,4 @@ -//===- ObjCARCOpts.cpp - ObjC ARC Optimization ----------------------------===// +//===- ObjCARCAPElim.cpp - ObjC ARC Optimization --------------------------===// // // The LLVM Compiler Infrastructure // @@ -7,17 +7,13 @@ // //===----------------------------------------------------------------------===// /// \file +/// /// This file defines ObjC ARC optimizations. ARC stands for Automatic /// Reference Counting and is a system for managing reference counts for objects /// in Objective C. /// -/// The optimizations performed include elimination of redundant, partially -/// redundant, and inconsequential reference count operations, elimination of -/// redundant weak pointer operations, pattern-matching and replacement of -/// low-level operations into higher-level operations, and numerous minor -/// simplifications. -/// -/// This file also defines a simple ARC-aware AliasAnalysis. +/// This specific file implements optimizations which remove extraneous +/// autorelease pools. /// /// WARNING: This file knows about certain library functions. It recognizes them /// by name, and hardwires knowledge of their semantics. |