Michael Gottesman
1d2ca1ffd8
Changed DoesObjCBlockEscape => DoesRetainableObjPtrEscape so I can use it to perform escape analysis of other retainable object pointers in other locations.
...
llvm-svn: 173829
2013-01-29 21:00:52 +00:00
Timur Iskhodzhanov
8b40231d0a
Hopefully fix the Windows build failure introduced in r173769
...
llvm-svn: 173781
2013-01-29 09:09:27 +00:00
Michael Gottesman
886be0c46c
Juggled Debug.h from ObjCARC.h to only the including cpp files that
...
actually have DEBUG statements. Also changed raw_ostream in said header
to be a forward declaration (removing an include).
llvm-svn: 173769
2013-01-29 04:51:59 +00:00
Michael Gottesman
4a3c5c538f
Sorted includes using utils/sort_includes.
...
llvm-svn: 173767
2013-01-29 04:20:52 +00:00
Michael Gottesman
c7246c9378
Extracted ObjCARCContract from ObjCARCOpts into its own file.
...
This also required adding 2x headers Dependency Analysis.h/Provenance Analysis.h
and a .cpp file DependencyAnalysis.cpp to unentangle the dependencies inbetween
ObjCARCContract and ObjCARCOpts.
llvm-svn: 173760
2013-01-29 03:03:03 +00:00
Michael Gottesman
86d4759cc7
Refactor ObjCARCAliasAnalysis into its own file.
...
llvm-svn: 173662
2013-01-28 05:51:54 +00:00
Michael Gottesman
a9c5dbd2a3
Refactored out pass ObjCARCAPElim from ObjCARCOpts.cpp => ObjCARCAPElim.cpp.
...
llvm-svn: 173654
2013-01-28 04:12:07 +00:00
Michael Gottesman
4dcab23d5a
Extracted pass ObjCARCExpand from ObjCARC.cpp => ObjCARCExpand.cpp.
...
I also added the local header ObjCARC.h for common functions used by the
various passes.
llvm-svn: 173651
2013-01-28 03:28:38 +00:00
Michael Gottesman
3d8ed99b1f
Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer.
...
llvm-svn: 173647
2013-01-28 01:35:51 +00:00