Doug Gregor
6083420a0c
IRBuilder.h has moved in top-of-tree LLVM. Update our includes appropriately.
...
Swift SVN r2283
2012-07-02 21:04:14 +00:00
John McCall
450a722215
Add an IRBuilder::CreateBitCast variant which maps addresses.
...
Swift SVN r1898
2012-05-18 10:01:57 +00:00
John McCall
5ad3782b01
Rework the IR-generation of initialization and teach the
...
compiler to enter properly-scoped cleanups to destroy local
variables.
Swift SVN r1385
2012-04-11 03:00:08 +00:00
John McCall
f3e27d90ff
Change IR-generation so that it emits metadata objects for the
...
heap allocations it makes, and switch swift_alloc over to pass
that pointer in as well as the alignment. Also, compute
whether a type is POD during its generation and cache that in
the object, and introduce a method on TypeInfo to destroy an
object in memory.
Swift SVN r1356
2012-04-10 06:28:22 +00:00
John McCall
44677bc117
Fixes and embellishments, and actually make IR-gen properly
...
emit release cleanups. And they work!
Swift SVN r1334
2012-04-05 20:36:20 +00:00
John McCall
82da3ca63b
Permit StableIP to be initialized as invalid.
...
Swift SVN r1333
2012-04-05 20:36:20 +00:00
John McCall
8196f40c4c
Add APIs to IRBuilder to capture a stable insertion point (which
...
stays in the same place in a function even when the current IP is
at the end of a block) and to temporarily shift the insertion point.
Swift SVN r1331
2012-04-05 20:36:18 +00:00
John McCall
4b5fe8fb9b
Make Swift's IRBuilder::CreateLoad allow a name to be assigned,
...
and add a CreateStructGEP for Address.
Swift SVN r1219
2012-03-16 19:02:24 +00:00
John McCall
3b5a5509a7
Revisit the Condition logic, which turns out to be subtly wrong in
...
an extremely simple test case that happens to come up in swift.swift.
Swift SVN r971
2011-12-22 09:05:29 +00:00
John McCall
9b7fb0c227
New l-value representation.
...
Swift SVN r956
2011-12-22 05:28:33 +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
02c0dd6a18
Provide an IRBuilder customization point that, among other things,
...
consumes our alignment type.
Swift SVN r592
2011-08-24 18:51:51 +00:00