Michael Gottesman
9bdab2bf6b
Removed trailing comma in last element of enum declaration.
...
llvm-svn: 173836
2013-01-29 21:41:44 +00:00
Michael Gottesman
386241ce5b
Moved S_Stop back to its previous position in the sequence order.
...
llvm-svn: 173834
2013-01-29 21:39:02 +00:00
Michael Gottesman
23cda0cd39
Fixed a few debug messages and some 80+ violations.
...
llvm-svn: 173832
2013-01-29 21:07:53 +00:00
Michael Gottesman
53fd20bdbd
Added some periods to some comments and added an overload for operator<< for type Sequence so I can print out Sequences in debug statements.
...
llvm-svn: 173831
2013-01-29 21:07:51 +00:00
Michael Gottesman
774d2c014e
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
5d7ff00456
Hopefully fix the Windows build failure introduced in r173769
...
llvm-svn: 173781
2013-01-29 09:09:27 +00:00
Michael Gottesman
1e29ca1501
Fixed 2 more header comments...
...
llvm-svn: 173774
2013-01-29 05:07:18 +00:00
Michael Gottesman
5a8f9e7c54
Fixed header comment.
...
llvm-svn: 173773
2013-01-29 05:05:17 +00:00
Michael Gottesman
23a1ee5f5b
Fixed some whitespace/80+ violations. Also added a space after a namespace declaration.
...
llvm-svn: 173772
2013-01-29 04:58:30 +00:00
Michael Gottesman
7bf48af498
Added missing dashes from header declaration comment.
...
llvm-svn: 173770
2013-01-29 04:53:55 +00:00
Michael Gottesman
13a5f1a8b7
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
278266faa8
Sorted includes using utils/sort_includes.
...
llvm-svn: 173767
2013-01-29 04:20:52 +00:00
Michael Gottesman
f823dd2ef7
Added two missing headers from ObjCARCAliasAnalysis.h.
...
This was missed since whenever I was including ObjCARCAliasAnalysis.h, I
was including ObjCARC.h before it which included these includes
(resulting in no compilation breakage).
llvm-svn: 173764
2013-01-29 04:09:24 +00:00
Michael Gottesman
7f387ae6e3
Removed InstCombine/Targets as library dependencies for libObjCARCOpts since they are unnecessary.
...
llvm-svn: 173763
2013-01-29 04:05:17 +00:00
Michael Gottesman
778138e960
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
50a622f120
Removed some cruft from ObjCARCAliasAnalysis.cpp.
...
llvm-svn: 173759
2013-01-29 03:02:59 +00:00
Michael Gottesman
5ed40afe17
Created ObjCARCUtil.cpp for functions which in my humble opinion are too large to static inline and place in a header file such as ObjCARC.h.
...
llvm-svn: 173666
2013-01-28 06:39:31 +00:00
Michael Gottesman
9bfcf28d88
Cleaned up includes in various ObjCARC files and removed some whitespace violations.
...
llvm-svn: 173663
2013-01-28 05:51:58 +00:00
Michael Gottesman
294e7daaac
Refactor ObjCARCAliasAnalysis into its own file.
...
llvm-svn: 173662
2013-01-28 05:51:54 +00:00
Michael Gottesman
fa0939f790
Refactored out pass ObjCARCAPElim from ObjCARCOpts.cpp => ObjCARCAPElim.cpp.
...
llvm-svn: 173654
2013-01-28 04:12:07 +00:00
Michael Gottesman
283e079fa6
Fixed case insensitive issue.
...
llvm-svn: 173653
2013-01-28 03:35:20 +00:00
Michael Gottesman
0d90b12acc
Removed extraneous doxygen end module statement.
...
llvm-svn: 173652
2013-01-28 03:30:34 +00:00
Michael Gottesman
08904e3ba4
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
79d8d81226
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