Michael Gottesman
d7af8fc6e4
Swift SVN r21670
2014-09-03 06:52:05 +00:00
Roman Levenstein
97014172b7
[sil-combine] String literal concatenation optimization. Constant-fold concatenation of string literals known at compile-time.
...
Addresses rdar://17033696.
Swift SVN r21526
2014-08-28 11:33:21 +00:00
Nadav Rotem
44444107c9
Remove the docs for @semantics(readonly).
...
Swift SVN r21089
2014-08-07 07:22:44 +00:00
Nadav Rotem
615da0ecfe
Document the new @effects attribute.
...
Swift SVN r21071
2014-08-06 19:19:12 +00:00
Andrew Trick
f36ff584cf
Add array.init semantics.
...
This way, array optimization can see initialization as a copy of the
whole array value into a local variable, regardless of whether it's
from a factory method or Array initializer.
I'm making an assumption that when we return an Array by value, we
can't have an alias of the array buffer without retaining it.
Swift SVN r20444
2014-07-23 23:25:17 +00:00
Dave Abrahams
71913ae085
[stdlib] Rename @semantics for array bounds checks
...
There are two kinds of bounds check: valid for subscripting, and valid
as an index. Rename the semantics accordingly.
Swift SVN r20181
2014-07-18 20:54:26 +00:00
Andrew Trick
c86df0bbde
Array semantics docs. Reword a few things and incorporate DaveA feedback.
...
Swift SVN r19688
2014-07-08 17:29:28 +00:00
Nadav Rotem
0eedfdc53e
Rename pure->readonly.
...
Swift SVN r19676
2014-07-08 03:39:48 +00:00
Nadav Rotem
c8309a3b81
Document the "pure" attribute.
...
Swift SVN r19657
2014-07-08 00:49:17 +00:00
Andrew Trick
6326182665
More precise semantics on array.check_bounds.
...
Swift SVN r19526
2014-07-03 20:09:04 +00:00
Andrew Trick
f0f55c04a1
Array docs. Minor wording.
...
Swift SVN r19516
2014-07-03 16:57:40 +00:00
Andrew Trick
544e316bf5
Explain array.check_bounds semantics.
...
Swift SVN r19515
2014-07-03 16:54:56 +00:00
Andrew Trick
6df1205130
Documenting the Array semantic model.
...
Swift SVN r19498
2014-07-03 02:03:23 +00:00
Joe Groff
89c7e773ca
Fix rst errors.
...
Swift SVN r19478
2014-07-02 19:17:39 +00:00
Nadav Rotem
43bff1aa70
Add an example of array bytecode.
...
Swift SVN r19476
2014-07-02 18:56:32 +00:00
Nadav Rotem
0fe142e2b5
Update the intro section of the doc.
...
Swift SVN r19475
2014-07-02 18:48:11 +00:00
Nadav Rotem
4c2aa4a60a
Document our high-level SIL optimizations using @semantics
...
Swift SVN r19472
2014-07-02 18:30:44 +00:00