Commit Graph

7 Commits

Author SHA1 Message Date
Andrew Trick
2ca16462b2 NFC: Update COW Array pass name string
Swift SVN r21964
2014-09-16 01:56:41 +00:00
Arnold Schwaighofer
12b0e13459 COWArrayOpt: Use ArraySemanticsCall utility
NFC

Swift SVN r21929
2014-09-12 21:05:23 +00:00
Arnold Schwaighofer
6da1647e1f COWArrayOpt: Use ValueBase's getParentBB api
Swift SVN r21927
2014-09-12 21:05:22 +00:00
Michael Gottesman
24c138f29c Move SILLoopInfo into swiftSIL from swiftSILAnalysis so that we match the separation in between analysis and IR entities.
This follows the model of dominance info and allows me to create reachability
methods on SILBasicBlock without creating dependencies from swiftSIL to
swiftSILAnalysis.

Swift SVN r21866
2014-09-11 03:03:06 +00:00
Andrew Trick
bba2a37070 More COWArrayOpts cleanup.
Arnold noticed during review that ArrayUserSet was not properly
updated after previous rounds of cleanup.

This also removes some innefficiency by eliminating a few hash maps.

I want to make sure this is in good shape before reusing the analysis
for immutable array properties.

Swift SVN r21608
2014-08-30 09:20:07 +00:00
Andrew Trick
ed4d8e6b71 Cleanup COWArrayOpts.
Rewrite comments and refactor.

The refactored code now handles the latest SILCombine.

Swift SVN r21547
2014-08-28 22:42:15 +00:00
Andrew Trick
da5a4411bf Rename ArrayOpts to COWArrayOpts.
It looks like we'll have a separate pass for different types of array
opts. There isn't much overlap between COW and ABC opts.

Swift SVN r21258
2014-08-18 18:44:01 +00:00