freebsd-nq/docs
2015-12-25 14:25:49 +00:00
..
_static
_templates
_themes/llvm-theme
CommandGuide Vendor import of llvm trunk r241361: 2015-07-05 14:21:36 +00:00
Frontend Import llvm 3.7.0 release (r246257). 2015-09-06 18:34:38 +00:00
HistoricalNotes Vendor import of llvm release_34 branch r197841 (effectively, 3.4 RC3): 2013-12-22 00:04:03 +00:00
TableGen Import llvm 3.7.0 release (r246257). 2015-09-06 18:34:38 +00:00
tutorial Import llvm 3.7.0 release (r246257). 2015-09-06 18:34:38 +00:00
AliasAnalysis.rst Vendor import of llvm trunk r241361: 2015-07-05 14:21:36 +00:00
AMDGPUUsage.rst Vendor import of llvm trunk r241361: 2015-07-05 14:21:36 +00:00
ARM-BE-bitcastfail.png Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
ARM-BE-bitcastsuccess.png Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
ARM-BE-ld1.png Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
ARM-BE-ldr.png Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
Atomics.rst Import llvm 3.7.0 release (r246257). 2015-09-06 18:34:38 +00:00
BigEndianNEON.rst Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
BitCodeFormat.rst Vendor import of llvm trunk r240225: 2015-06-21 13:59:01 +00:00
BitSets.rst Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
BlockFrequencyTerminology.rst Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
BranchWeightMetadata.rst Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
Bugpoint.rst Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
BuildingLLVMWithAutotools.rst Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
CMake.rst Import llvm 3.7.0 release (r246257). 2015-09-06 18:34:38 +00:00
CMakeLists.txt Import llvm 3.7.0 release (r246257). 2015-09-06 18:34:38 +00:00
CodeGenerator.rst Import llvm 3.7.0 release (r246257). 2015-09-06 18:34:38 +00:00
CodingStandards.rst Import llvm 3.7.0 release (r246257). 2015-09-06 18:34:38 +00:00
CommandLine.rst Vendor import of llvm RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:17:27 +00:00
CompilerWriterInfo.rst Vendor import of llvm trunk r240225: 2015-06-21 13:59:01 +00:00
conf.py Import llvm 3.7.0 release (r246257). 2015-09-06 18:34:38 +00:00
CoverageMappingFormat.rst Vendor import of llvm RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:17:27 +00:00
DebuggingJITedCode.rst Vendor import of llvm trunk r178860: 2013-04-08 18:41:23 +00:00
DeveloperPolicy.rst Import llvm 3.7.0 release (r246257). 2015-09-06 18:34:38 +00:00
doxygen.cfg.in Import llvm 3.7.0 release (r246257). 2015-09-06 18:34:38 +00:00
doxygen.intro
Dummy.html Vendor import of llvm trunk r178860: 2013-04-08 18:41:23 +00:00
ExceptionHandling.rst Vendor import of llvm trunk r242221: 2015-08-07 23:01:33 +00:00
ExtendedIntegerResults.txt
ExtendingLLVM.rst Import llvm 3.7.0 release (r246257). 2015-09-06 18:34:38 +00:00
Extensions.rst Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
FAQ.rst Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
FaultMaps.rst Vendor import of llvm trunk r241361: 2015-07-05 14:21:36 +00:00
GarbageCollection.rst Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
gcc-loops.png Vendor import of llvm trunk r178860: 2013-04-08 18:41:23 +00:00
GetElementPtr.rst Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
GettingStarted.rst Import llvm 3.7.0 release (r246257). 2015-09-06 18:34:38 +00:00
GettingStartedVS.rst Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
GoldPlugin.rst Vendor import of llvm RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:17:27 +00:00
HowToAddABuilder.rst Vendor import of llvm trunk r178860: 2013-04-08 18:41:23 +00:00
HowToBuildOnARM.rst Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
HowToCrossCompileLLVM.rst Vendor import of llvm release_34 branch r197841 (effectively, 3.4 RC3): 2013-12-22 00:04:03 +00:00
HowToReleaseLLVM.rst Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
HowToSetUpLLVMStyleRTTI.rst Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
HowToSubmitABug.rst Vendor import of llvm RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:17:27 +00:00
HowToUseAttributes.rst Vendor import of llvm trunk r178860: 2013-04-08 18:41:23 +00:00
HowToUseInstrMappings.rst Vendor import of llvm trunk r178860: 2013-04-08 18:41:23 +00:00
InAlloca.rst Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
index.rst Import llvm 3.7.0 release (r246257). 2015-09-06 18:34:38 +00:00
LangRef.rst Import llvm 3.7.0 release (r246257). 2015-09-06 18:34:38 +00:00
Lexicon.rst Vendor import of llvm trunk r239412: 2015-06-09 19:06:30 +00:00
LibFuzzer.rst Vendor import of llvm trunk r240225: 2015-06-21 13:59:01 +00:00
LinkTimeOptimization.rst Vendor import of llvm RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:17:27 +00:00
linpack-pc.png Vendor import of llvm trunk r178860: 2013-04-08 18:41:23 +00:00
LLVMBuild.rst Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
LLVMBuild.txt
make.bat
Makefile Import llvm 3.7.0 release (r246257). 2015-09-06 18:34:38 +00:00
Makefile.sphinx Vendor import of llvm trunk r178860: 2013-04-08 18:41:23 +00:00
MakefileGuide.rst Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
MarkedUpDisassembly.rst Vendor import of llvm trunk r178860: 2013-04-08 18:41:23 +00:00
MCJIT-creation.png Vendor import of llvm release_34 branch r197841 (effectively, 3.4 RC3): 2013-12-22 00:04:03 +00:00
MCJIT-dyld-load.png Vendor import of llvm release_34 branch r197841 (effectively, 3.4 RC3): 2013-12-22 00:04:03 +00:00
MCJIT-engine-builder.png Vendor import of llvm release_34 branch r197841 (effectively, 3.4 RC3): 2013-12-22 00:04:03 +00:00
MCJIT-load-object.png Vendor import of llvm release_34 branch r197841 (effectively, 3.4 RC3): 2013-12-22 00:04:03 +00:00
MCJIT-load.png Vendor import of llvm release_34 branch r197841 (effectively, 3.4 RC3): 2013-12-22 00:04:03 +00:00
MCJIT-resolve-relocations.png Vendor import of llvm release_34 branch r197841 (effectively, 3.4 RC3): 2013-12-22 00:04:03 +00:00
MCJITDesignAndImplementation.rst Vendor import of llvm RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:17:27 +00:00
MergeFunctions.rst Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
NVPTXUsage.rst Vendor import of llvm trunk r239412: 2015-06-09 19:06:30 +00:00
Packaging.rst Vendor import of llvm trunk r178860: 2013-04-08 18:41:23 +00:00
Passes.rst Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
Phabricator.rst Import llvm 3.7.0 release (r246257). 2015-09-06 18:34:38 +00:00
ProgrammersManual.rst Vendor import of llvm trunk r242221: 2015-08-07 23:01:33 +00:00
Projects.rst Import llvm 3.7.0 release (r246257). 2015-09-06 18:34:38 +00:00
re_format.7
README.txt Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
ReleaseNotes.rst Import llvm 3.7.1 release (r255217). 2015-12-25 14:25:49 +00:00
ReleaseProcess.rst Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
SegmentedStacks.rst Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
SourceLevelDebugging.rst Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
SphinxQuickstartTemplate.rst Vendor import of llvm trunk r178860: 2013-04-08 18:41:23 +00:00
StackMaps.rst Vendor import of llvm trunk r242221: 2015-08-07 23:01:33 +00:00
Statepoints.rst Import llvm 3.7.0 release (r246257). 2015-09-06 18:34:38 +00:00
SystemLibrary.rst Vendor import of llvm trunk r178860: 2013-04-08 18:41:23 +00:00
TableGenFundamentals.rst Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
TestingGuide.rst Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
TestSuiteMakefileGuide.rst Vendor import of llvm trunk r178860: 2013-04-08 18:41:23 +00:00
Vectorizers.rst Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
WritingAnLLVMBackend.rst Vendor import of llvm RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:17:27 +00:00
WritingAnLLVMPass.rst Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
yaml2obj.rst Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
YamlIO.rst Vendor import of llvm trunk r239412: 2015-06-09 19:06:30 +00:00

LLVM Documentation
==================

LLVM's documentation is written in reStructuredText, a lightweight
plaintext markup language (file extension `.rst`). While the
reStructuredText documentation should be quite readable in source form, it
is mostly meant to be processed by the Sphinx documentation generation
system to create HTML pages which are hosted on <http://llvm.org/docs/> and
updated after every commit. Manpage output is also supported, see below.

If you instead would like to generate and view the HTML locally, install
Sphinx <http://sphinx-doc.org/> and then do:

    cd docs/
    make -f Makefile.sphinx
    $BROWSER _build/html/index.html

The mapping between reStructuredText files and generated documentation is
`docs/Foo.rst` <-> `_build/html/Foo.html` <-> `http://llvm.org/docs/Foo.html`.

If you are interested in writing new documentation, you will want to read
`SphinxQuickstartTemplate.rst` which will get you writing documentation
very fast and includes examples of the most important reStructuredText
markup syntax.

Manpage Output
===============

Building the manpages is similar to building the HTML documentation. The
primary difference is to use the `man` makefile target, instead of the
default (which is `html`). Sphinx then produces the man pages in the
directory `_build/man/`.

    cd docs/
    make -f Makefile.sphinx man
    man -l _build/man/FileCheck.1

The correspondence between .rst files and man pages is
`docs/CommandGuide/Foo.rst` <-> `_build/man/Foo.1`.
These .rst files are also included during HTML generation so they are also
viewable online (as noted above) at e.g.
`http://llvm.org/docs/CommandGuide/Foo.html`.

Checking links
==============

The reachibility of external links in the documentation can be checked by
running:

    cd docs/
    make -f Makefile.sphinx linkcheck