This is an archive of the discontinued LLVM Phabricator instance.

[ARC] Pull the ObjC ARC components that really serve the role of analyses into LLVM's Analysis library rather than having them in a Transforms library.
ClosedPublic

Authored by chandlerc on Aug 18 2015, 8:35 PM.

Details

Summary

This is motivated by the need to have the core AliasAnalysis
infrastructure be aware of the ObjCARCAliasAnalysis. However, it also
seems like a nice and clean separation. Everything was very easy to move
and this doesn't create much clutter in the analysis library IMO.

However, I'm not an expert on the ARC optimizer stuff so mailing this
out for folks to take a look at and give me feedback on. Sadly, it will
be necessary to sort something out here to make progress on the alias
analysis restructuring, so the more quickly this can be looked at the
better.

Diff Detail

Repository
rL LLVM

Event Timeline

chandlerc updated this revision to Diff 32497.Aug 18 2015, 8:35 PM
chandlerc retitled this revision from to [ARC] Pull the ObjC ARC components that really serve the role of analyses into LLVM's Analysis library rather than having them in a Transforms library..
chandlerc updated this object.
chandlerc added a reviewer: gottesmm.
chandlerc added a subscriber: llvm-commits.
This revision was automatically updated to reflect the committed changes.
llvm/trunk/lib/Transforms/ObjCARC/ObjCARC.cpp