android13/external/llvm/docs
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
CommandGuide initial 2024-06-22 20:45:49 +08:00
Frontend initial 2024-06-22 20:45:49 +08:00
HistoricalNotes initial 2024-06-22 20:45:49 +08:00
TableGen initial 2024-06-22 20:45:49 +08:00
_ocamldoc initial 2024-06-22 20:45:49 +08:00
_static initial 2024-06-22 20:45:49 +08:00
_templates initial 2024-06-22 20:45:49 +08:00
_themes/llvm-theme initial 2024-06-22 20:45:49 +08:00
tutorial initial 2024-06-22 20:45:49 +08:00
AMDGPUUsage.rst initial 2024-06-22 20:45:49 +08:00
ARM-BE-bitcastfail.png initial 2024-06-22 20:45:49 +08:00
ARM-BE-bitcastsuccess.png initial 2024-06-22 20:45:49 +08:00
ARM-BE-ld1.png initial 2024-06-22 20:45:49 +08:00
ARM-BE-ldr.png initial 2024-06-22 20:45:49 +08:00
AdvancedBuilds.rst initial 2024-06-22 20:45:49 +08:00
AliasAnalysis.rst initial 2024-06-22 20:45:49 +08:00
Atomics.rst initial 2024-06-22 20:45:49 +08:00
BigEndianNEON.rst initial 2024-06-22 20:45:49 +08:00
BitCodeFormat.rst initial 2024-06-22 20:45:49 +08:00
BlockFrequencyTerminology.rst initial 2024-06-22 20:45:49 +08:00
BranchWeightMetadata.rst initial 2024-06-22 20:45:49 +08:00
Bugpoint.rst initial 2024-06-22 20:45:49 +08:00
CMake.rst initial 2024-06-22 20:45:49 +08:00
CMakeLists.txt initial 2024-06-22 20:45:49 +08:00
CMakePrimer.rst initial 2024-06-22 20:45:49 +08:00
CodeGenerator.rst initial 2024-06-22 20:45:49 +08:00
CodeOfConduct.rst initial 2024-06-22 20:45:49 +08:00
CodingStandards.rst initial 2024-06-22 20:45:49 +08:00
CommandLine.rst initial 2024-06-22 20:45:49 +08:00
CompileCudaWithLLVM.rst initial 2024-06-22 20:45:49 +08:00
CompilerWriterInfo.rst initial 2024-06-22 20:45:49 +08:00
CoverageMappingFormat.rst initial 2024-06-22 20:45:49 +08:00
DebuggingJITedCode.rst initial 2024-06-22 20:45:49 +08:00
DeveloperPolicy.rst initial 2024-06-22 20:45:49 +08:00
Dummy.html initial 2024-06-22 20:45:49 +08:00
ExceptionHandling.rst initial 2024-06-22 20:45:49 +08:00
ExtendedIntegerResults.txt initial 2024-06-22 20:45:49 +08:00
ExtendingLLVM.rst initial 2024-06-22 20:45:49 +08:00
Extensions.rst initial 2024-06-22 20:45:49 +08:00
FAQ.rst initial 2024-06-22 20:45:49 +08:00
FaultMaps.rst initial 2024-06-22 20:45:49 +08:00
GarbageCollection.rst initial 2024-06-22 20:45:49 +08:00
GetElementPtr.rst initial 2024-06-22 20:45:49 +08:00
GettingStarted.rst initial 2024-06-22 20:45:49 +08:00
GettingStartedVS.rst initial 2024-06-22 20:45:49 +08:00
GoldPlugin.rst initial 2024-06-22 20:45:49 +08:00
HowToAddABuilder.rst initial 2024-06-22 20:45:49 +08:00
HowToBuildOnARM.rst initial 2024-06-22 20:45:49 +08:00
HowToCrossCompileLLVM.rst initial 2024-06-22 20:45:49 +08:00
HowToReleaseLLVM.rst initial 2024-06-22 20:45:49 +08:00
HowToSetUpLLVMStyleRTTI.rst initial 2024-06-22 20:45:49 +08:00
HowToSubmitABug.rst initial 2024-06-22 20:45:49 +08:00
HowToUseAttributes.rst initial 2024-06-22 20:45:49 +08:00
HowToUseInstrMappings.rst initial 2024-06-22 20:45:49 +08:00
InAlloca.rst initial 2024-06-22 20:45:49 +08:00
LLVMBuild.rst initial 2024-06-22 20:45:49 +08:00
LLVMBuild.txt initial 2024-06-22 20:45:49 +08:00
LangRef.rst initial 2024-06-22 20:45:49 +08:00
Lexicon.rst initial 2024-06-22 20:45:49 +08:00
LibFuzzer.rst initial 2024-06-22 20:45:49 +08:00
LinkTimeOptimization.rst initial 2024-06-22 20:45:49 +08:00
MCJIT-creation.png initial 2024-06-22 20:45:49 +08:00
MCJIT-dyld-load.png initial 2024-06-22 20:45:49 +08:00
MCJIT-engine-builder.png initial 2024-06-22 20:45:49 +08:00
MCJIT-load-object.png initial 2024-06-22 20:45:49 +08:00
MCJIT-load.png initial 2024-06-22 20:45:49 +08:00
MCJIT-resolve-relocations.png initial 2024-06-22 20:45:49 +08:00
MCJITDesignAndImplementation.rst initial 2024-06-22 20:45:49 +08:00
MIRLangRef.rst initial 2024-06-22 20:45:49 +08:00
Makefile.sphinx initial 2024-06-22 20:45:49 +08:00
MarkedUpDisassembly.rst initial 2024-06-22 20:45:49 +08:00
MergeFunctions.rst initial 2024-06-22 20:45:49 +08:00
NVPTXUsage.rst initial 2024-06-22 20:45:49 +08:00
Packaging.rst initial 2024-06-22 20:45:49 +08:00
Passes.rst initial 2024-06-22 20:45:49 +08:00
Phabricator.rst initial 2024-06-22 20:45:49 +08:00
ProgrammersManual.rst initial 2024-06-22 20:45:49 +08:00
Projects.rst initial 2024-06-22 20:45:49 +08:00
README.txt initial 2024-06-22 20:45:49 +08:00
ReleaseNotes.rst initial 2024-06-22 20:45:49 +08:00
ReleaseProcess.rst initial 2024-06-22 20:45:49 +08:00
ReportingGuide.rst initial 2024-06-22 20:45:49 +08:00
ScudoHardenedAllocator.rst initial 2024-06-22 20:45:49 +08:00
SegmentedStacks.rst initial 2024-06-22 20:45:49 +08:00
SourceLevelDebugging.rst initial 2024-06-22 20:45:49 +08:00
SphinxQuickstartTemplate.rst initial 2024-06-22 20:45:49 +08:00
StackMaps.rst initial 2024-06-22 20:45:49 +08:00
Statepoints.rst initial 2024-06-22 20:45:49 +08:00
SystemLibrary.rst initial 2024-06-22 20:45:49 +08:00
TableGenFundamentals.rst initial 2024-06-22 20:45:49 +08:00
TestSuiteMakefileGuide.rst initial 2024-06-22 20:45:49 +08:00
TestingGuide.rst initial 2024-06-22 20:45:49 +08:00
TypeMetadata.rst initial 2024-06-22 20:45:49 +08:00
Vectorizers.rst initial 2024-06-22 20:45:49 +08:00
WritingAnLLVMBackend.rst initial 2024-06-22 20:45:49 +08:00
WritingAnLLVMPass.rst initial 2024-06-22 20:45:49 +08:00
YamlIO.rst initial 2024-06-22 20:45:49 +08:00
conf.py initial 2024-06-22 20:45:49 +08:00
doxygen-mainpage.dox initial 2024-06-22 20:45:49 +08:00
doxygen.cfg.in initial 2024-06-22 20:45:49 +08:00
gcc-loops.png initial 2024-06-22 20:45:49 +08:00
index.rst initial 2024-06-22 20:45:49 +08:00
linpack-pc.png initial 2024-06-22 20:45:49 +08:00
make.bat initial 2024-06-22 20:45:49 +08:00
re_format.7 initial 2024-06-22 20:45:49 +08:00
yaml2obj.rst initial 2024-06-22 20:45:49 +08:00

README.txt

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 <build-dir>
    cmake -DLLVM_ENABLE_SPHINX=true -DSPHINX_OUTPUT_HTML=true <src-dir>
    make -j3 docs-llvm-html
    $BROWSER <build-dir>/docs//html/index.html

The mapping between reStructuredText files and generated documentation is
`docs/Foo.rst` <-> `<build-dir>/docs//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-dir>/docs/man/`.

    cd <build-dir>
    cmake -DLLVM_ENABLE_SPHINX=true -DSPHINX_OUTPUT_MAN=true <src-dir>
    make -j3 docs-llvm-man
    man -l >build-dir>/docs/man/FileCheck.1

The correspondence between .rst files and man pages is
`docs/CommandGuide/Foo.rst` <-> `<build-dir>/docs//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 reachability of external links in the documentation can be checked by
running:

    cd docs/
    make -f Makefile.sphinx linkcheck