• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

CommandGuide/23-Nov-2023-4,0922,575

Frontend/23-Nov-2023-297233

HistoricalNotes/23-Nov-2023-2,3141,775

TableGen/23-Nov-2023-1,7741,303

_ocamldoc/23-Nov-2023-9870

_static/23-Nov-2023-11391

_templates/23-Nov-2023-2216

_themes/llvm-theme/23-Nov-2023-401331

tutorial/23-Nov-2023-14,37411,513

AMDGPUUsage.rstD23-Nov-20236.1 KiB206152

ARM-BE-bitcastfail.pngD23-Nov-202328.7 KiB

ARM-BE-bitcastsuccess.pngD23-Nov-202340.5 KiB

ARM-BE-ld1.pngD23-Nov-202322 KiB

ARM-BE-ldr.pngD23-Nov-202316.1 KiB

AdvancedBuilds.rstD23-Nov-20236.9 KiB175125

AliasAnalysis.rstD23-Nov-202330.7 KiB712543

Atomics.rstD23-Nov-202327.7 KiB606481

BigEndianNEON.rstD23-Nov-202312.2 KiB206126

BitCodeFormat.rstD23-Nov-202338.3 KiB1,157808

BlockFrequencyTerminology.rstD23-Nov-20234.6 KiB13194

BranchWeightMetadata.rstD23-Nov-20233.7 KiB141100

Bugpoint.rstD23-Nov-202310.4 KiB217172

CMake.rstD23-Nov-202328.2 KiB735538

CMakeLists.txtD23-Nov-20235.2 KiB161138

CMakePrimer.rstD23-Nov-202315.6 KiB466353

CodeGenerator.rstD23-Nov-2023114.3 KiB2,6972,128

CodeOfConduct.rstD23-Nov-20235 KiB11385

CodingStandards.rstD23-Nov-202361.3 KiB1,6301,240

CommandLine.rstD23-Nov-202367.5 KiB1,7451,292

CompileCudaWithLLVM.rstD23-Nov-20239.7 KiB261197

CompilerWriterInfo.rstD23-Nov-20236.7 KiB151100

CoverageMappingFormat.rstD23-Nov-202326.3 KiB606436

DebuggingJITedCode.rstD23-Nov-20234.9 KiB144123

DeveloperPolicy.rstD23-Nov-202331.3 KiB665510

Dummy.htmlD23-Nov-20230 10

ExceptionHandling.rstD23-Nov-202337.5 KiB842654

ExtendedIntegerResults.txtD23-Nov-20234.9 KiB134107

ExtendingLLVM.rstD23-Nov-202312.2 KiB328214

Extensions.rstD23-Nov-20235.6 KiB235160

FAQ.rstD23-Nov-202313.1 KiB346262

FaultMaps.rstD23-Nov-20234.2 KiB12898

GarbageCollection.rstD23-Nov-202343.7 KiB1,099820

GetElementPtr.rstD23-Nov-202322.1 KiB537395

GettingStarted.rstD23-Nov-202346.1 KiB1,263898

GettingStartedVS.rstD23-Nov-20238.5 KiB235163

GoldPlugin.rstD23-Nov-20235.4 KiB173124

HowToAddABuilder.rstD23-Nov-20233.6 KiB8764

HowToBuildOnARM.rstD23-Nov-20233.7 KiB8664

HowToCrossCompileLLVM.rstD23-Nov-20237.5 KiB206147

HowToReleaseLLVM.rstD23-Nov-202316.6 KiB422304

HowToSetUpLLVMStyleRTTI.rstD23-Nov-202313.6 KiB415332

HowToSubmitABug.rstD23-Nov-20238.4 KiB230165

HowToUseAttributes.rstD23-Nov-20233.5 KiB8262

HowToUseInstrMappings.rstD23-Nov-20237.6 KiB176145

InAlloca.rstD23-Nov-20236.3 KiB161130

LLVMBuild.rstD23-Nov-202312.3 KiB325227

LLVMBuild.txtD23-Nov-2023660 2220

LangRef.rstD23-Nov-2023441.3 KiB12,5449,292

Lexicon.rstD23-Nov-20236.5 KiB257187

LibFuzzer.rstD23-Nov-202336.8 KiB906703

LinkTimeOptimization.rstD23-Nov-202310.9 KiB300217

MCJIT-creation.pngD23-Nov-202325.8 KiB

MCJIT-dyld-load.pngD23-Nov-202338 KiB

MCJIT-engine-builder.pngD23-Nov-202318.3 KiB

MCJIT-load-object.pngD23-Nov-202374.7 KiB

MCJIT-load.pngD23-Nov-202326.7 KiB

MCJIT-resolve-relocations.pngD23-Nov-202356.3 KiB

MCJITDesignAndImplementation.rstD23-Nov-20238.5 KiB181144

MIRLangRef.rstD23-Nov-202314.3 KiB496344

Makefile.sphinxD23-Nov-20235.4 KiB156125

MarkedUpDisassembly.rstD23-Nov-20233.3 KiB8760

MergeFunctions.rstD23-Nov-202331.4 KiB803581

NVPTXUsage.rstD23-Nov-202329.4 KiB981714

Packaging.rstD23-Nov-20232.6 KiB7456

Passes.rstD23-Nov-202346.7 KiB1,180852

Phabricator.rstD23-Nov-20239.6 KiB235175

ProgrammersManual.rstD23-Nov-2023138.3 KiB3,5512,602

Projects.rstD23-Nov-20239.4 KiB258180

README.txtD23-Nov-20232 KiB5441

ReleaseNotes.rstD23-Nov-20236.6 KiB184128

ReleaseProcess.rstD23-Nov-20237.3 KiB211139

ReportingGuide.rstD23-Nov-20236.4 KiB144111

ScudoHardenedAllocator.rstD23-Nov-20234.5 KiB11892

SegmentedStacks.rstD23-Nov-20233.1 KiB7860

SourceLevelDebugging.rstD23-Nov-202357.1 KiB1,4151,134

SphinxQuickstartTemplate.rstD23-Nov-20235 KiB161111

StackMaps.rstD23-Nov-202320.4 KiB512412

Statepoints.rstD23-Nov-202337.3 KiB842671

SystemLibrary.rstD23-Nov-202311.5 KiB248197

TableGenFundamentals.rstD23-Nov-2023243 118

TestSuiteMakefileGuide.rstD23-Nov-202313.3 KiB347260

TestingGuide.rstD23-Nov-202321.6 KiB620439

TypeMetadata.rstD23-Nov-20238.4 KiB227175

Vectorizers.rstD23-Nov-202312.7 KiB427303

WritingAnLLVMBackend.rstD23-Nov-202380.2 KiB1,9401,527

WritingAnLLVMPass.rstD23-Nov-202359.3 KiB1,4391,093

YamlIO.rstD23-Nov-202332.5 KiB1,036784

conf.pyD23-Nov-20238.3 KiB25453

doxygen-mainpage.doxD23-Nov-2023784 1918

doxygen.cfg.inD23-Nov-202398 KiB2,2941,769

gcc-loops.pngD23-Nov-202321 KiB

index.rstD23-Nov-202313.6 KiB497362

linpack-pc.pngD23-Nov-202313.3 KiB

make.batD23-Nov-20235 KiB191167

re_format.7D23-Nov-202318.4 KiB757756

yaml2obj.rstD23-Nov-20239.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