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

..--

CommandGuide/23-Nov-2023-6,0973,946

Frontend/23-Nov-2023-297233

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

PDB/23-Nov-2023-982763

Proposals/23-Nov-2023-1,117847

TableGen/23-Nov-2023-2,0561,517

_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,60711,713

AMDGPUAsmGFX7.rstD23-Nov-2023114.3 KiB1,2561,204

AMDGPUAsmGFX8.rstD23-Nov-2023191.9 KiB1,6731,621

AMDGPUAsmGFX9.rstD23-Nov-2023222.2 KiB1,9071,852

AMDGPUOperandSyntax.rstD23-Nov-202340.5 KiB1,056734

AMDGPUUsage.rstD23-Nov-2023263.4 KiB4,6243,963

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-202329.6 KiB692528

Atomics.rstD23-Nov-202327.7 KiB606481

Benchmarking.rstD23-Nov-20232.5 KiB8856

BigEndianNEON.rstD23-Nov-202312.2 KiB206126

BitCodeFormat.rstD23-Nov-202345.6 KiB1,355963

BlockFrequencyTerminology.rstD23-Nov-20234.6 KiB13194

BranchWeightMetadata.rstD23-Nov-20234.7 KiB165119

Bugpoint.rstD23-Nov-202310.7 KiB222176

CFIVerify.rstD23-Nov-20234.4 KiB9474

CMake.rstD23-Nov-202331.5 KiB810600

CMakeLists.txtD23-Nov-20235.7 KiB169146

CMakePrimer.rstD23-Nov-202314.8 KiB440336

CodeGenerator.rstD23-Nov-2023112.8 KiB2,6592,098

CodeOfConduct.rstD23-Nov-20235 KiB11385

CodingStandards.rstD23-Nov-202365.3 KiB1,7101,305

CommandLine.rstD23-Nov-202367 KiB1,7331,280

CompileCudaWithLLVM.rstD23-Nov-202320.7 KiB560413

CompilerWriterInfo.rstD23-Nov-20236.1 KiB159102

Contributing.rstD23-Nov-20235.7 KiB12899

Coroutines.rstD23-Nov-202341.3 KiB1,320989

CoverageMappingFormat.rstD23-Nov-202326.6 KiB610439

DebuggingJITedCode.rstD23-Nov-20234.9 KiB144123

DeveloperPolicy.rstD23-Nov-202335.2 KiB747572

Docker.rstD23-Nov-20237.9 KiB186152

ExceptionHandling.rstD23-Nov-202340.1 KiB905696

ExtendedIntegerResults.txtD23-Nov-20234.9 KiB134107

ExtendingLLVM.rstD23-Nov-202312.2 KiB328214

Extensions.rstD23-Nov-202314.4 KiB523364

FAQ.rstD23-Nov-202313.1 KiB346262

FaultMaps.rstD23-Nov-20234.4 KiB134103

FuzzingLLVM.rstD23-Nov-20239.6 KiB275189

GarbageCollection.rstD23-Nov-202343.7 KiB1,099820

GetElementPtr.rstD23-Nov-202322.1 KiB539397

GettingStarted.rstD23-Nov-202348.1 KiB1,334938

GettingStartedVS.rstD23-Nov-20238.9 KiB242169

GlobalISel.rstD23-Nov-202324.7 KiB703499

GoldPlugin.rstD23-Nov-20236 KiB186135

HowToAddABuilder.rstD23-Nov-20234.5 KiB10779

HowToBuildOnARM.rstD23-Nov-20233.7 KiB8664

HowToCrossCompileBuiltinsOnArm.rstD23-Nov-20238.8 KiB202160

HowToCrossCompileLLVM.rstD23-Nov-20237.5 KiB206147

HowToReleaseLLVM.rstD23-Nov-202314.5 KiB387269

HowToSetUpLLVMStyleRTTI.rstD23-Nov-202313.6 KiB415332

HowToSubmitABug.rstD23-Nov-20238.4 KiB230165

HowToUseAttributes.rstD23-Nov-20233.5 KiB8161

HowToUseInstrMappings.rstD23-Nov-20237.6 KiB176145

InAlloca.rstD23-Nov-20236.3 KiB161130

LLVMBuild.rstD23-Nov-202312.2 KiB324227

LLVMBuild.txtD23-Nov-2023660 2220

LangRef.rstD23-Nov-2023538.6 KiB15,29511,236

Lexicon.rstD23-Nov-20238.1 KiB294217

LibFuzzer.rstD23-Nov-202332.5 KiB754579

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-202322.1 KiB772520

Makefile.sphinxD23-Nov-20235.4 KiB156125

MarkedUpDisassembly.rstD23-Nov-20233.3 KiB8760

MemorySSA.rstD23-Nov-202313.7 KiB365285

MergeFunctions.rstD23-Nov-202331.4 KiB803581

NVPTXUsage.rstD23-Nov-202329.2 KiB973713

OptBisect.rstD23-Nov-20238.7 KiB194150

Packaging.rstD23-Nov-20232.6 KiB7456

Passes.rstD23-Nov-202348.1 KiB1,218879

Phabricator.rstD23-Nov-202310.1 KiB244183

ProgrammersManual.rstD23-Nov-2023160.9 KiB4,1403,054

Projects.rstD23-Nov-20239.4 KiB258180

README.txtD23-Nov-20232.4 KiB6951

ReleaseNotes.rstD23-Nov-202312.4 KiB327222

ReleaseProcess.rstD23-Nov-20237.3 KiB232160

ReportingGuide.rstD23-Nov-20236.4 KiB144111

ScudoHardenedAllocator.rstD23-Nov-20239.7 KiB204159

SegmentedStacks.rstD23-Nov-20233.1 KiB7860

SourceLevelDebugging.rstD23-Nov-202366.8 KiB1,6491,307

SpeculativeLoadHardening.mdD23-Nov-202351.6 KiB1,100917

SphinxQuickstartTemplate.rstD23-Nov-20235 KiB161111

StackMaps.rstD23-Nov-202320.6 KiB515416

Statepoints.rstD23-Nov-202338.3 KiB877701

SystemLibrary.rstD23-Nov-202311.4 KiB247196

TableGenFundamentals.rstD23-Nov-2023243 118

TestSuiteMakefileGuide.rstD23-Nov-202313.3 KiB347260

TestingGuide.rstD23-Nov-202322.4 KiB650456

TypeMetadata.rstD23-Nov-20238.4 KiB227175

Vectorizers.rstD23-Nov-202312.8 KiB431307

WritingAnLLVMBackend.rstD23-Nov-202381.9 KiB1,9801,556

WritingAnLLVMPass.rstD23-Nov-202358.7 KiB1,4351,089

XRay.rstD23-Nov-202313.9 KiB340255

XRayExample.rstD23-Nov-202316.4 KiB336257

XRayFDRFormat.rstD23-Nov-202319.4 KiB402302

YamlIO.rstD23-Nov-202332.5 KiB1,036784

conf.pyD23-Nov-20238.5 KiB25854

doxygen-mainpage.doxD23-Nov-2023784 1918

doxygen.cfg.inD23-Nov-202398.1 KiB2,2951,770

gcc-loops.pngD23-Nov-202321 KiB

index.rstD23-Nov-202315.2 KiB565413

linpack-pc.pngD23-Nov-202313.3 KiB

make.batD23-Nov-20235 KiB191167

re_format.7D23-Nov-202318.4 KiB757756

speculative_load_hardening_microbenchmarks.pngD23-Nov-2023110.3 KiB

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
55Doxygen page Output
56==============
57
58Install doxygen <http://www.stack.nl/~dimitri/doxygen/download.html> and dot2tex <https://dot2tex.readthedocs.io/en/latest>.
59
60    cd <build-dir>
61    cmake -DLLVM_ENABLE_DOXYGEN=On <llvm-top-src-dir>
62    make doxygen-llvm # for LLVM docs
63    make doxygen-clang # for clang docs
64
65It will generate html in
66
67    <build-dir>/docs/doxygen/html # for LLVM docs
68    <build-dir>/tools/clang/docs/doxygen/html # for clang docs
69