John McCall
d0f4d86f3e
Use LValueType everywhere instead of the l-value value kind.
...
Kill off TypeJudgement. Various fixes and improvements.
Swift SVN r1107
2012-02-06 22:47:08 +00:00
John McCall
b85ddcb34a
IR generation for curried functions. For now, parameters
...
are stored in a malloc'ed buffer that gets leaked.
Swift SVN r1092
2012-01-19 23:29:49 +00:00
John McCall
8f60dafc76
Recommit r1044 out of spite.
...
Swift SVN r1048
2012-01-16 07:03:59 +00:00
Chris Lattner
26fbedee09
revert r1044, it looks like Linking.h wasn't 'svn add'ed.
...
Swift SVN r1047
2012-01-16 06:59:19 +00:00
John McCall
2fa6d329be
Propagate currying/explosion information down to the
...
mangler. No functionality change.
Swift SVN r1046
2012-01-14 09:44:30 +00:00
John McCall
5dde760272
Switch function prologue and application over to using Explosion
...
and teach them about currying.
Swift SVN r1038
2012-01-13 10:08:14 +00:00
John McCall
632b979188
Skeletal IR gen support for ExtensionDecl.
...
Swift SVN r981
2011-12-23 00:30:24 +00:00
John McCall
6bb1b947d8
Emit initializers of global variables as global constructors.
...
This isn't the actor model for globals, but is certainly still a
valid model.
Swift SVN r975
2011-12-22 23:35:41 +00:00
John McCall
e04492f808
Give oneof types prettier type names.
...
Swift SVN r959
2011-12-22 06:13:21 +00:00
John McCall
1f6481d86e
Fill out a few cases.
...
Swift SVN r941
2011-12-15 04:52:14 +00:00
John McCall
88d0f28698
Correctly call oneof injections.
...
Swift SVN r940
2011-12-15 03:20:02 +00:00
John McCall
6b935588e5
On second thought, components need to be known in the AST.
...
Swift SVN r918
2011-12-07 03:57:41 +00:00
John McCall
c756d37afd
Basic Component interface.
...
Swift SVN r911
2011-12-06 21:48:27 +00:00
John McCall
6c559b2ce1
More missing tuple functionality.
...
Swift SVN r877
2011-11-17 10:12:21 +00:00
Chris Lattner
60afdf4842
switch irgen to new diags
...
Swift SVN r769
2011-10-20 21:29:50 +00:00
Chris Lattner
a7c7d64fa0
Switch swift to use SourceLoc instead of SMLoc.
...
Also use the new getAdvancedLoc() method instead of hacking
on SMLoc directly.
Also fix the warning/note/error methods to forward through ASTContext
instead of being replicated everywhere.
Swift SVN r750
2011-10-18 01:22:29 +00:00
John McCall
54ff2ccf4a
Lop the last word off ModuleDecl and TranslationUnitDecl.
...
Swift SVN r693
2011-09-06 21:43:46 +00:00
John McCall
d70f0aefd3
Implement basic mangling.
...
Swift SVN r673
2011-09-01 22:38:50 +00:00
John McCall
066719530c
Implement rudimentary l-value and r-value emission for DeclRefExpr.
...
Swift's ASTs are lacking the extremely useful concept of a DeclContext,
without which it's probably possible to make this work, but it'll be
extremely awkward. Anyway, these hacks are good enough to get the
test passing again.
Swift SVN r620
2011-08-25 10:33:05 +00:00
John McCall
9baf355000
Add a method for reporting unimplemented errors.
...
Swift SVN r608
2011-08-25 07:38:25 +00:00
John McCall
3e65b21a68
Provide r-value schemas for various implemented types. Use these to
...
implement function signature lowering. Basic setup for IR generation
of functions. Test that we can properly declare a simple function.
Swift SVN r595
2011-08-24 18:55:54 +00:00
John McCall
86f4371478
Basic IR generation of tuple and oneof types.
...
Swift SVN r573
2011-08-20 01:06:52 +00:00
John McCall
dc31882541
Incorporate notes into the pattern-matching manifesto. A few more random
...
observations that weren't brought up during the meeting.
Swift SVN r567
2011-08-17 08:29:32 +00:00
John McCall
3b3fb3fcd4
Commit missing file.
...
Swift SVN r540
2011-08-13 18:55:51 +00:00
Chris Lattner
f3ea9d7ee3
minimal hack to fix the build.
...
Swift SVN r539
2011-08-13 17:21:42 +00:00