summaryrefslogtreecommitdiffstats
path: root/llvm/docs/tutorial
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Overhauled llvm/clang docs builds. Closes PR6613.mike-m2010-05-0618-18760/+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
* Fix the ocaml kaleidoscope tutorial to fix linking external libraries.Erick Tryzelaar2010-03-212-2/+2
| | | | llvm-svn: 99151
* Update the OCaml Kaleidoscope tutorial.Erick Tryzelaar2010-03-085-65/+58
| | | | llvm-svn: 97965
* Rewrite makefiles to explicitly reference DESTDIR to fix bug 3153.Erick Tryzelaar2010-03-041-1/+1
| | | | | | We need this so can not bake DESTDIR into the O'Caml symlinks. llvm-svn: 97743
* Floating-point add, sub, and mul are now spelled fadd, fsub, and fmul,Dan Gohman2010-03-028-77/+77
| | | | | | 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
* Make Kaleidoscope not link against the interpreter, since that didn'tJeffrey Yasskin2010-02-114-9/+25
| | | | | | | | 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-0315-15/+15
| | | | | | | 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-274-47/+22
| | | | | | | | | | | | | | | | | | | | | 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
* Remove the 'simple jit' tutorial as it wasn't really being maintained and itsNick Lewycky2009-11-304-417/+0
| | | | | | material is covered by the Kaleidoscope tutorial. llvm-svn: 90111
* Change the JIT to compile eagerly by default as agreed inJeffrey Yasskin2009-10-272-38/+28
| | | | | | | http://llvm.org/PR5184, and beef up the comments to describe what both options do and the risks of lazy compilation in the presence of threads. llvm-svn: 85295
* Documentation: Perform automated correction of common typos.Benjamin Kramer2009-10-124-6/+6
| | | | llvm-svn: 83849
* Sync c++ kaleidoscope tutorial with test.Erick Tryzelaar2009-09-226-88/+95
| | | | llvm-svn: 82572
* Expose initializing the native target for the execution engine.Erick Tryzelaar2009-09-144-0/+8
| | | | llvm-svn: 81800
* Make sure to initialize the fpm in the ocaml tutorial.Erick Tryzelaar2009-09-144-0/+10
| | | | llvm-svn: 81799
* Update the tutorial to match changes to examples/Kaleidoscope.Nick Lewycky2009-09-135-29/+77
| | | | | | | 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-264-144/+145
| | | | | | 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
* Update the ocaml docs to work with LLVMContext.Erick Tryzelaar2009-08-195-13/+18
| | | | llvm-svn: 79431
* #include <cstdlib> in the code listing for strtod.John McCall2009-08-171-0/+1
| | | | llvm-svn: 79285
* Push LLVMContexts through the IntegerType APIs.Owen Anderson2009-08-137-65/+65
| | | | llvm-svn: 78948
* Documentation: fix HTML validation errors.Benjamin Kramer2009-08-052-4/+4
| | | | llvm-svn: 78196
* Move a few more APIs back to 2.5 forms. The only remaining ones left to ↵Owen Anderson2009-07-313-3/+3
| | | | | | | | 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-295-6/+6
| | | | llvm-svn: 77516
* Move ConstantFP construction back to the 2.5-ish API.Owen Anderson2009-07-275-20/+20
| | | | llvm-svn: 77247
* Get rid of the Pass+Context magic.Owen Anderson2009-07-223-3/+3
| | | | llvm-svn: 76702
* Various doc updates from Edward O'Callaghan!Chris Lattner2009-07-212-4/+4
| | | | llvm-svn: 76668
* Add EngineBuilder to ExecutionEngine in favor of the five optional argument ↵Reid Kleckner2009-07-184-5/+5
| | | | | | | | EE::create(). Also a test commit. llvm-svn: 76276
* Privatize the ConstantFP table. I'm on a roll!Owen Anderson2009-07-165-30/+30
| | | | llvm-svn: 76097
* Begin the painful process of tearing apart the rat'ss nest that is ↵Owen Anderson2009-07-133-3/+3
| | | | | | | | | 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
OpenPOWER on IntegriCloud