Jeffrey Yasskin
4567db45b8
Change the JIT to compile eagerly by default as agreed in
...
http://llvm.org/PR5184 , and beef up the comments to describe what both options
do and the risks of lazy compilation in the presence of threads.
llvm-svn: 85295
2009-10-27 20:30:28 +00:00
Benjamin Kramer
0f4203861f
Documentation: Perform automated correction of common typos.
...
llvm-svn: 83849
2009-10-12 14:46:08 +00:00
Erick Tryzelaar
6e2b34bc14
Sync c++ kaleidoscope tutorial with test.
...
llvm-svn: 82572
2009-09-22 21:14:49 +00:00
Erick Tryzelaar
b4e19177cb
Expose initializing the native target for the execution engine.
...
llvm-svn: 81800
2009-09-14 21:54:32 +00:00
Erick Tryzelaar
c8a18f97bb
Make sure to initialize the fpm in the ocaml tutorial.
...
llvm-svn: 81799
2009-09-14 21:54:15 +00:00
Nick Lewycky
14b1aacf10
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
ab7700479f
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
Erick Tryzelaar
be86e9fd9a
Update the ocaml docs to work with LLVMContext.
...
llvm-svn: 79431
2009-08-19 17:32:38 +00:00
John McCall
c5680625c8
#include <cstdlib> in the code listing for strtod.
...
llvm-svn: 79285
2009-08-17 21:07:37 +00:00
Owen Anderson
55f1c09e31
Push LLVMContexts through the IntegerType APIs.
...
llvm-svn: 78948
2009-08-13 21:58:54 +00:00
Benjamin Kramer
eaccdd34a3
Documentation: fix HTML validation errors.
...
llvm-svn: 78196
2009-08-05 15:42:44 +00:00
Owen Anderson
5a1acd9912
Move a few more APIs back to 2.5 forms. The only remaining ones left to change back are
...
metadata related, which I'm waiting on to avoid conflicting with Devang.
llvm-svn: 77721
2009-07-31 20:28:14 +00:00
Owen Anderson
4056ca9568
Move types back to the 2.5 API.
...
llvm-svn: 77516
2009-07-29 22:17:13 +00:00
Owen Anderson
69c464dec4
Move ConstantFP construction back to the 2.5-ish API.
...
llvm-svn: 77247
2009-07-27 20:59:43 +00:00
Owen Anderson
47db941fd3
Get rid of the Pass+Context magic.
...
llvm-svn: 76702
2009-07-22 00:24:57 +00:00
Chris Lattner
3a56ae8bbb
Various doc updates from Edward O'Callaghan!
...
llvm-svn: 76668
2009-07-21 22:47:03 +00:00
Reid Kleckner
fc8a2d5a83
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
c277dc408b
Privatize the ConstantFP table. I'm on a roll!
...
llvm-svn: 76097
2009-07-16 19:05:41 +00:00
Owen Anderson
53a52215b5
Begin the painful process of tearing apart the rat'ss nest that is Constants.cpp and ConstantFold.cpp.
...
This involves temporarily hard wiring some parts to use the global context. This isn't ideal, but it's
the only way I could figure out to make this process vaguely incremental.
llvm-svn: 75445
2009-07-13 04:09:18 +00:00
Owen Anderson
a771459bb1
Push LLVMContext _back_ through IRBuilder.
...
llvm-svn: 75040
2009-07-08 20:50:47 +00:00
Bill Wendling
cb368e295d
Use llvm::raw_stream instead of llvm::Streams.
...
llvm-svn: 71573
2009-05-12 18:29:42 +00:00
Nick Lewycky
4ac15cee54
Fix compile error. Pointed out by mait on #llvm IRC!
...
llvm-svn: 68910
2009-04-12 20:15:44 +00:00
Gabor Greif
42225e50f3
do not pretend llvm/.../*.h being system headers
...
llvm-svn: 66697
2009-03-11 20:23:40 +00:00
Gabor Greif
605c7cab75
fix validator errors
...
llvm-svn: 66688
2009-03-11 20:04:08 +00:00
Gabor Greif
bfdf23f07c
Fix exaples using IRBuilder. Thanks, Quadrescence and Glip7 from IRC!
...
llvm-svn: 66687
2009-03-11 19:51:07 +00:00
Chris Lattner
da0921f5e6
mention rdynamic, PR3431, patch by Stein Roger Skafløtten!
...
llvm-svn: 64106
2009-02-09 00:04:40 +00:00
Chris Lattner
e5a6d7ddae
fix some incorrect links.
...
llvm-svn: 60919
2008-12-12 04:20:01 +00:00
Torok Edwin
49c28e4599
fix typo
...
llvm-svn: 58384
2008-10-29 16:32:06 +00:00
Gabor Greif
8030749993
adjust calls to ConstantFP::get to new API
...
llvm-svn: 52165
2008-06-10 01:52:17 +00:00
Chris Lattner
e438c56174
Update text to point people at the right version of the tutorial for
...
their release.
llvm-svn: 51638
2008-05-28 06:16:08 +00:00
Gabor Greif
e48de9c781
adapt to new API
...
llvm-svn: 51387
2008-05-21 18:30:15 +00:00
Bill Wendling
d01e263f39
Grammar fix.
...
llvm-svn: 51236
2008-05-19 00:25:01 +00:00
Bill Wendling
acbcce41cb
Delete module.
...
llvm-svn: 51235
2008-05-19 00:20:45 +00:00
Bill Wendling
8912f21250
Convert non-ASCII apostrophes into ASCII apostrophes.
...
llvm-svn: 51234
2008-05-19 00:19:02 +00:00
Bill Wendling
08226ea2ee
Delete the Module object.
...
llvm-svn: 51233
2008-05-19 00:15:33 +00:00
Bill Wendling
dc73a703db
s/insure/ensure/
...
llvm-svn: 51232
2008-05-19 00:05:30 +00:00
Gabor Greif
5b665498af
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
a5eb45bcfd
A couple minor fixes suggested by Matthijs Kooijman
...
llvm-svn: 49729
2008-04-15 16:59:22 +00:00
Chris Lattner
f87e052128
improve diagnostics in call parsing, patch suggested by
...
Matthijs Kooijman
llvm-svn: 49648
2008-04-14 16:44:41 +00:00
Duncan Sands
a07136ee2d
Merge LLVMBuilder and FoldingBuilder, calling
...
the result IRBuilder. Patch by Dominic Hamon.
llvm-svn: 49604
2008-04-13 06:22:09 +00:00
Erick Tryzelaar
eb1242a083
There isn't any c++ code in LangImpl8.html, so use that
...
instead of OCamlLangImpl8.html.
llvm-svn: 48979
2008-03-31 08:50:45 +00:00
Erick Tryzelaar
0039235491
Chapter 5, 6, and 7 of the ocaml/kaleidoscope tutorial
...
and fix some tabs in chapter 3 and 4.
llvm-svn: 48978
2008-03-31 08:44:50 +00:00
Erick Tryzelaar
dd0ace574b
Tweak build system to allow for installing the tutorial and uninstalling the docs.
...
llvm-svn: 48968
2008-03-30 20:32:18 +00:00
Erick Tryzelaar
a2eba03db2
Fix some documentation for the tutorial.
...
llvm-svn: 48966
2008-03-30 19:14:31 +00:00
Erick Tryzelaar
ca3c28bd58
Add chapter 3 and 4 of the ocaml/kaleidoscope tutorial.
...
llvm-svn: 48949
2008-03-30 09:57:12 +00:00
Erick Tryzelaar
a5e13fab86
Adding the first two chapters of the ocaml/kaleidoscope tutorial.
...
llvm-svn: 48871
2008-03-27 08:18:07 +00:00
Erick Tryzelaar
05acd73a73
Test commit (removed trailing whitespace)
...
llvm-svn: 48809
2008-03-26 00:38:56 +00:00
Owen Anderson
ce2682184f
Oops. I wanted the compile flags for C++, not the C preprocessor flags.
...
llvm-svn: 48744
2008-03-24 21:38:01 +00:00
Chris Lattner
c8576eeaad
fix some bugs in tutorial, patch by Erick Tryzelaar
...
llvm-svn: 47481
2008-02-22 17:09:39 +00:00
Chris Lattner
a1ad2bf890
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