Name Date Size #Lines LOC

..--

AMDGPU/H--37,06530,293

AMDGPUDwarfExtensionAllowLocationDescriptionOnTheDwarfExpressionStack/H--4,0183,038

CommandGuide/H--15,83210,654

DependenceGraphs/H--141104

DirectX/H--863676

Frontend/H--322252

GlobalISel/H--2,9612,048

HistoricalNotes/H--2,3141,775

PDB/H--2,0171,554

Proposals/H--1,8981,479

RISCV/H--335219

TableGen/H--4,3693,289

_ocamldoc/H--9870

_static/H--160137

_templates/H--4334

_themes/llvm-theme/H--404335

tutorial/H--6,6825,288

AArch64SME.rstH A D01-Feb-202420.1 KiB489361

AMDGPUDwarfExtensionsForHeterogeneousDebugging.rstH A D04-Sep-2024243.1 KiB5,3774,015

AMDGPUInstructionNotation.rstH A D20-Dec-20224.3 KiB14192

AMDGPUInstructionSyntax.rstH A D21-Dec-20227 KiB209146

AMDGPUModifierSyntax.rstH A D26-Apr-202379.4 KiB2,0881,472

AMDGPUOperandSyntax.rstH A D21-Dec-202249.3 KiB1,184868

AMDGPUUsage.rstH A D24-Jan-20251.1 MiB15,90013,824

ARM-BE-bitcastfail.pngHD12-May-201428.7 KiB

ARM-BE-bitcastsuccess.pngHD12-May-201440.5 KiB

ARM-BE-ld1.pngHD12-May-201422 KiB

ARM-BE-ldr.pngHD12-May-201416.1 KiB

AddingConstrainedIntrinsics.rstH A D20-Nov-20193.1 KiB10268

AdvancedBuilds.rstH A D02-Feb-202412.1 KiB305219

AliasAnalysis.rstH A D17-Dec-202329.9 KiB691530

AssignmentTracking.mdH A D02-Sep-202410.9 KiB231185

Atomics.rstH A D23-Jan-202430.7 KiB659529

Benchmarking.rstH A D07-Jun-20242.6 KiB8856

BigEndianNEON.rstH A D13-May-202312.2 KiB205126

BitCodeFormat.rstH A D20-Aug-202446.4 KiB1,4271,022

BlockFrequencyTerminology.rstH A D26-Jan-20234.6 KiB13194

BranchWeightMetadata.rstH A D12-Jun-20247.3 KiB234173

BugLifeCycle.rstH A D05-May-20225.7 KiB150103

Bugpoint.rstH A D07-Nov-202211.1 KiB228181

BugpointRedesign.mdH A D09-Aug-20193.9 KiB10370

BuildingADistribution.rstH A D14-Apr-202213.1 KiB258208

CFIVerify.rstH A D16-Jul-20184.4 KiB9474

CMake.rstH A D10-Oct-202449.6 KiB1,166884

CMakeLists.txtH A D25-May-20245.7 KiB166143

CMakePrimer.rstH A D04-Jun-202314.7 KiB440336

CodeGenerator.rstH A D20-Nov-2023107.5 KiB2,4881,950

CodeOfConduct.rstH A D31-Oct-20249.2 KiB204158

CodeReview.rstH A D06-Nov-202413.5 KiB258205

CodingStandards.rstH A D04-Dec-202465.5 KiB1,7741,335

CommandLine.rstH A D08-Jan-202467.6 KiB1,7541,299

CompileCudaWithLLVM.rstH A D22-Oct-202421.5 KiB573422

CompilerWriterInfo.rstH A D25-Jan-20239.6 KiB215141

Contributing.rstH A D24-Jan-20258.3 KiB189140

ConvergenceAndUniformity.rstH A D28-Apr-202431.1 KiB724565

ConvergentOperations.rstH A D28-Apr-202462.4 KiB1,6111,249

Coroutines.rstH A D19-Dec-202473.8 KiB2,1001,557

CoverageMappingFormat.rstH A D13-Jun-202430.6 KiB693499

CycleTerminology.rstH A D20-Dec-20228.2 KiB266205

DebuggingJITedCode.rstH A D15-Jun-20236.9 KiB183159

DeveloperPolicy.rstH A D24-Jan-202568.2 KiB1,3051,023

DirectXUsage.rstH A D16-Jul-20243.8 KiB9675

DiscourseMigrationGuide.mdH A D02-Feb-202211.9 KiB222181

Docker.rstH A D22-Jan-20257.6 KiB186152

ExceptionHandling.rstH A D10-Dec-202437.7 KiB840652

ExtendedIntegerResults.txtH A D07-May-20104.9 KiB134107

ExtendingLLVM.rstH A D19-Aug-202412.1 KiB320210

Extensions.rstH A D26-Sep-202424.9 KiB723526

FAQ.rstH A D10-Sep-202413 KiB335254

FatLTO.rstH A D23-Jan-20243.9 KiB11681

FaultMaps.rstH A D15-Nov-20214.4 KiB134103

FuzzingLLVM.rstH A D25-Mar-202210.1 KiB286198

GarbageCollection.rstH A D13-May-202341.5 KiB1,029767

GetElementPtr.rstH A D09-Oct-202321.4 KiB526387

GettingInvolved.rstH A D09-Jan-202525.1 KiB521418

GettingStarted.rstH A D07-Jan-202544.2 KiB1,161835

GettingStartedTutorials.rstH A D03-May-20241.2 KiB4433

GettingStartedVS.rstH A D07-Jun-202411 KiB259200

GitBisecting.rstH A D15-Nov-20214.6 KiB12689

GitHub.rstH A D19-Jan-202516.8 KiB397283

GitRepositoryPolicy.mdH A D11-Oct-20231.7 KiB3828

GoldPlugin.rstH A D22-Jun-20226.2 KiB190138

GwpAsan.rstH A D08-Oct-202413.1 KiB283230

HowToAddABuilder.rstH A D19-Nov-202417.9 KiB280220

HowToBuildOnARM.rstH A D11-Dec-20203.6 KiB8563

HowToBuildWindowsItaniumPrograms.rstH A D04-Nov-20246.3 KiB185127

HowToBuildWithPGO.rstH A D23-Jan-20237.3 KiB171125

HowToCrossCompileBuiltinsOnArm.rstH A D20-Aug-202112.8 KiB292231

HowToCrossCompileLLVM.rstH A D31-Jan-20238.1 KiB216154

HowToReleaseLLVM.rstH A D16-Sep-202416.2 KiB425298

HowToSetUpLLVMStyleRTTI.rstH A D15-Feb-202318.9 KiB572453

HowToSubmitABug.rstH A D03-Nov-202311.2 KiB310215

HowToUpdateDebugInfo.rstH A D12-Nov-202420.5 KiB517368

HowToUseAttributes.rstH A D25-Jun-20203.4 KiB8161

HowToUseInstrMappings.rstH A D23-Apr-20207.6 KiB176145

InAlloca.rstH A D20-Jul-20166.3 KiB161130

InstCombineContributorGuide.mdH A D04-May-202421.3 KiB565430

InstrProfileFormat.rstH A D28-Mar-202422.5 KiB532406

InstrRefDebugInfo.mdH A D11-Jun-20249 KiB195156

JITLink.rstH A D19-Sep-202448.1 KiB1,161875

KernelInfo.rstH A D29-Jan-20252.2 KiB

LangRef.rstH A D29-Jan-20251 MiB29,56021,293

Lexicon.rstH A D17-Apr-20239.1 KiB338248

LibFuzzer.rstH A D10-Oct-202236.6 KiB856655

LinkTimeOptimization.rstH A D19-Feb-202011.1 KiB306220

LoopTerminology.rstH A D06-Nov-202324.1 KiB719553

MCJIT-creation.pngHD21-Aug-201325.8 KiB

MCJIT-dyld-load.pngHD21-Aug-201338 KiB

MCJIT-engine-builder.pngHD21-Aug-201318.3 KiB

MCJIT-load-object.pngHD21-Aug-201374.7 KiB

MCJIT-load.pngHD21-Aug-201326.7 KiB

MCJIT-resolve-relocations.pngHD21-Aug-201356.3 KiB

MCJITDesignAndImplementation.rstH A D15-Nov-20218.5 KiB180144

MIRLangRef.rstH A D11-Jun-202428.5 KiB946643

MarkdownQuickstartTemplate.mdH A D11-Oct-20234.8 KiB162112

MarkedUpDisassembly.rstH A D22-Jan-20203.3 KiB8760

MeetupGuidelines.rstH A D11-Aug-20243.5 KiB8368

MemTagSanitizer.rstH A D20-Dec-20244.2 KiB9973

MemoryModelRelaxationAnnotations.rstH A D24-Apr-202417 KiB482353

MemorySSA.rstH A D21-May-202419.9 KiB493394

MergeFunctions.rstH A D27-Feb-202130.8 KiB786567

MisExpect.rstH A D01-Apr-20223.8 KiB7458

MyFirstTypoFix.rstH A D19-Jan-202516.8 KiB517334

NVPTXUsage.rstH A D24-Jan-202560.4 KiB972712

NewPassManager.rstH A D05-Apr-202421.5 KiB519390

ORCv2.rstH A D19-May-202438.9 KiB975733

OpaquePointers.rstH A D21-Aug-202312.8 KiB295230

OptBisect.rstH A D14-Sep-20238.8 KiB195151

PCSectionsMetadata.rstH A D08-Feb-20234.7 KiB12996

Passes.rstH A D29-Jan-202543.8 KiB1,083784

PointerAuth.mdH A D16-Aug-202412.8 KiB366250

ProgrammersManual.rstH A D03-Jan-2025162.9 KiB4,1733,091

Projects.rstH A D28-Jul-20229.4 KiB258180

README.txtH A D22-Oct-20212.5 KiB7052

RISCVUsage.rstH A D28-Jan-202535.9 KiB398317

Reference.rstH A D11-Dec-20245.8 KiB235178

ReleaseNotes.mdH A D29-Jan-20254.6 KiB

ReleaseProcess.rstH A D22-Mar-20207.4 KiB235162

Remarks.rstH A D28-Oct-201919.2 KiB651430

RemoveDIsDebugInfo.mdH A D28-Jan-202524.1 KiB433351

ReportingGuide.rstH A D12-Apr-20235.4 KiB12394

ResponseGuide.rstH A D31-Oct-202413 KiB316234

SPIRVUsage.rstH A D19-Dec-202425.2 KiB455375

SandboxIR.mdH A D24-Jan-20254.2 KiB

ScudoHardenedAllocator.rstH A D13-Nov-202319.8 KiB365295

Security.rstH A D18-Dec-202416.3 KiB252179

SecurityTransparencyReports.rstH A D02-Feb-20244.9 KiB11882

SegmentedStacks.rstH A D20-Jul-20163.1 KiB7860

SourceLevelDebugging.rstH A D30-Jul-202489.1 KiB2,1791,730

SpeculativeLoadHardening.mdH A D04-Oct-202351.7 KiB1,099917

SphinxQuickstartTemplate.rstH A D09-Jan-20246.5 KiB195129

StackMaps.rstH A D11-Dec-202420.8 KiB518418

StackSafetyAnalysis.rstH A D26-Nov-20182.2 KiB5742

Statepoints.rstH A D26-Aug-202435.4 KiB812650

SupportLibrary.rstH A D15-Nov-202111.5 KiB247197

SupportPolicy.rstH A D22-Feb-202211.2 KiB243195

SymbolizerMarkupFormat.rstH A D07-Dec-202221.6 KiB442351

SystemLibrary.rstH A D18-Sep-2018209 107

TableGenFundamentals.rstH A D01-Apr-2014243 118

Telemetry.rstH A D23-Dec-20247.7 KiB

TestSuiteGuide.mdH A D20-Dec-202418.5 KiB425304

TestSuiteMakefileGuide.rstH A D29-Jan-20197.7 KiB199147

TestingGuide.rstH A D24-Jan-202541.6 KiB1,099798

TransformMetadata.rstH A D08-Sep-202015.6 KiB442341

TypeMetadata.rstH A D21-Dec-202010.8 KiB291226

UndefinedBehavior.rstH A D11-Dec-202413.5 KiB

UserGuides.rstH A D23-Dec-20248.2 KiB291224

VectorizationPlan.rstH A D16-May-202413.2 KiB294234

Vectorizers.rstH A D11-Dec-202414.9 KiB457329

WritingAnLLVMBackend.rstH A D14-Nov-202484.2 KiB2,0311,595

WritingAnLLVMNewPMPass.rstH A D06-Feb-20249.1 KiB290200

WritingAnLLVMPass.rstH A D27-Aug-202436.6 KiB993752

XRay.rstH A D29-Nov-202416.2 KiB370276

XRayExample.rstH A D15-Nov-202116.8 KiB348265

XRayFDRFormat.rstH A D22-Jan-202019.4 KiB402302

YamlIO.rstH A D14-Mar-202233.1 KiB1,062808

buildbot_worker_contact.pngHD24-Feb-202151.5 KiB

conf.pyH A D26-Sep-20249.7 KiB30998

convergence-both-diverged-nested.pngHD30-May-202423.4 KiB

convergence-closed-path.pngHD30-May-202423.9 KiB

convergence-divergent-inside.pngHD30-May-202448.3 KiB

convergence-divergent-outside.pngHD30-May-202447.5 KiB

convergence-natural-loop.pngHD30-May-202417.2 KiB

cycle-1.pngHD10-Dec-202117.8 KiB

cycle-2.pngHD10-Dec-202117.1 KiB

cycle-3.pngHD10-Dec-202118.3 KiB

doxygen-mainpage.doxH A D06-Mar-2016784 1918

doxygen.cfg.inH A D02-May-202398.1 KiB2,2951,770

epilogue-vectorization-cfg.pngHD02-Dec-202071.4 KiB

gcc-loops.pngHD20-Jan-201321 KiB

index.rstH A D18-Apr-20242.1 KiB10568

linpack-pc.pngHD20-Jan-201313.3 KiB

llvm_slug.pyH A D05-Oct-2023394 176

llvm_telemetry_design.pngH A D23-Dec-202492.4 KiB

loop-guard.svgH A D05-Oct-2020108.1 KiB1,0801,079

loop-irreducible.svgH A D05-Oct-202076.4 KiB773772

loop-merge.svgH A D05-Oct-202088.1 KiB661660

loop-nested.svgH A D05-Oct-202087.8 KiB875874

loop-nonmaximal.svgH A D05-Oct-2020129.4 KiB1,2811,280

loop-separate.svgH A D05-Oct-202090.7 KiB691690

loop-single.svgH A D05-Oct-202035.3 KiB339338

loop-terminology-guarded-loop.pngHD16-Mar-202070.9 KiB

loop-terminology-initial-loop.pngHD16-Mar-202040.7 KiB

loop-terminology-rotated-loop.pngHD16-Mar-202060 KiB

loop-terminology.svgH A D05-Oct-2020116.1 KiB2,1122,111

make.batH A D19-Apr-20125 KiB191167

re_format.7H A D07-May-201018.4 KiB757756

requirements-hashed.txtH A D17-Dec-202424.4 KiB367366

requirements.txtH A D17-Dec-2024230 109

speculative_load_hardening_microbenchmarks.pngHD18-Jul-2018110.3 KiB

vplan-early-exit.dotH A D11-Dec-2024725

vplan-early-exit.pngH A D11-Dec-2024128.9 KiB

vplan-scope.pngHD16-May-2024664.1 KiB

vplan-transform-pipeline.pngHD16-May-2024542.2 KiB

yaml2obj.rstH A D28-Apr-202312.2 KiB277261

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 llvm/docs/
53    sphinx-build -b linkcheck . _build/lintcheck/
54    # report will be generated in _build/lintcheck/output.txt
55
56Doxygen page Output
57==============
58
59Install doxygen <https://www.doxygen.nl/download.html> and dot2tex <https://dot2tex.readthedocs.io/en/latest>.
60
61    cd <build-dir>
62    cmake -DLLVM_ENABLE_DOXYGEN=On <llvm-top-src-dir>
63    make doxygen-llvm # for LLVM docs
64    make doxygen-clang # for clang docs
65
66It will generate html in
67
68    <build-dir>/docs/doxygen/html # for LLVM docs
69    <build-dir>/tools/clang/docs/doxygen/html # for clang docs
70