Nick Lewycky
d89dea7a2e
Update the tutorial to match changes to examples/Kaleidoscope.
...
One change I'm not folding in is the removal of two unused variables that
caused warnings, because those were there for expository purposes.
llvm-svn: 81721
2009-09-13 21:38:54 +00:00
Reid Kleckner
f6b832774f
Allocate the module provider in the Kaleidoscope code on the heap, not the stack, so that it can be properly deleted. Also update the tutorial with the new code. This fixes PR4762, hopefully better than the last time.
...
llvm-svn: 80138
2009-08-26 20:58:25 +00:00
Owen Anderson
9df206d02d
Push LLVMContexts through the IntegerType APIs.
...
llvm-svn: 78948
2009-08-13 21:58:54 +00:00
Owen Anderson
881d928f9b
Move types back to the 2.5 API.
...
llvm-svn: 77516
2009-07-29 22:17:13 +00:00
Owen Anderson
256c2c250e
Move ConstantFP construction back to the 2.5-ish API.
...
llvm-svn: 77247
2009-07-27 20:59:43 +00:00
Reid Kleckner
5460ad390c
Add EngineBuilder to ExecutionEngine in favor of the five optional argument EE::create().
...
Also a test commit.
llvm-svn: 76276
2009-07-18 00:42:18 +00:00
Owen Anderson
c63b0e7a30
Privatize the ConstantFP table. I'm on a roll!
...
llvm-svn: 76097
2009-07-16 19:05:41 +00:00
Owen Anderson
9331034838
Push LLVMContext _back_ through IRBuilder.
...
llvm-svn: 75040
2009-07-08 20:50:47 +00:00
Gabor Greif
b31a9d0dc0
fix validator errors
...
llvm-svn: 66688
2009-03-11 20:04:08 +00:00
Gabor Greif
5805f37f74
Fix exaples using IRBuilder. Thanks, Quadrescence and Glip7 from IRC!
...
llvm-svn: 66687
2009-03-11 19:51:07 +00:00
Chris Lattner
80aa3c9e96
mention rdynamic, PR3431, patch by Stein Roger Skafløtten!
...
llvm-svn: 64106
2009-02-09 00:04:40 +00:00
Gabor Greif
fb9820af36
adjust calls to ConstantFP::get to new API
...
llvm-svn: 52165
2008-06-10 01:52:17 +00:00
Gabor Greif
441be4d65b
merge of 49966 from branches/ggreif/use-diet to trunk. these are already active API changes
...
llvm-svn: 49968
2008-04-19 22:25:09 +00:00
Chris Lattner
9723592fa7
A couple minor fixes suggested by Matthijs Kooijman
...
llvm-svn: 49729
2008-04-15 16:59:22 +00:00
Chris Lattner
d98e026e57
improve diagnostics in call parsing, patch suggested by
...
Matthijs Kooijman
llvm-svn: 49648
2008-04-14 16:44:41 +00:00
Duncan Sands
c5f548f784
Merge LLVMBuilder and FoldingBuilder, calling
...
the result IRBuilder. Patch by Dominic Hamon.
llvm-svn: 49604
2008-04-13 06:22:09 +00:00
Chris Lattner
85c2d36cfe
Various updates from Sam Bishop:
...
"I have been working my way through the JIT and Kaleidoscope tutorials in my
(minuscule) spare time. Thanks again for writing them! I have attached a
patch containing some minor changes, ranging from spelling and grammar fixes
to adding a "Next: <next tutorial section>" hyperlink to the bottom of each
page.
Every page has been given the "next link" treatment, but otherwise I'm only
half way through the Kaleidoscope tutorial. I will send a follow-on patch
if time permits."
llvm-svn: 46933
2008-02-10 19:11:04 +00:00
Chris Lattner
4cb265227d
dump the module *before* we delete it, not after.
...
llvm-svn: 46741
2008-02-05 06:18:42 +00:00
Chris Lattner
76c4290c55
fix typo noticed by Joshua Pennington
...
llvm-svn: 44522
2007-12-02 22:46:01 +00:00
Chris Lattner
eca7b38df8
Many typos, grammaro, and wording fixes. Patch by
...
Kelly Wilson, thanks!
llvm-svn: 44043
2007-11-13 07:06:30 +00:00
Chris Lattner
1a36bd9b90
minor edits
...
llvm-svn: 43807
2007-11-07 05:28:43 +00:00
Chris Lattner
d0d6643883
fixes from Ryan Brown.
...
llvm-svn: 43747
2007-11-06 01:39:12 +00:00
Chris Lattner
da6aed91db
add some links to the tutorial index and between chapters.
...
llvm-svn: 43730
2007-11-05 20:04:56 +00:00
Chris Lattner
7f1e211d7a
add table of contents to each chapter.
...
llvm-svn: 43723
2007-11-05 19:06:59 +00:00
Chris Lattner
c81a619924
spell identifier correctly.
...
llvm-svn: 43718
2007-11-05 17:54:34 +00:00
Chris Lattner
4c331443c8
fix validation
...
llvm-svn: 43549
2007-10-31 07:30:39 +00:00
Chris Lattner
a9a71ab2cf
some minor edits, link to Passes.html, make one point
...
I forgot about yesterday.
llvm-svn: 43350
2007-10-25 17:52:39 +00:00
Owen Anderson
0fbf637a85
Fix an obvious typo.
...
llvm-svn: 43333
2007-10-25 06:50:30 +00:00
Chris Lattner
a41ca4295a
Add chapter 4, feedback appreciated.
...
llvm-svn: 43329
2007-10-25 06:23:36 +00:00
Chris Lattner
b2f90b6ae5
Fix validation problems, which were somewhat ironically in the "valid html" button code :)
...
llvm-svn: 43247
2007-10-23 06:30:50 +00:00
Chris Lattner
42ca549605
add a skeleton for part 4
...
llvm-svn: 43246
2007-10-23 06:27:55 +00:00