Michael Gottesman
9d32a15d39
[g-arc-opts] Teach ARC that alloc_box introduces a +1 ref count on its container.
...
rdar://20368790
Swift SVN r27013
2015-04-05 04:57:48 +00:00
Michael Gottesman
5da583161f
[g-arc-opts] Teach ARC to recognize alloc_ref{,_dynamic} introduce objects at +1.
...
<rdar://problem/20368790>
Swift SVN r27004
2015-04-05 03:13:44 +00:00
Michael Gottesman
898f11f48f
[g-arc-opts] Teach ARC how to recognize StrongEntrance of RC caused by @owned return values.
...
<rdar://problem/20368790>
Swift SVN r26999
2015-04-05 02:39:45 +00:00
Michael Gottesman
3c217614b0
[g-arc-opts] Use RCStateTransitions when processing arguments as well.
...
Swift SVN r26914
2015-04-02 23:24:13 +00:00
Michael Gottesman
9b77fe1cb1
[g-arc-opts] Perform same refactoring for top down analysis as I performed for bottom up analysis in r26901.
...
Swift SVN r26906
2015-04-02 22:07:28 +00:00
Michael Gottesman
cc02b8debe
[g-arc-opts] Refactor out bottomup dataflow instruction initialization into a new visitor class BottomUpDataflowRCStateVisitor.
...
This allows for the state transition kind caused by an instruction to change how
we process it. It also decouples this effect from the actual CFG visiting code.
This will give us the flexibility to teach the ARC optimizer in a clean way
about many more types of instructions.
Swift SVN r26901
2015-04-02 21:16:20 +00:00