summaryrefslogtreecommitdiff
path: root/docs/tutorial
Commit message (Collapse)AuthorAge
...
* Sync c++ kaleidoscope tutorial with test.Erick Tryzelaar2009-09-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82572 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose initializing the native target for the execution engine.Erick Tryzelaar2009-09-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81800 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure to initialize the fpm in the ocaml tutorial.Erick Tryzelaar2009-09-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81799 91177308-0d34-0410-b5e6-96231b3b80d8
* Update the tutorial to match changes to examples/Kaleidoscope.Nick Lewycky2009-09-13
| | | | | | | | One change I'm not folding in is the removal of two unused variables that caused warnings, because those were there for expository purposes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81721 91177308-0d34-0410-b5e6-96231b3b80d8
* Allocate the module provider in the Kaleidoscope code on the heap, not the ↵Reid Kleckner2009-08-26
| | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80138 91177308-0d34-0410-b5e6-96231b3b80d8
* Update the ocaml docs to work with LLVMContext.Erick Tryzelaar2009-08-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79431 91177308-0d34-0410-b5e6-96231b3b80d8
* #include <cstdlib> in the code listing for strtod.John McCall2009-08-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79285 91177308-0d34-0410-b5e6-96231b3b80d8
* Push LLVMContexts through the IntegerType APIs.Owen Anderson2009-08-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78948 91177308-0d34-0410-b5e6-96231b3b80d8
* Documentation: fix HTML validation errors.Benjamin Kramer2009-08-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78196 91177308-0d34-0410-b5e6-96231b3b80d8
* Move a few more APIs back to 2.5 forms. The only remaining ones left to ↵Owen Anderson2009-07-31
| | | | | | | | | change back are metadata related, which I'm waiting on to avoid conflicting with Devang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77721 91177308-0d34-0410-b5e6-96231b3b80d8
* Move types back to the 2.5 API.Owen Anderson2009-07-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77516 91177308-0d34-0410-b5e6-96231b3b80d8
* Move ConstantFP construction back to the 2.5-ish API.Owen Anderson2009-07-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77247 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of the Pass+Context magic.Owen Anderson2009-07-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76702 91177308-0d34-0410-b5e6-96231b3b80d8
* Various doc updates from Edward O'Callaghan!Chris Lattner2009-07-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76668 91177308-0d34-0410-b5e6-96231b3b80d8
* Add EngineBuilder to ExecutionEngine in favor of the five optional argument ↵Reid Kleckner2009-07-18
| | | | | | | | | EE::create(). Also a test commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76276 91177308-0d34-0410-b5e6-96231b3b80d8
* Privatize the ConstantFP table. I'm on a roll!Owen Anderson2009-07-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76097 91177308-0d34-0410-b5e6-96231b3b80d8
* Begin the painful process of tearing apart the rat'ss nest that is ↵Owen Anderson2009-07-13
| | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75445 91177308-0d34-0410-b5e6-96231b3b80d8
* Push LLVMContext _back_ through IRBuilder.Owen Anderson2009-07-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75040 91177308-0d34-0410-b5e6-96231b3b80d8
* Use llvm::raw_stream instead of llvm::Streams.Bill Wendling2009-05-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71573 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix compile error. Pointed out by mait on #llvm IRC!Nick Lewycky2009-04-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68910 91177308-0d34-0410-b5e6-96231b3b80d8
* do not pretend llvm/.../*.h being system headersGabor Greif2009-03-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66697 91177308-0d34-0410-b5e6-96231b3b80d8
* fix validator errorsGabor Greif2009-03-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66688 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix exaples using IRBuilder. Thanks, Quadrescence and Glip7 from IRC!Gabor Greif2009-03-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66687 91177308-0d34-0410-b5e6-96231b3b80d8
* mention rdynamic, PR3431, patch by Stein Roger Skafløtten!Chris Lattner2009-02-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64106 91177308-0d34-0410-b5e6-96231b3b80d8
* fix some incorrect links.Chris Lattner2008-12-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60919 91177308-0d34-0410-b5e6-96231b3b80d8
* fix typoTorok Edwin2008-10-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58384 91177308-0d34-0410-b5e6-96231b3b80d8
* adjust calls to ConstantFP::get to new APIGabor Greif2008-06-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52165 91177308-0d34-0410-b5e6-96231b3b80d8
* Update text to point people at the right version of the tutorial forChris Lattner2008-05-28
| | | | | | | their release. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51638 91177308-0d34-0410-b5e6-96231b3b80d8
* adapt to new APIGabor Greif2008-05-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51387 91177308-0d34-0410-b5e6-96231b3b80d8
* Grammar fix.Bill Wendling2008-05-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51236 91177308-0d34-0410-b5e6-96231b3b80d8
* Delete module.Bill Wendling2008-05-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51235 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert non-ASCII apostrophes into ASCII apostrophes.Bill Wendling2008-05-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51234 91177308-0d34-0410-b5e6-96231b3b80d8
* Delete the Module object.Bill Wendling2008-05-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51233 91177308-0d34-0410-b5e6-96231b3b80d8
* s/insure/ensure/Bill Wendling2008-05-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51232 91177308-0d34-0410-b5e6-96231b3b80d8
* merge of 49966 from branches/ggreif/use-diet to trunk. these are already ↵Gabor Greif2008-04-19
| | | | | | active API changes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49968 91177308-0d34-0410-b5e6-96231b3b80d8
* A couple minor fixes suggested by Matthijs KooijmanChris Lattner2008-04-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49729 91177308-0d34-0410-b5e6-96231b3b80d8
* improve diagnostics in call parsing, patch suggested byChris Lattner2008-04-14
| | | | | | | Matthijs Kooijman git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49648 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge LLVMBuilder and FoldingBuilder, callingDuncan Sands2008-04-13
| | | | | | | the result IRBuilder. Patch by Dominic Hamon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49604 91177308-0d34-0410-b5e6-96231b3b80d8
* There isn't any c++ code in LangImpl8.html, so use thatErick Tryzelaar2008-03-31
| | | | | | | instead of OCamlLangImpl8.html. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48979 91177308-0d34-0410-b5e6-96231b3b80d8
* Chapter 5, 6, and 7 of the ocaml/kaleidoscope tutorialErick Tryzelaar2008-03-31
| | | | | | | and fix some tabs in chapter 3 and 4. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48978 91177308-0d34-0410-b5e6-96231b3b80d8
* Tweak build system to allow for installing the tutorial and uninstalling the ↵Erick Tryzelaar2008-03-30
| | | | | | docs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48968 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix some documentation for the tutorial.Erick Tryzelaar2008-03-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48966 91177308-0d34-0410-b5e6-96231b3b80d8
* Add chapter 3 and 4 of the ocaml/kaleidoscope tutorial.Erick Tryzelaar2008-03-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48949 91177308-0d34-0410-b5e6-96231b3b80d8
* Adding the first two chapters of the ocaml/kaleidoscope tutorial.Erick Tryzelaar2008-03-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48871 91177308-0d34-0410-b5e6-96231b3b80d8
* Test commit (removed trailing whitespace)Erick Tryzelaar2008-03-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48809 91177308-0d34-0410-b5e6-96231b3b80d8
* Oops. I wanted the compile flags for C++, not the C preprocessor flags.Owen Anderson2008-03-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48744 91177308-0d34-0410-b5e6-96231b3b80d8
* fix some bugs in tutorial, patch by Erick TryzelaarChris Lattner2008-02-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47481 91177308-0d34-0410-b5e6-96231b3b80d8
* Various updates from Sam Bishop:Chris Lattner2008-02-10
| | | | | | | | | | | | | | | | "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." git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46933 91177308-0d34-0410-b5e6-96231b3b80d8
* dump the module *before* we delete it, not after.Chris Lattner2008-02-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46741 91177308-0d34-0410-b5e6-96231b3b80d8
* fix typo noticed by Joshua PenningtonChris Lattner2007-12-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44522 91177308-0d34-0410-b5e6-96231b3b80d8