summaryrefslogtreecommitdiffstats
path: root/llvm/docs/tutorial/LangImpl5.html
Commit message (Collapse)AuthorAgeFilesLines
* Make Kaleidoscope not link against the interpreter, since that didn'tJeffrey Yasskin2010-02-111-2/+6
| | | | | | | | work anyway (Interpreter::getPointerToFunction doesn't return a callable pointer), and improve the error message when an ExecutionEngine can't be created. llvm-svn: 95896
* Add "Author Date Id Revision" svn:keyword properties to these files, asDan Gohman2010-02-031-1/+1
| | | | | | | is done with the other html files in doc, to hopefully keep strings like "Last modified" current. llvm-svn: 95225
* Kill ModuleProvider and ghost linkage by inverting the relationship betweenJeffrey Yasskin2010-01-271-7/+3
| | | | | | | | | | | | | | | | | | | | | Modules and ModuleProviders. Because the "ModuleProvider" simply materializes GlobalValues now, and doesn't provide modules, it's renamed to "GVMaterializer". Code that used to need a ModuleProvider to materialize Functions can now materialize the Functions directly. Functions no longer use a magic linkage to record that they're materializable; they simply ask the GVMaterializer. Because the C ABI must never change, we can't remove LLVMModuleProviderRef or the functions that refer to it. Instead, because Module now exposes the same functionality ModuleProvider used to, we store a Module* in any LLVMModuleProviderRef and translate in the wrapper methods. The bindings to other languages still use the ModuleProvider concept. It would probably be worth some time to update them to follow the C++ more closely, but I don't intend to do it. Fixes http://llvm.org/PR5737 and http://llvm.org/PR5735. llvm-svn: 94686
* Sync c++ kaleidoscope tutorial with test.Erick Tryzelaar2009-09-221-12/+14
| | | | llvm-svn: 82572
* Update the tutorial to match changes to examples/Kaleidoscope.Nick Lewycky2009-09-131-5/+14
| | | | | | | 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
* Allocate the module provider in the Kaleidoscope code on the heap, not the ↵Reid Kleckner2009-08-261-29/+30
| | | | | | 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
* Push LLVMContexts through the IntegerType APIs.Owen Anderson2009-08-131-20/+20
| | | | llvm-svn: 78948
* Documentation: fix HTML validation errors.Benjamin Kramer2009-08-051-2/+2
| | | | llvm-svn: 78196
* Move a few more APIs back to 2.5 forms. The only remaining ones left to ↵Owen Anderson2009-07-311-1/+1
| | | | | | | | change back are metadata related, which I'm waiting on to avoid conflicting with Devang. llvm-svn: 77721
* Move types back to the 2.5 API.Owen Anderson2009-07-291-1/+1
| | | | llvm-svn: 77516
* Move ConstantFP construction back to the 2.5-ish API.Owen Anderson2009-07-271-7/+7
| | | | llvm-svn: 77247
* Get rid of the Pass+Context magic.Owen Anderson2009-07-221-1/+1
| | | | llvm-svn: 76702
* Add EngineBuilder to ExecutionEngine in favor of the five optional argument ↵Reid Kleckner2009-07-181-1/+1
| | | | | | | | EE::create(). Also a test commit. llvm-svn: 76276
* Privatize the ConstantFP table. I'm on a roll!Owen Anderson2009-07-161-9/+9
| | | | llvm-svn: 76097
* Begin the painful process of tearing apart the rat'ss nest that is ↵Owen Anderson2009-07-131-1/+1
| | | | | | | | | 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
* Push LLVMContext _back_ through IRBuilder.Owen Anderson2009-07-081-2/+3
| | | | llvm-svn: 75040
* Fix exaples using IRBuilder. Thanks, Quadrescence and Glip7 from IRC!Gabor Greif2009-03-111-1/+1
| | | | llvm-svn: 66687
* adjust calls to ConstantFP::get to new APIGabor Greif2008-06-101-7/+7
| | | | llvm-svn: 52165
* merge of 49966 from branches/ggreif/use-diet to trunk. these are already ↵Gabor Greif2008-04-191-12/+12
| | | | | | active API changes llvm-svn: 49968
* improve diagnostics in call parsing, patch suggested byChris Lattner2008-04-141-1/+1
| | | | | | Matthijs Kooijman llvm-svn: 49648
* Merge LLVMBuilder and FoldingBuilder, callingDuncan Sands2008-04-131-3/+3
| | | | | | the result IRBuilder. Patch by Dominic Hamon. llvm-svn: 49604
* Various updates from Sam Bishop:Chris Lattner2008-02-101-0/+1
| | | | | | | | | | | | | | "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
* dump the module *before* we delete it, not after.Chris Lattner2008-02-051-4/+4
| | | | llvm-svn: 46741
* fix typo noticed by Joshua PenningtonChris Lattner2007-12-021-1/+1
| | | | llvm-svn: 44522
* Many typos, grammaro, and wording fixes. Patch byChris Lattner2007-11-131-27/+25
| | | | | | Kelly Wilson, thanks! llvm-svn: 44043
* Typo fix in the tutorial.Gordon Henriksen2007-11-121-2/+2
| | | | llvm-svn: 44014
* edits for chapter 5Chris Lattner2007-11-071-12/+13
| | | | llvm-svn: 43808
* fixes from Ryan Brown.Chris Lattner2007-11-061-5/+6
| | | | llvm-svn: 43747
* add some links to the tutorial index and between chapters.Chris Lattner2007-11-051-0/+3
| | | | llvm-svn: 43730
* add table of contents to each chapter.Chris Lattner2007-11-051-5/+32
| | | | llvm-svn: 43723
* spell identifier correctly.Chris Lattner2007-11-051-7/+7
| | | | llvm-svn: 43718
* fix typoChris Lattner2007-11-051-1/+1
| | | | llvm-svn: 43717
* add a link.Chris Lattner2007-11-051-1/+2
| | | | llvm-svn: 43702
* okay, fine, make me finish this chapter. :)Chris Lattner2007-10-311-32/+977
| | | | | | Feedback appreciated! llvm-svn: 43548
* add the code for expression code that we'll add, though most of theChris Lattner2007-10-311-1/+265
| | | | | | description is missing. llvm-svn: 43547
* Add the first half of chapter 5: if/then/else. Chris Lattner2007-10-311-0/+523
To come: for statement. llvm-svn: 43546
OpenPOWER on IntegriCloud