1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[docs] Update the llvm/example section

Added details about the llvm/example section.

Reviewed By: xgupta

Differential Revision: https://reviews.llvm.org/D101284
This commit is contained in:
Pooja Yadav 2021-05-05 21:27:24 +05:30 committed by xgupta
parent 3018d0bd19
commit dfdd7885ea

View File

@ -817,7 +817,21 @@ layout:
``llvm/examples``
-----------------
Simple examples using the LLVM IR and JIT.
- Some simple examples showing how to use LLVM as a compiler for a custom
language - including lowering, optimization, and code generation.
- Kaleidoscope Tutorial: Kaleidoscope language tutorial run through the
implementation of a nice little compiler for a non-trivial language
including a hand-written lexer, parser, AST, as well as code generation
support using LLVM- both static (ahead of time) and various approaches to
Just In Time (JIT) compilation.
`Kaleidoscope Tutorial for complete beginner
<https://llvm.org/docs/tutorial/MyFirstLanguageFrontend/index.html>`_.
- BuildingAJIT: Examples of the `BuildingAJIT tutorial
<https://llvm.org/docs/tutorial/BuildingAJIT1.html>`_ that shows how LLVMs
ORC JIT APIs interact with other parts of LLVM. It also, teaches how to
recombine them to build a custom JIT that is suited to your use-case.
``llvm/include``
----------------