summaryrefslogtreecommitdiffstats
path: root/llvm/docs/tutorial/LangImpl3.html
Commit message (Collapse)AuthorAgeFilesLines
* docs: Sphinxify `docs/tutorial/`Sean Silva2012-12-051-1268/+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 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-44/+44
| | | | | | | 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-6/+6
| | | | | | | | | | | | | | | | | <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-8/+7
| | | | | | | | | 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
* Minor fixes to tutorial, patch by Benjamin Meyer!Chris Lattner2011-02-151-2/+2
| | | | llvm-svn: 125544
* update the tutorial to use CreateFAdd to create fp operations.Chris Lattner2010-09-011-4/+4
| | | | 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/+1269
| | | | llvm-svn: 103219
* Overhauled llvm/clang docs builds. Closes PR6613.mike-m2010-05-061-1269/+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-15/+15
| | | | | | respectively. llvm-svn: 97531
* irbuilder is doing constant folding now by default, PR6092Chris Lattner2010-02-171-3/+3
| | | | llvm-svn: 96502
* fix some out of date prose dating from the LLVMContext changes.Chris Lattner2010-02-171-3/+3
| | | | llvm-svn: 96500
* 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
* Documentation: Perform automated correction of common typos.Benjamin Kramer2009-10-121-2/+2
| | | | llvm-svn: 83849
* Sync c++ kaleidoscope tutorial with test.Erick Tryzelaar2009-09-221-16/+25
| | | | llvm-svn: 82572
* Update the tutorial to match changes to examples/Kaleidoscope.Nick Lewycky2009-09-131-5/+10
| | | | | | | 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
* Push LLVMContexts through the IntegerType APIs.Owen Anderson2009-08-131-8/+8
| | | | llvm-svn: 78948
* Move types back to the 2.5 API.Owen Anderson2009-07-291-2/+2
| | | | llvm-svn: 77516
* Move ConstantFP construction back to the 2.5-ish API.Owen Anderson2009-07-271-2/+2
| | | | llvm-svn: 77247
* Various doc updates from Edward O'Callaghan!Chris Lattner2009-07-211-2/+2
| | | | llvm-svn: 76668
* Privatize the ConstantFP table. I'm on a roll!Owen Anderson2009-07-161-7/+7
| | | | llvm-svn: 76097
* 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-4/+4
| | | | llvm-svn: 66687
* adjust calls to ConstantFP::get to new APIGabor Greif2008-06-101-2/+2
| | | | llvm-svn: 52165
* Update text to point people at the right version of the tutorial forChris Lattner2008-05-281-1/+5
| | | | | | their release. llvm-svn: 51638
* adapt to new APIGabor Greif2008-05-211-1/+1
| | | | llvm-svn: 51387
* merge of 49966 from branches/ggreif/use-diet to trunk. these are already ↵Gabor Greif2008-04-191-4/+4
| | | | | | active API changes llvm-svn: 49968
* A couple minor fixes suggested by Matthijs KooijmanChris Lattner2008-04-151-1/+1
| | | | llvm-svn: 49729
* 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-5/+5
| | | | | | the result IRBuilder. Patch by Dominic Hamon. llvm-svn: 49604
* Various updates from Sam Bishop:Chris Lattner2008-02-101-19/+23
| | | | | | | | | | | | | | "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
* fix typo noticed by Joshua PenningtonChris Lattner2007-12-021-1/+1
| | | | llvm-svn: 44522
* Add a noteChris Lattner2007-11-281-0/+3
| | | | llvm-svn: 44414
* Many typos, grammaro, and wording fixes. Patch byChris Lattner2007-11-131-30/+29
| | | | | | Kelly Wilson, thanks! llvm-svn: 44043
* edits.Chris Lattner2007-11-071-26/+28
| | | | llvm-svn: 43804
* edits for chapter 3Chris Lattner2007-11-061-14/+18
| | | | llvm-svn: 43761
* clarify what proto is.Chris Lattner2007-11-061-2/+3
| | | | llvm-svn: 43753
* fixes from Ryan Brown.Chris Lattner2007-11-061-10/+12
| | | | llvm-svn: 43747
* add some links to the tutorial index and between chapters.Chris Lattner2007-11-051-0/+3
| | | | llvm-svn: 43730
* grammaroChris Lattner2007-11-051-1/+1
| | | | llvm-svn: 43729
* mention possibility of using a visitorChris Lattner2007-11-051-2/+7
| | | | llvm-svn: 43726
* clarify why prototype::codegen returns a function.Chris Lattner2007-11-051-1/+7
| | | | llvm-svn: 43725
* add table of contents to each chapter.Chris Lattner2007-11-051-3/+16
| | | | llvm-svn: 43723
* add link to llvmbuilder doxygen docsChris Lattner2007-11-051-1/+3
| | | | llvm-svn: 43719
* spell identifier correctly.Chris Lattner2007-11-051-3/+3
| | | | llvm-svn: 43718
* clarifyChris Lattner2007-11-051-3/+3
| | | | llvm-svn: 43712
OpenPOWER on IntegriCloud