summaryrefslogtreecommitdiffstats
path: root/llvm/docs/tutorial/LangImpl7.html
Commit message (Collapse)AuthorAgeFilesLines
* docs: Sphinxify `docs/tutorial/`Sean Silva2012-12-051-2164/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sorry for the massive commit, but I just wanted to knock this one down and it is really straightforward. There are still a couple trivial (i.e. not related to the content) things left to fix: - Use of raw HTML links where :doc:`...` and :ref:`...` could be used instead. If you are a newbie and want to help fix this it would make for some good bite-sized patches; more experienced developers should be focusing on adding new content (to this tutorial or elsewhere, but please _do not_ waste your time on formatting when there is such dire need for documentation (see docs/SphinxQuickstartTemplate.rst to get started writing)). - Highlighting of the kaleidoscope code blocks (currently left as bare `::`). I will be working on writing a custom Pygments highlighter for this, mostly as training for maintaining the `llvm` code-block's lexer in-tree. I want to do this because I am extremely unhappy with how it just "gives up" on the slightest deviation from the expected syntax and leaves the whole code-block un-highlighted. More generally I am looking at writing some Sphinx extensions and keeping them in-tree as well, to support common use cases that currently have no good solution (like "monospace text inside a link"). llvm-svn: 169343
* Move TargetData to DataLayout.Micah Villmow2012-10-081-3/+3
| | | | llvm-svn: 165403
* Move llvm/Support/IRBuilder.h -> llvm/IRBuilder.hChandler Carruth2012-06-291-1/+1
| | | | | | | | | | | | | | | | | This was always part of the VMCore library out of necessity -- it deals entirely in the IR. The .cpp file in fact was already part of the VMCore library. This is just a mechanical move. I've tried to go through and re-apply the coding standard's preferred header sort, but at 40-ish files, I may have gotten some wrong. Please let me know if so. I'll be committing the corresponding updates to Clang and Polly, and Duncan has DragonEgg. Thanks to Bill and Eric for giving the green light for this bit of cleanup. llvm-svn: 159421
* [docs] Include the Kaleidescope tutorial in the Sphinx docs build.Daniel Dunbar2012-05-021-1/+1
| | | | llvm-svn: 156032
* Update tutorial to reflect the current APIs. Also correct a small omission inBill Wendling2011-10-161-82/+82
| | | | | | | LangImpl6.html (it needed to defined the 'binary :' operator). PR9052 llvm-svn: 142123
* docs: Introduce cascading style <div> and <p> continued on <h[2-5]>.NAKAMURA Takumi2011-04-231-8/+8
| | | | | | | | | | | | | | | | | <h2>Section Example</h2> <div> <!-- h2+div is applied --> <p>Section preamble.</p> <h3>Subsection Example</h3> <p> <!-- h3+p is applied --> Subsection body </p> <!-- End of section body --> </div> FIXME: Care H5 better. llvm-svn: 130040
* docs: Use <Hn> as Heading elements instead of <DIV class="doc_foo">.NAKAMURA Takumi2011-04-181-12/+9
| | | | | | | | | H1 ... doc_title H2 ... doc_section H3 ... doc_subsection H4 ... doc_subsubsection llvm-svn: 129736
* docs: Canonicalize URLs.NAKAMURA Takumi2011-04-091-1/+1
| | | | llvm-svn: 129181
* Remove PHINode::reserveOperandSpace(). Instead, add a parameter toJay Foad2011-03-301-1/+1
| | | | | | PHINode::Create() giving the (known or expected) number of operands. llvm-svn: 128537
* Fix missing includes of "llvm/Analysis/Passes.h" in the tutorials. ThanksDan Gohman2010-11-161-0/+1
| | | | | | for Arnaud Allard de Grandmaison for preparing a patch. llvm-svn: 119351
* Update examples and documentation to explicitly add basicaa, now that it'sDan Gohman2010-11-151-0/+2
| | | | | | no longer included by default. llvm-svn: 119169
* update the tutorial to use CreateFAdd to create fp operations.Chris Lattner2010-09-011-2/+2
| | | | llvm-svn: 112733
* Update html tutorial docs to match api changes.Eric Christopher2010-06-141-3/+3
| | | | llvm-svn: 105933
* Fix whitespace to be more consistent with AsmPrinter's style.Dan Gohman2010-05-281-6/+6
| | | | llvm-svn: 104962
* Revert r103213. It broke several sections of live website.mike-m2010-05-071-0/+2164
| | | | llvm-svn: 103219
* Overhauled llvm/clang docs builds. Closes PR6613.mike-m2010-05-061-2164/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOTE: 2nd part changeset for cfe trunk to follow. *** PRE-PATCH ISSUES ADDRESSED - clang api docs fail build from objdir - clang/llvm api docs collide in install PREFIX/ - clang/llvm main docs collide in install - clang/llvm main docs have full of hard coded destination assumptions and make use of absolute root in static html files; namely CommandGuide tools hard codes a website destination for cross references and some html cross references assume website root paths *** IMPROVEMENTS - bumped Doxygen from 1.4.x -> 1.6.3 - splits llvm/clang docs into 'main' and 'api' (doxygen) build trees - provide consistent, reliable doc builds for both main+api docs - support buid vs. install vs. website intentions - support objdir builds - document targets with 'make help' - correct clean and uninstall operations - use recursive dir delete only where absolutely necessary - added call function fn.RMRF which safeguards against botched 'rm -rf'; if any target (or any variable is evaluated) which attempts to remove any dirs which match a hard-coded 'safelist', a verbose error will be printed and make will error-stop. llvm-svn: 103213
* Floating-point add, sub, and mul are now spelled fadd, fsub, and fmul,Dan Gohman2010-03-021-9/+9
| | | | | | respectively. llvm-svn: 97531
* 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-20/+15
| | | | llvm-svn: 82572
* Update the tutorial to match changes to examples/Kaleidoscope.Nick Lewycky2009-09-131-6/+18
| | | | | | | 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-32/+29
| | | | | | 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-13/+13
| | | | llvm-svn: 78948
* 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-6/+6
| | | | 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-7/+7
| | | | 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-3/+3
| | | | llvm-svn: 66687
* adjust calls to ConstantFP::get to new APIGabor Greif2008-06-101-6/+6
| | | | llvm-svn: 52165
* merge of 49966 from branches/ggreif/use-diet to trunk. these are already ↵Gabor Greif2008-04-191-7/+7
| | | | | | 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-7/+7
| | | | | | 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-5/+6
| | | | llvm-svn: 46741
* fix typo noticed by Joshua PenningtonChris Lattner2007-12-021-1/+1
| | | | llvm-svn: 44522
* many edits, patch by Kelly Wilson!Chris Lattner2007-11-151-25/+25
| | | | llvm-svn: 44157
* chapter 7 editsChris Lattner2007-11-071-9/+10
| | | | llvm-svn: 43811
* fixes from Ryan Brown.Chris Lattner2007-11-061-7/+7
| | | | 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-4/+20
| | | | llvm-svn: 43723
* spell identifier correctly.Chris Lattner2007-11-051-11/+11
| | | | llvm-svn: 43718
* Dan points out that mem2reg also promotes vectors: be more precise.Chris Lattner2007-11-051-1/+3
| | | | llvm-svn: 43715
* finish the chapter.Chris Lattner2007-11-051-2/+1793
| | | | llvm-svn: 43689
* fix typosChris Lattner2007-11-041-2/+2
| | | | llvm-svn: 43682
* finish the 'Memory in LLVM' sectionChris Lattner2007-11-031-7/+53
| | | | llvm-svn: 43667
OpenPOWER on IntegriCloud