Commit Graph

60 Commits

Author SHA1 Message Date
Chris Lattner
d1487a3ede Scaffolding for ARC optimizer pass.
Swift SVN r2027
2012-05-28 00:04:29 +00:00
John McCall
034387b5bb Fix the definition of Alignment::isOne() and implement a
roundUpToAlignment method on Size.

Swift SVN r1649
2012-04-26 07:33:57 +00:00
John McCall
df7ebcd9e8 Introduce the concept of an 'owned address', i.e. an address with
an owner attached.  Use this to implement [byref(heap)].  Force
locals to the heap if they've been referenced in a way that requires
this.

Swift SVN r1265
2012-03-26 03:26:21 +00:00
John McCall
d76aaea2b6 Remove the outdated RValue concept; no functionality change.
Swift SVN r1216
2012-03-16 09:26:39 +00:00
John McCall
ea6d6f6f51 Define ResilienceScope, which is used to make optimizations more
aggressive when their ramifications are purely local.



Swift SVN r1093
2012-01-24 22:25:10 +00:00
John McCall
44da666866 Move ExplosionKind to IRGen.h so that using it doesn't
require Explosion.h.  This is just to isolate the parts
of IR-generation that shouldn't have anything to do with
emitting code within functions.



Swift SVN r1039
2012-01-13 10:20:59 +00:00
John McCall
2cd676bf99 IR generation for 'if' statements. Adjust the standard library
to use global functions for the relational operators, just to get
prettier IR.



Swift SVN r679
2011-09-02 19:02:36 +00:00
John McCall
29b25c5868 Add an accessor for computing the alignment at a known offset.
Swift SVN r606
2011-08-25 07:16:39 +00:00
John McCall
ba077c667c Permit sizes to be scaled by a constant factor.
Swift SVN r591
2011-08-24 18:51:14 +00:00
John McCall
97c6ccadfb More IR-generation infrastructure.
Swift SVN r576
2011-08-20 05:55:02 +00:00