• Home
Name Date Size #Lines LOC

..--

AMDGPU/03-May-2024-17,50714,143

CommandGuide/03-May-2024-10,6476,930

DependenceGraphs/03-May-2024-141104

Frontend/03-May-2024-298234

GlobalISel/03-May-2024-2,0181,376

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

PDB/03-May-2024-2,0161,553

Proposals/03-May-2024-2,2751,788

TableGen/03-May-2024-4,0663,054

_ocamldoc/03-May-2024-9870

_static/03-May-2024-11391

_templates/03-May-2024-4334

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

tutorial/03-May-2024-14,49711,595

AMDGPUDwarfExtensionsForHeterogeneousDebugging.rstD03-May-2024196.9 KiB4,3153,211

AMDGPUInstructionNotation.rstD03-May-20243.5 KiB11171

AMDGPUInstructionSyntax.rstD03-May-20245.9 KiB173121

AMDGPUModifierSyntax.rstD03-May-202468.4 KiB1,8261,281

AMDGPUOperandSyntax.rstD03-May-202448.7 KiB1,152836

AMDGPUUsage.rstD03-May-2024548.8 KiB9,4638,127

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

AddingConstrainedIntrinsics.rstD03-May-20243.1 KiB10268

AdvancedBuilds.rstD03-May-20247.7 KiB192136

AliasAnalysis.rstD03-May-202429.6 KiB692528

Atomics.rstD03-May-202429.9 KiB644515

Benchmarking.rstD03-May-20242.5 KiB8856

BigEndianNEON.rstD03-May-202412.2 KiB206126

BitCodeFormat.rstD03-May-202446.1 KiB1,376981

BlockFrequencyTerminology.rstD03-May-20244.6 KiB13194

BranchWeightMetadata.rstD03-May-20247.1 KiB227166

BugLifeCycle.rstD03-May-20244.6 KiB14192

Bugpoint.rstD03-May-202411.1 KiB228181

BugpointRedesign.mdD03-May-20243.9 KiB10370

BuildingADistribution.rstD03-May-202410.3 KiB208166

CFIVerify.rstD03-May-20244.4 KiB9474

CMake.rstD03-May-202436.3 KiB920685

CMakeLists.txtD03-May-20245.7 KiB169146

CMakePrimer.rstD03-May-202414.7 KiB440336

CodeGenerator.rstD03-May-2024114.7 KiB2,6972,127

CodeOfConduct.rstD03-May-20245 KiB11385

CodeReview.rstD03-May-202412.4 KiB249199

CodingStandards.rstD03-May-202462.5 KiB1,6961,277

CommandLine.rstD03-May-202467.6 KiB1,7551,300

CompileCudaWithLLVM.rstD03-May-202421.1 KiB562416

CompilerWriterInfo.rstD03-May-20249 KiB198129

Contributing.rstD03-May-20246.8 KiB160120

Coroutines.rstD03-May-202457.2 KiB1,7401,299

CoverageMappingFormat.rstD03-May-202425.6 KiB571411

DebuggingJITedCode.rstD03-May-20244.9 KiB144123

DeveloperPolicy.rstD03-May-202449.1 KiB1,038804

Docker.rstD03-May-20248 KiB186152

ExceptionHandling.rstD03-May-202440.1 KiB905696

ExtendedIntegerResults.txtD03-May-20244.9 KiB134107

ExtendingLLVM.rstD03-May-202412.1 KiB320210

Extensions.rstD03-May-202416.8 KiB583407

FAQ.rstD03-May-202412.6 KiB335254

FaultMaps.rstD03-May-20244.4 KiB134103

FuzzingLLVM.rstD03-May-202410 KiB281194

GarbageCollection.rstD03-May-202441.6 KiB1,029767

GetElementPtr.rstD03-May-202422.2 KiB539397

GettingInvolved.rstD03-May-20246.1 KiB218153

GettingStarted.rstD03-May-202447.4 KiB1,219879

GettingStartedTutorials.rstD03-May-20241 KiB3829

GettingStartedVS.rstD03-May-20248.7 KiB239166

GitBisecting.rstD03-May-20244.6 KiB12689

GoldPlugin.rstD03-May-20246 KiB186135

GwpAsan.rstD03-May-202412.8 KiB281229

HowToAddABuilder.rstD03-May-20244.7 KiB11284

HowToBuildOnARM.rstD03-May-20243.7 KiB8664

HowToBuildWithPGO.rstD03-May-20247.3 KiB172126

HowToCrossCompileBuiltinsOnArm.rstD03-May-202412.8 KiB291230

HowToCrossCompileLLVM.rstD03-May-20247.5 KiB206147

HowToReleaseLLVM.rstD03-May-202413.5 KiB370256

HowToSetUpLLVMStyleRTTI.rstD03-May-202415.3 KiB470374

HowToSubmitABug.rstD03-May-20248.5 KiB232166

HowToUpdateDebugInfo.rstD03-May-202415.9 KiB425308

HowToUseAttributes.rstD03-May-20243.4 KiB8161

HowToUseInstrMappings.rstD03-May-20247.6 KiB176145

InAlloca.rstD03-May-20246.3 KiB161130

LangRef.rstD03-May-2024735.4 KiB21,12015,387

Lexicon.rstD03-May-20248.6 KiB312230

LibFuzzer.rstD03-May-202435.7 KiB828634

LinkTimeOptimization.rstD03-May-202411.1 KiB306220

LoopTerminology.rstD03-May-202423.5 KiB707542

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-202426.7 KiB895604

Makefile.sphinxD03-May-20245.4 KiB156125

MarkdownQuickstartTemplate.mdD03-May-20244.7 KiB158110

MarkedUpDisassembly.rstD03-May-20243.3 KiB8760

MeetupGuidelines.rstD03-May-20243.5 KiB8368

MemTagSanitizer.rstD03-May-20243.8 KiB9973

MemorySSA.rstD03-May-202415.2 KiB397312

MergeFunctions.rstD03-May-202430.8 KiB786567

NVPTXUsage.rstD03-May-202429.2 KiB973713

ORCv2.rstD03-May-202434.3 KiB858645

OptBisect.rstD03-May-20248.6 KiB193149

Packaging.rstD03-May-20242.6 KiB7456

Passes.rstD03-May-202448.5 KiB1,224883

Phabricator.rstD03-May-202410.7 KiB264194

ProgrammersManual.rstD03-May-2024158.9 KiB4,0603,002

Projects.rstD03-May-20249.4 KiB258180

README.txtD03-May-20242.4 KiB6951

Reference.rstD03-May-20245.4 KiB218164

ReleaseNotes.rstD03-May-20246.8 KiB207144

ReleaseProcess.rstD03-May-20247.4 KiB235162

Remarks.rstD03-May-202419.2 KiB651430

ReportingGuide.rstD03-May-20246.4 KiB144111

ScudoHardenedAllocator.rstD03-May-202412.2 KiB254198

Security.rstD03-May-202414.7 KiB222147

SegmentedStacks.rstD03-May-20243.1 KiB7860

SourceLevelDebugging.rstD03-May-202483.9 KiB2,0231,617

SpeculativeLoadHardening.mdD03-May-202451.7 KiB1,099917

SphinxQuickstartTemplate.rstD03-May-20245.7 KiB168110

StackMaps.rstD03-May-202420.7 KiB518418

StackSafetyAnalysis.rstD03-May-20242.2 KiB5742

Statepoints.rstD03-May-202444.1 KiB1,015807

SupportLibrary.rstD03-May-202411.5 KiB247197

SupportPolicy.rstD03-May-202411.2 KiB243195

SystemLibrary.rstD03-May-2024209 107

TableGenFundamentals.rstD03-May-2024243 118

TestSuiteGuide.mdD03-May-202412.6 KiB404289

TestSuiteMakefileGuide.rstD03-May-20247.7 KiB199147

TestingGuide.rstD03-May-202421.9 KiB642450

TransformMetadata.rstD03-May-202415.6 KiB442341

TypeMetadata.rstD03-May-202410.8 KiB291226

UserGuides.rstD03-May-20245.6 KiB209159

Vectorizers.rstD03-May-202414 KiB457329

WritingAnLLVMBackend.rstD03-May-202481.9 KiB1,9801,556

WritingAnLLVMNewPMPass.rstD03-May-20247.1 KiB239165

WritingAnLLVMPass.rstD03-May-202458.5 KiB1,4401,086

XRay.rstD03-May-202415.3 KiB370276

XRayExample.rstD03-May-202416.8 KiB350265

XRayFDRFormat.rstD03-May-202419.4 KiB402302

YamlIO.rstD03-May-202432.5 KiB1,036784

conf.pyD03-May-20249.6 KiB30489

doxygen-mainpage.doxD03-May-2024784 1918

doxygen.cfg.inD03-May-202498.1 KiB2,2951,770

epilogue-vectorization-cfg.pngD03-May-202471.4 KiB

gcc-loops.pngD03-May-202421 KiB

index.rstD03-May-20242 KiB9561

linpack-pc.pngD03-May-202413.3 KiB

llvm-objdump.1D03-May-20245.2 KiB203202

loop-guard.svgD03-May-2024108.1 KiB1,0801,079

loop-irreducible.svgD03-May-202476.4 KiB773772

loop-merge.svgD03-May-202488.1 KiB661660

loop-nested.svgD03-May-202487.8 KiB875874

loop-nonmaximal.svgD03-May-2024129.4 KiB1,2811,280

loop-separate.svgD03-May-202490.7 KiB691690

loop-single.svgD03-May-202435.3 KiB339338

loop-terminology-guarded-loop.pngD03-May-202470.9 KiB

loop-terminology-initial-loop.pngD03-May-202440.7 KiB

loop-terminology-rotated-loop.pngD03-May-202460 KiB

loop-terminology.svgD03-May-2024116.1 KiB2,1122,111

make.batD03-May-20245 KiB191167

re_format.7D03-May-202418.4 KiB757756

speculative_load_hardening_microbenchmarks.pngD03-May-2024110.3 KiB

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 <https://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` <-> `https://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`https://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