• Home
Name Date Size #Lines LOC

..--

CommandGuide/03-May-2024-4,0922,575

Frontend/03-May-2024-297233

HistoricalNotes/03-May-2024-2,3141,775

TableGen/03-May-2024-1,7741,303

_ocamldoc/03-May-2024-9870

_static/03-May-2024-11391

_templates/03-May-2024-2216

_themes/llvm-theme/03-May-2024-401331

tutorial/03-May-2024-14,37411,513

AMDGPUUsage.rstD03-May-20246.1 KiB206152

ARM-BE-bitcastfail.pngD03-May-202428.7 KiB

ARM-BE-bitcastsuccess.pngD03-May-202440.5 KiB

ARM-BE-ld1.pngD03-May-202422 KiB

ARM-BE-ldr.pngD03-May-202416.1 KiB

AdvancedBuilds.rstD03-May-20246.9 KiB175125

AliasAnalysis.rstD03-May-202430.7 KiB712543

Atomics.rstD03-May-202427.7 KiB606481

BigEndianNEON.rstD03-May-202412.2 KiB206126

BitCodeFormat.rstD03-May-202438.3 KiB1,157808

BlockFrequencyTerminology.rstD03-May-20244.6 KiB13194

BranchWeightMetadata.rstD03-May-20243.7 KiB141100

Bugpoint.rstD03-May-202410.4 KiB217172

CMake.rstD03-May-202428.2 KiB735538

CMakeLists.txtD03-May-20245.2 KiB161138

CMakePrimer.rstD03-May-202415.6 KiB466353

CodeGenerator.rstD03-May-2024114.3 KiB2,6972,128

CodeOfConduct.rstD03-May-20245 KiB11385

CodingStandards.rstD03-May-202461.3 KiB1,6301,240

CommandLine.rstD03-May-202467.5 KiB1,7451,292

CompileCudaWithLLVM.rstD03-May-20249.7 KiB261197

CompilerWriterInfo.rstD03-May-20246.7 KiB151100

CoverageMappingFormat.rstD03-May-202426.3 KiB606436

DebuggingJITedCode.rstD03-May-20244.9 KiB144123

DeveloperPolicy.rstD03-May-202431.3 KiB665510

Dummy.htmlD03-May-20240 10

ExceptionHandling.rstD03-May-202437.5 KiB842654

ExtendedIntegerResults.txtD03-May-20244.9 KiB134107

ExtendingLLVM.rstD03-May-202412.2 KiB328214

Extensions.rstD03-May-20245.6 KiB235160

FAQ.rstD03-May-202413.1 KiB346262

FaultMaps.rstD03-May-20244.2 KiB12898

GarbageCollection.rstD03-May-202443.7 KiB1,099820

GetElementPtr.rstD03-May-202422.1 KiB537395

GettingStarted.rstD03-May-202446.1 KiB1,263898

GettingStartedVS.rstD03-May-20248.5 KiB235163

GoldPlugin.rstD03-May-20245.4 KiB173124

HowToAddABuilder.rstD03-May-20243.6 KiB8764

HowToBuildOnARM.rstD03-May-20243.7 KiB8664

HowToCrossCompileLLVM.rstD03-May-20247.5 KiB206147

HowToReleaseLLVM.rstD03-May-202416.6 KiB422304

HowToSetUpLLVMStyleRTTI.rstD03-May-202413.6 KiB415332

HowToSubmitABug.rstD03-May-20248.4 KiB230165

HowToUseAttributes.rstD03-May-20243.5 KiB8262

HowToUseInstrMappings.rstD03-May-20247.6 KiB176145

InAlloca.rstD03-May-20246.3 KiB161130

LLVMBuild.rstD03-May-202412.3 KiB325227

LLVMBuild.txtD03-May-2024660 2220

LangRef.rstD03-May-2024441.3 KiB12,5449,292

Lexicon.rstD03-May-20246.5 KiB257187

LibFuzzer.rstD03-May-202436.8 KiB906703

LinkTimeOptimization.rstD03-May-202410.9 KiB300217

MCJIT-creation.pngD03-May-202425.8 KiB

MCJIT-dyld-load.pngD03-May-202438 KiB

MCJIT-engine-builder.pngD03-May-202418.3 KiB

MCJIT-load-object.pngD03-May-202474.7 KiB

MCJIT-load.pngD03-May-202426.7 KiB

MCJIT-resolve-relocations.pngD03-May-202456.3 KiB

MCJITDesignAndImplementation.rstD03-May-20248.5 KiB181144

MIRLangRef.rstD03-May-202414.3 KiB496344

Makefile.sphinxD03-May-20245.4 KiB156125

MarkedUpDisassembly.rstD03-May-20243.3 KiB8760

MergeFunctions.rstD03-May-202431.4 KiB803581

NVPTXUsage.rstD03-May-202429.4 KiB981714

Packaging.rstD03-May-20242.6 KiB7456

Passes.rstD03-May-202446.7 KiB1,180852

Phabricator.rstD03-May-20249.6 KiB235175

ProgrammersManual.rstD03-May-2024138.3 KiB3,5512,602

Projects.rstD03-May-20249.4 KiB258180

README.txtD03-May-20242 KiB5441

ReleaseNotes.rstD03-May-20246.6 KiB184128

ReleaseProcess.rstD03-May-20247.3 KiB211139

ReportingGuide.rstD03-May-20246.4 KiB144111

ScudoHardenedAllocator.rstD03-May-20244.5 KiB11892

SegmentedStacks.rstD03-May-20243.1 KiB7860

SourceLevelDebugging.rstD03-May-202457.1 KiB1,4151,134

SphinxQuickstartTemplate.rstD03-May-20245 KiB161111

StackMaps.rstD03-May-202420.4 KiB512412

Statepoints.rstD03-May-202437.3 KiB842671

SystemLibrary.rstD03-May-202411.5 KiB248197

TableGenFundamentals.rstD03-May-2024243 118

TestSuiteMakefileGuide.rstD03-May-202413.3 KiB347260

TestingGuide.rstD03-May-202421.6 KiB620439

TypeMetadata.rstD03-May-20248.4 KiB227175

Vectorizers.rstD03-May-202412.7 KiB427303

WritingAnLLVMBackend.rstD03-May-202480.2 KiB1,9401,527

WritingAnLLVMPass.rstD03-May-202459.3 KiB1,4391,093

YamlIO.rstD03-May-202432.5 KiB1,036784

conf.pyD03-May-20248.3 KiB25453

doxygen-mainpage.doxD03-May-2024784 1918

doxygen.cfg.inD03-May-202498 KiB2,2941,769

gcc-loops.pngD03-May-202421 KiB

index.rstD03-May-202413.6 KiB497362

linpack-pc.pngD03-May-202413.3 KiB

make.batD03-May-20245 KiB191167

re_format.7D03-May-202418.4 KiB757756

yaml2obj.rstD03-May-20249.9 KiB222206

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 <build-dir>
15    cmake -DLLVM_ENABLE_SPHINX=true -DSPHINX_OUTPUT_HTML=true <src-dir>
16    make -j3 docs-llvm-html
17    $BROWSER <build-dir>/docs//html/index.html
18
19The mapping between reStructuredText files and generated documentation is
20`docs/Foo.rst` <-> `<build-dir>/docs//html/Foo.html` <-> `http://llvm.org/docs/Foo.html`.
21
22If you are interested in writing new documentation, you will want to read
23`SphinxQuickstartTemplate.rst` which will get you writing documentation
24very fast and includes examples of the most important reStructuredText
25markup syntax.
26
27Manpage Output
28===============
29
30Building the manpages is similar to building the HTML documentation. The
31primary difference is to use the `man` makefile target, instead of the
32default (which is `html`). Sphinx then produces the man pages in the
33directory `<build-dir>/docs/man/`.
34
35    cd <build-dir>
36    cmake -DLLVM_ENABLE_SPHINX=true -DSPHINX_OUTPUT_MAN=true <src-dir>
37    make -j3 docs-llvm-man
38    man -l >build-dir>/docs/man/FileCheck.1
39
40The correspondence between .rst files and man pages is
41`docs/CommandGuide/Foo.rst` <-> `<build-dir>/docs//man/Foo.1`.
42These .rst files are also included during HTML generation so they are also
43viewable online (as noted above) at e.g.
44`http://llvm.org/docs/CommandGuide/Foo.html`.
45
46Checking links
47==============
48
49The reachability of external links in the documentation can be checked by
50running:
51
52    cd docs/
53    make -f Makefile.sphinx linkcheck
54