summaryrefslogtreecommitdiff
path: root/lib/Transforms/ObjCARC
AgeCommit message (Expand)AuthorFilesLines
2013-04-18[objc-arc] Do not mismatch up retains inside a for loop with releases outside...Michael Gottesman1-96/+131
2013-04-18Removed trailing whitespace.Michael Gottesman1-3/+3
2013-04-17[objc-arc] Added annotation option to only emit annotations for a specific ss...Michael Gottesman1-0/+24
2013-04-17Fixed typo.Michael Gottesman1-4/+4
2013-04-17[objc-arc] Added descriptions for EnableARCAnnotations, EnableCheckForCFGHaza...Michael Gottesman2-3/+7
2013-04-17[objc-arc] Added an option to arc-annotations for turning off CheckForCFGHazard.Michael Gottesman1-0/+6
2013-04-09Fix some comment typos.Bob Wilson1-2/+2
2013-04-05Removed trailing whitespace.Michael Gottesman1-27/+27
2013-04-05An objc_retain can serve as a use for a different pointer.Michael Gottesman1-2/+3
2013-04-05Properly model precise lifetime when given an incomplete dataflow sequence.Michael Gottesman1-6/+20
2013-04-05Added two debug logging messages to VisitInstructionsTopDown to match VisitIn...Michael Gottesman1-0/+4
2013-04-05Cleaned up whitespace and made debug logging less verbose.Michael Gottesman1-114/+95
2013-04-03Refactored out the helper method FindPredecessorAutoreleaseWithSafePath from ...Michael Gottesman1-25/+45
2013-04-03Refactored out the helper function FindPredecessorRetainWithSafePath from Obj...Michael Gottesman1-18/+32
2013-04-03Small cleanups.Michael Gottesman1-14/+14
2013-04-03Refactored out a part of ObjCARCOpt::OptimizeReturns into its own method HasS...Michael Gottesman1-22/+33
2013-04-03Removed an old comment.Michael Gottesman1-7/+0
2013-04-03Clean up arc annotations by moving the top/bottom BB annotations into conditi...Michael Gottesman1-58/+46
2013-04-03Remove an optimization where we were changing an objc_autorelease into an obj...Michael Gottesman1-16/+1
2013-04-03Improved comment. No functionality change.Michael Gottesman1-1/+2
2013-03-29Add clang.arc.used to ModuleHasARC so ARC always runs if said call is present...Michael Gottesman1-1/+2
2013-03-29Removed trailing whitespace.Michael Gottesman1-15/+15
2013-03-28Removed dead code from ObjCARCOpts relating to tracking objc_retainBlocks thr...Michael Gottesman1-37/+6
2013-03-28Non optimizable objc_retainBlock calls are not forwarding.Michael Gottesman1-3/+0
2013-03-28[ObjCARC] Strength reduce objc_retainBlock -> objc_retain if the objc_retainB...Michael Gottesman1-10/+45
2013-03-26[ObjCARC Annotations] Added support for displaying the state of pointers at t...Michael Gottesman2-4/+147
2013-03-26[ObjCARC Annotations] Implemented ARC annotation metadata to expose the ARC d...Michael Gottesman1-5/+186
2013-03-25Changed isNullOrUndef => IsNullOrUndef and isNoopInstruction => IsNoopInstruc...Michael Gottesman3-14/+14
2013-03-23Change method name ClearRefCount => ClearKnownPositiveRefCount to match the n...Michael Gottesman1-4/+4
2013-03-23Changed the method name PtrState.IsKnownIncremented() to PtrState.HasKnownPos...Michael Gottesman1-3/+3
2013-03-22Kill every call to @clang.arc.use in the ARC contract phase.John McCall5-3/+22
2013-02-23Fixed a careless mistake.Michael Gottesman1-1/+1
2013-02-15Make helpers static. Add missing include so LLVMInitializeObjCARCOpts gets C ...Benjamin Kramer1-0/+1
2013-02-12Changed isStoredObjCPointer => IsStoredObjCPointer. No functionality change.Michael Gottesman1-4/+4
2013-02-07Moved some comments due to the recent refactoring of ObjCARC.Michael Gottesman2-5/+4
2013-02-05Removed explicit inline as per the LLVM style guide.Michael Gottesman1-7/+7
2013-01-29Made certain small functions in PtrState inlined.Michael Gottesman1-7/+7
2013-01-29Removed trailing comma in last element of enum declaration.Michael Gottesman1-1/+1
2013-01-29Moved S_Stop back to its previous position in the sequence order.Michael Gottesman1-1/+1
2013-01-29Fixed a few debug messages and some 80+ violations.Michael Gottesman1-9/+10
2013-01-29Added some periods to some comments and added an overload for operator<< for ...Michael Gottesman1-6/+28
2013-01-29Changed DoesObjCBlockEscape => DoesRetainableObjPtrEscape so I can use it to ...Michael Gottesman1-14/+17
2013-01-29Hopefully fix the Windows build failure introduced in r173769Timur Iskhodzhanov2-0/+2
2013-01-29Fixed 2 more header comments...Michael Gottesman2-2/+2
2013-01-29Fixed header comment.Michael Gottesman1-8/+4
2013-01-29Fixed some whitespace/80+ violations. Also added a space after a namespace de...Michael Gottesman4-6/+6
2013-01-29Added missing dashes from header declaration comment.Michael Gottesman1-1/+1
2013-01-29Juggled Debug.h from ObjCARC.h to only the including cpp files thatMichael Gottesman4-2/+7
2013-01-29Sorted includes using utils/sort_includes.Michael Gottesman8-15/+6
2013-01-29Added two missing headers from ObjCARCAliasAnalysis.h.Michael Gottesman1-0/+3