NameDateSize

..05-Nov-20144 KiB

_static/05-Nov-20144 KiB

_templates/05-Nov-20144 KiB

_themes/05-Nov-20144 KiB

AliasAnalysis.rst05-Nov-201430.9 KiB

ARM-BE-bitcastfail.png05-Nov-201428.7 KiB

ARM-BE-bitcastsuccess.png05-Nov-201440.5 KiB

ARM-BE-ld1.png05-Nov-201422 KiB

ARM-BE-ldr.png05-Nov-201416.1 KiB

Atomics.rst05-Nov-201419.2 KiB

BigEndianNEON.rst05-Nov-201412.2 KiB

BitCodeFormat.rst05-Nov-201436.8 KiB

BlockFrequencyTerminology.rst05-Nov-20144.6 KiB

BranchWeightMetadata.rst05-Nov-20142.9 KiB

Bugpoint.rst05-Nov-201410.4 KiB

CMake.rst05-Nov-201418.2 KiB

CMakeLists.txt05-Nov-20143.5 KiB

CodeGenerator.rst05-Nov-2014105.7 KiB

CodingStandards.rst05-Nov-201461 KiB

CommandGuide/05-Nov-20144 KiB

CommandLine.rst05-Nov-201467.4 KiB

CompilerWriterInfo.rst05-Nov-20146.3 KiB

conf.py05-Nov-20148.2 KiB

DebuggingJITedCode.rst05-Nov-20144.9 KiB

DeveloperPolicy.rst05-Nov-201425.9 KiB

doxygen.cfg.in05-Nov-201467.1 KiB

doxygen.css05-Nov-20149 KiB

doxygen.footer05-Nov-2014378

doxygen.header05-Nov-2014471

doxygen.intro05-Nov-2014787

Dummy.html05-Nov-20140

ExceptionHandling.rst05-Nov-201418.2 KiB

ExtendedIntegerResults.txt05-Nov-20144.9 KiB

ExtendingLLVM.rst05-Nov-201411.5 KiB

Extensions.rst05-Nov-20145 KiB

FAQ.rst05-Nov-201418.2 KiB

GarbageCollection.rst05-Nov-201439.2 KiB

gcc-loops.png05-Nov-201421 KiB

GetElementPtr.rst05-Nov-201421.9 KiB

GettingStarted.rst05-Nov-201448.3 KiB

GettingStartedVS.rst05-Nov-20148.2 KiB

GoldPlugin.rst05-Nov-20145.3 KiB

HistoricalNotes/05-Nov-20144 KiB

HowToAddABuilder.rst05-Nov-20143.6 KiB

HowToBuildOnARM.rst05-Nov-20142.9 KiB

HowToCrossCompileLLVM.rst05-Nov-20146.1 KiB

HowToReleaseLLVM.rst05-Nov-201418.4 KiB

HowToSetUpLLVMStyleRTTI.rst05-Nov-201412.9 KiB

HowToSubmitABug.rst05-Nov-20148.4 KiB

HowToUseAttributes.rst05-Nov-20143.5 KiB

HowToUseInstrMappings.rst05-Nov-20147.6 KiB

InAlloca.rst05-Nov-20146.3 KiB

index.rst05-Nov-201412.2 KiB

LangRef.rst05-Nov-2014314.1 KiB

Lexicon.rst05-Nov-20145.2 KiB

LinkTimeOptimization.rst05-Nov-201411 KiB

linpack-pc.png05-Nov-201413.3 KiB

LLVMBuild.rst05-Nov-201412.3 KiB

LLVMBuild.txt05-Nov-2014660

make.bat05-Nov-20145 KiB

Makefile05-Nov-20144.3 KiB

Makefile.sphinx05-Nov-20145.4 KiB

MakefileGuide.rst05-Nov-201433.1 KiB

MarkedUpDisassembly.rst05-Nov-20143.3 KiB

MCJIT-creation.png05-Nov-201425.8 KiB

MCJIT-dyld-load.png05-Nov-201438 KiB

MCJIT-engine-builder.png05-Nov-201418.3 KiB

MCJIT-load-object.png05-Nov-201474.7 KiB

MCJIT-load.png05-Nov-201426.7 KiB

MCJIT-resolve-relocations.png05-Nov-201456.3 KiB

MCJITDesignAndImplementation.rst05-Nov-20148.6 KiB

NVPTXUsage.rst05-Nov-201429.4 KiB

Packaging.rst05-Nov-20142.6 KiB

Passes.rst05-Nov-201447.6 KiB

Phabricator.rst05-Nov-20145 KiB

ProgrammersManual.rst05-Nov-2014127 KiB

Projects.rst05-Nov-20149.4 KiB

re_format.705-Nov-201418.4 KiB

README.txt05-Nov-20141.8 KiB

ReleaseNotes.rst05-Nov-20145.7 KiB

ReleaseProcess.rst05-Nov-20147.3 KiB

SegmentedStacks.rst05-Nov-20143.1 KiB

SourceLevelDebugging.rst05-Nov-201483.5 KiB

SphinxQuickstartTemplate.rst05-Nov-20145 KiB

StackMaps.rst05-Nov-201419.9 KiB

SystemLibrary.rst05-Nov-201411.5 KiB

TableGen/05-Nov-20144 KiB

TableGenFundamentals.rst05-Nov-2014243

TestingGuide.rst05-Nov-201419 KiB

TestSuiteMakefileGuide.rst05-Nov-201411.1 KiB

tutorial/05-Nov-20144 KiB

Vectorizers.rst05-Nov-201412.7 KiB

WritingAnLLVMBackend.rst05-Nov-201480.4 KiB

WritingAnLLVMPass.rst05-Nov-201459 KiB

yaml2obj.rst05-Nov-20149.8 KiB

YamlIO.rst05-Nov-201429.9 KiB

README.txt

1LLVM Documentation
2==================
3
4LLVM's documentation is written in reStructuredText, a lightweight
5plaintext markup language (file extension `.rst`). While the
6reStructuredText documentation should be quite readable in source form, it
7is mostly meant to be processed by the Sphinx documentation generation
8system to create HTML pages which are hosted on <http://llvm.org/docs/> and
9updated after every commit. Manpage output is also supported, see below.
10
11If you instead would like to generate and view the HTML locally, install
12Sphinx <http://sphinx-doc.org/> and then do:
13
14    cd docs/
15    make -f Makefile.sphinx
16    $BROWSER _build/html/index.html
17
18The mapping between reStructuredText files and generated documentation is
19`docs/Foo.rst` <-> `_build/html/Foo.html` <-> `http://llvm.org/docs/Foo.html`.
20
21If you are interested in writing new documentation, you will want to read
22`SphinxQuickstartTemplate.rst` which will get you writing documentation
23very fast and includes examples of the most important reStructuredText
24markup syntax.
25
26Manpage Output
27===============
28
29Building the manpages is similar to building the HTML documentation. The
30primary difference is to use the `man` makefile target, instead of the
31default (which is `html`). Sphinx then produces the man pages in the
32directory `_build/man/`.
33
34    cd docs/
35    make -f Makefile.sphinx man
36    man -l _build/man/FileCheck.1
37
38The correspondence between .rst files and man pages is
39`docs/CommandGuide/Foo.rst` <-> `_build/man/Foo.1`.
40These .rst files are also included during HTML generation so they are also
41viewable online (as noted above) at e.g.
42`http://llvm.org/docs/CommandGuide/Foo.html`.
43
44Checking links
45==============
46
47The reachibility of external links in the documentation can be checked by
48running:
49
50    cd docs/
51    make -f Makefile.sphinx linkcheck
52