Commit Graph

11 Commits

Author SHA1 Message Date
Michael Gottesman
62eb79eb7b [sil-aa] Change aggregateContainsRecord to compare CanonicalTypes instead of Types. One should never compare non-canonicalized types.
Swift SVN r15698
2014-03-31 22:57:01 +00:00
Nadav Rotem
35f00fd23a TBAA: Fix the type relationship between aggregate types by scanning the record types recursively.
Example: Float* may alias Point* because Point may contain a float.

This commit regresses RC4::swapByIndex.



Swift SVN r15477
2014-03-26 00:31:12 +00:00
Nadav Rotem
fe1e135413 Add more alias analysis TBAA rules.
These new rules remove all of the redundant retains and releases in RC4::swapByIndex.



Swift SVN r15383
2014-03-23 07:02:14 +00:00
Manman Ren
3a95cfc128 SILPrinter & SILParser: update both and testing cases to match SIL.rst.
For struct_extract and struct_element_addr, we now print %7 : $M, #M.member
instead of %7 : $M, #member

rdar://15810604


Swift SVN r14960
2014-03-12 18:07:48 +00:00
Michael Gottesman
de48699d49 [sil-aa] Teach SILAA how to prove that two GEPs from the same base pointer with the same projections must alias.
Swift SVN r13768
2014-02-11 00:55:09 +00:00
Michael Gottesman
10e529782c [sil-aa] Add support for distinguishing non escaping local objects and escape sources.
Swift SVN r13729
2014-02-10 01:48:14 +00:00
Michael Gottesman
f009d0adcb [sil-aa] Test the AA functionality that arguments can not alias with function locals.
Swift SVN r13615
2014-02-07 01:14:58 +00:00
Michael Gottesman
396f548db3 [sil-aa] Add test to show that two different alloc_stack and anything for which they are the "underlying object" can not alias.
Swift SVN r13614
2014-02-07 00:50:20 +00:00
Michael Gottesman
94fb218a5e [sil-aa] Two SILValues that are the same without any stripping trivially alias each other.
Swift SVN r13609
2014-02-07 00:21:40 +00:00
Michael Gottesman
69d738e24c [sil-aa] A SILArgument is only a no-alias SILArgument if it is an argument to the first BB of a function.
Swift SVN r13608
2014-02-07 00:17:42 +00:00
Michael Gottesman
c9900989a7 [sil-aa] Add test that two different arguments do no alias with basic aa.
Swift SVN r13607
2014-02-07 00:01:35 +00:00