summaryrefslogtreecommitdiffstats
path: root/llvm/docs/tutorial
Commit message (Collapse)AuthorAgeFilesLines
...
* docs: Update Kaleidoscope for recent DI changesDuncan P. N. Exon Smith2015-04-181-26/+26
| | | | | | | | This has been bit-rotting, so fix it up. I'll have to edit this again once the MD* classes have been renamed to DI* -- I'll try to remember to do that with the commit that renames them. llvm-svn: 235244
* Correct 'teh' and other typos / repeated words.Ed Maste2015-04-142-2/+2
| | | | | | | | Patch by Eitan Adler. Differential Revision: http://reviews.llvm.org/D8514 llvm-svn: 234939
* [docs] Fix typo.Sean Silva2015-03-312-2/+2
| | | | | | Based on a patch by Stanislav Manilov! llvm-svn: 233771
* [docs] Fix some malformed links.Sean Silva2015-03-172-2/+2
| | | | | | Patch by Stanislav Manilov! llvm-svn: 232546
* Rename the 'Extending the Language: Debug Information' to 'Adding Debug ↵David Blaikie2015-02-072-4/+4
| | | | | | Information' since this isn't actually modifying/extending the language. llvm-svn: 228512
* Fixup debug information references.Charlie Turner2015-01-243-11/+13
| | | | llvm-svn: 227020
* Update references to lines of code count.Charlie Turner2015-01-242-2/+2
| | | | | | | | The number of lines of code in Kaleidoscope has risen from the previously reported 700 to 986 according to the cloc tool. This tools was run on the toy.cpp file from Chapter 8. llvm-svn: 227019
* The Kaleidoscope tutorial should be using "mcjit" for the library,Eric Christopher2015-01-085-5/+5
| | | | | | "jit" doesn't exist anymore. llvm-svn: 225462
* Add argument variable support to the debug info tutorialEric Christopher2014-12-091-9/+43
| | | | | | | and rearrange the prologue source location hack to immediately after it. llvm-svn: 223725
* Clean up the rst for the debug info tutorialEric Christopher2014-12-081-52/+52
| | | | llvm-svn: 223682
* Add Chapter 8 to the Kaleidoscope tutorial. This chapter addsEric Christopher2014-12-082-262/+687
| | | | | | | | | a description of how to add debug information using DWARF and DIBuilder to the language. Thanks to David Blaikie for his assistance with this tutorial. llvm-svn: 223671
* [Docs][JIT] Update the clang++ invocation lines in the kaleidoscope docs.Lang Hames2014-11-065-5/+5
| | | | | | | The old examples had missing/incorrect flags that were causing failures on newer versions of clang and the tutorial code. llvm-svn: 221419
* [docs] Clean up some more llvm-gcc stuffSean Silva2014-02-194-4/+4
| | | | | | | | | | Some references to llvm-gcc were so crusty that I wasn't sure how to proceed and so I've left them intact. I also slipped in a quick peephole fix to use a :doc: link instead of raw HTML link. llvm-svn: 201619
* [OCaml] (PR10016) Add a few missing line in OCamlLangImpl2.rstPeter Zotov2013-11-051-0/+3
| | | | | | Original patch by Damien Schoof llvm-svn: 194067
* [docs] Fix broken link.Sean Silva2013-06-211-1/+1
| | | | llvm-svn: 184514
* Update code listings in LLVM tutorial.Logan Chien2013-06-086-4569/+12
| | | | | | | | | | | Several LLVM headers are moved. The code listings in LLVM tutorial are not updated yet. This CL removes the code replica in the .rst, and replace them with a literalinclude directive, so that sphinx can include the latest code automatically. llvm-svn: 183607
* Fix spellingNikola Smiljanic2013-05-011-1/+1
| | | | llvm-svn: 180843
* [docs] Remove explicit authorship.Sean Silva2013-03-1116-39/+0
| | | | | | | In the spirit of r172109. Version control keeps a far more detailed record of authorship anyways. llvm-svn: 176807
* docs: Update title of external tutorial.Sean Silva2013-01-231-1/+1
| | | | llvm-svn: 173224
* docs: Move link to the new "external tutorials" area.Sean Silva2012-12-271-0/+5
| | | | llvm-svn: 171154
* docs: Add link to external LLVM backend tutorial.Sean Silva2012-12-231-0/+8
| | | | llvm-svn: 170998
* docs: Sphinxify `docs/tutorial/`Sean Silva2012-12-0533-19072/+17106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* docs: Begin Sphinxification of docs/tutorial/Sean Silva2012-12-042-48/+36
| | | | llvm-svn: 169309
* Move TargetData to DataLayout.Micah Villmow2012-10-088-16/+16
| | | | llvm-svn: 165403
* Fix some minor typosSylvestre Ledru2012-07-312-2/+2
| | | | llvm-svn: 161037
* Fix a typo (the the => the)Sylvestre Ledru2012-07-232-2/+2
| | | | llvm-svn: 160621
* Move llvm/Support/IRBuilder.h -> llvm/IRBuilder.hChandler Carruth2012-06-295-5/+5
| | | | | | | | | | | | | | | | | 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-0218-47/+17
| | | | llvm-svn: 156032
* Remove llvm-ld and llvm-stub (which is only used by llvm-ld).Michael J. Spencer2012-04-192-8/+6
| | | | | | | | | | | | | | | | llvm-ld is no longer useful and causes confusion and so it is being removed. * Does not work very well on Windows because it must call a gcc like driver to assemble and link. * Has lots of hard coded paths which are wrong on many systems. * Does not understand most of ld's options. * Can be partially replaced by llvm-link | opt | {llc | as, llc -filetype=obj} | ld, or fully replaced by Clang. I know of no production use of llvm-ld, and hacking use should be replaced by Clang's driver. llvm-svn: 155147
* Install the PNG file as well. PR4780.Bill Wendling2011-10-161-0/+2
| | | | llvm-svn: 142125
* Update tutorial to reflect the current APIs. Also correct a small omission inBill Wendling2011-10-166-215/+240
| | | | | | | LangImpl6.html (it needed to defined the 'binary :' operator). PR9052 llvm-svn: 142123
* Tell people using the tutorial how to make it actually work.David Chisnall2011-10-041-0/+6
| | | | llvm-svn: 141103
* A couple of minor fixes to the OCaml tutorial. PR10025 and PR10316. ↵Eli Friedman2011-07-151-5/+6
| | | | | | Patches by Damien Schoof! llvm-svn: 135293
* docs: Introduce cascading style <div> and <p> continued on <h[2-5]>.NAKAMURA Takumi2011-04-2316-134/+134
| | | | | | | | | | | | | | | | | <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-1817-181/+135
| | | | | | | | | H1 ... doc_title H2 ... doc_section H3 ... doc_subsection H4 ... doc_subsubsection llvm-svn: 129736
* docs/*.html: Make W3C HTML 4.01 Strict more compliant.NAKAMURA Takumi2011-04-093-3/+3
| | | | | FIXME: The logo handling in ReleaseNotes.html llvm-svn: 129208
* docs/tutorial/OCamlLangImpl7.html: Fix a href to missing Chapter 8.NAKAMURA Takumi2011-04-091-1/+1
| | | | llvm-svn: 129183
* docs: Canonicalize URLs.NAKAMURA Takumi2011-04-0916-16/+16
| | | | llvm-svn: 129181
* Remove PHINode::reserveOperandSpace(). Instead, add a parameter toJay Foad2011-03-303-7/+7
| | | | | | PHINode::Create() giving the (known or expected) number of operands. llvm-svn: 128537
* Fix typo pointed out in pr9339.Duncan Sands2011-02-271-1/+1
| | | | llvm-svn: 126573
* Minor fixes to tutorial, patch by Benjamin Meyer!Chris Lattner2011-02-151-2/+2
| | | | llvm-svn: 125544
* Add a reference to the OCamlLangImpl8.Erick Tryzelaar2011-01-011-1/+1
| | | | llvm-svn: 122651
* Add an OCaml tutorial page 8Erick Tryzelaar2011-01-012-1/+366
| | | | llvm-svn: 122650
* Fix missing includes of "llvm/Analysis/Passes.h" in the tutorials. ThanksDan Gohman2010-11-164-0/+4
| | | | | | 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-154-0/+10
| | | | | | no longer included by default. llvm-svn: 119169
* update the tutorial to use CreateFAdd to create fp operations.Chris Lattner2010-09-014-9/+9
| | | | llvm-svn: 112733
* fix typos reported by Adam Warner!Chris Lattner2010-06-212-2/+2
| | | | llvm-svn: 106468
* Update html tutorial docs to match api changes.Eric Christopher2010-06-145-18/+18
| | | | llvm-svn: 105933
* Fix whitespace to be more consistent with AsmPrinter's style.Dan Gohman2010-05-288-32/+32
| | | | llvm-svn: 104962
* Revert r103213. It broke several sections of live website.mike-m2010-05-0718-0/+18760
| | | | llvm-svn: 103219
OpenPOWER on IntegriCloud