aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/ObjCARC.cpp
AgeCommit message (Expand)Author
2012-09-04Make provenance checking conservative in cases whenDan Gohman
2012-08-27Don't use for loops for code that is only intended to execute once. NoDan Gohman
2012-07-23An objc_retain can serve as a may-use for a different pointer.Dan Gohman
2012-07-23Fix a typo (the the => the)Sylvestre Ledru
2012-06-25Fix the objc_autoreleasedReturnValue optimization code to locateDan Gohman
2012-06-02Fix typos found by http://github.com/lyda/misspell-checkBenjamin Kramer
2012-05-27Reimplement the intrinsic verifier to use the same table as Intrinsic::getDef...Chris Lattner
2012-05-21Mark an unreachable region of code with llvm_unreachable.Dan Gohman
2012-05-18Fix replacing all the users of objc weak runtime routinesDan Gohman
2012-05-09Fix the objc_storeStrong recognizer to stop before walking off theDan Gohman
2012-05-09Remove unused variable to get rid of warning.Craig Topper
2012-05-08Miscellaneous accumulated cleanups.Dan Gohman
2012-05-08Fix objc_storeStrong pattern matching to catch a potential use of theDan Gohman
2012-04-27Miscellaneous accumulated cleanups.Dan Gohman
2012-04-25Simplify the known retain count tracking; use a boolean state insteadDan Gohman
2012-04-24Build custom predecessor and successor lists for each basic block.Dan Gohman
2012-04-19Avoid a bug in the path count computation, preventing an infiniteDan Gohman
2012-04-18Don't crash on code where the user put __attribute__((constructor)) onDan Gohman
2012-04-13Add some comments, and fix a few places that missed setting Changed.Dan Gohman
2012-04-13Consider ObjC runtime calls objc_storeWeak and others which make a copy ofDan Gohman
2012-04-13Use the new Use-aware dominates method to apply the objc runtimeDan Gohman
2012-04-13Don't move objc_autorelease calls past autorelease pool boundaries whenDan Gohman
2012-04-05Fix accidentally inverted logic from r152803, and make theDan Gohman
2012-03-24Fix the MSVC build.Francois Pichet
2012-03-23Don't convert objc_retainAutoreleasedReturnValue to objc_retain if itDan Gohman
2012-03-23It's not possible to insert code immediately after an invoke in theDan Gohman
2012-03-22Refactor the code for visiting instructions out into helper functions.Dan Gohman
2012-03-15Short term fix for pr12270 before we change dominates to handle unreachableRafael Espindola
2012-03-14When an invoke is marked with metadata indicating its unwind edgeDan Gohman
2012-03-09When identifying exit nodes for the reverse-CFG reverse-post-orderDan Gohman
2012-03-02Fix an iterator invalidation problem. operator[] on a DenseMapDan Gohman
2012-03-02Misc micro-optimizations.Dan Gohman
2012-02-17Calls and invokes with the new clang.arc.no_objc_arc_exceptionsDan Gohman
2012-02-13Just like in regular escape analysis, loads and stores throughDan Gohman
2012-01-20More dead code removal (using -Wunreachable-code)David Blaikie
2012-01-19Set the "tail" flag on pattern-matched objc_storeStrong calls.Dan Gohman
2012-01-18Add a depth limit to avoid runaway recursion.Dan Gohman
2012-01-18Use llvm.global_ctors to locate global constructors insteadDan Gohman
2012-01-17Add a new ObjC ARC optimization pass to eliminate unneededDan Gohman
2012-01-17Remove unreachable code. (replace with llvm_unreachable to help GCC where nec...David Blaikie
2012-01-14Fix an unused variable warning that Chad noticed.Dan Gohman
2012-01-13Implement proper ObjC ARC objc_retainBlock "escape" analysis, so thatDan Gohman
2011-12-21Fix a copy+pasto. No testcase, because the symptoms of dereferencingDan Gohman
2011-12-14It turns out that clang does use pointer-to-function types toDan Gohman
2011-12-12When computing reverse-CFG reverse-post-order, skip backedges, asDan Gohman
2011-12-12Add a TODO comment.Dan Gohman
2011-12-12Fix a copy+pasto in a comment.Dan Gohman
2011-12-12Use getArgOperand instead of getOperand on a call.Dan Gohman
2011-12-12Inline SetSeqToRelease into its only caller, since it's more clear that way.Dan Gohman
2011-12-12Fix omitted break statements in a switch.Dan Gohman