|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| CommandGuide/ | | 03-May-2024 | - | 4,092 | 2,575 |
| Frontend/ | | 03-May-2024 | - | 297 | 233 |
| HistoricalNotes/ | | 03-May-2024 | - | 2,314 | 1,775 |
| TableGen/ | | 03-May-2024 | - | 1,774 | 1,303 |
| _ocamldoc/ | | 03-May-2024 | - | 98 | 70 |
| _static/ | | 03-May-2024 | - | 113 | 91 |
| _templates/ | | 03-May-2024 | - | 22 | 16 |
| _themes/llvm-theme/ | | 03-May-2024 | - | 401 | 331 |
| tutorial/ | | 03-May-2024 | - | 14,374 | 11,513 |
| AMDGPUUsage.rst | D | 03-May-2024 | 6.1 KiB | 206 | 152 |
| ARM-BE-bitcastfail.png | D | 03-May-2024 | 28.7 KiB | | |
| ARM-BE-bitcastsuccess.png | D | 03-May-2024 | 40.5 KiB | | |
| ARM-BE-ld1.png | D | 03-May-2024 | 22 KiB | | |
| ARM-BE-ldr.png | D | 03-May-2024 | 16.1 KiB | | |
| AdvancedBuilds.rst | D | 03-May-2024 | 6.9 KiB | 175 | 125 |
| AliasAnalysis.rst | D | 03-May-2024 | 30.7 KiB | 712 | 543 |
| Atomics.rst | D | 03-May-2024 | 27.7 KiB | 606 | 481 |
| BigEndianNEON.rst | D | 03-May-2024 | 12.2 KiB | 206 | 126 |
| BitCodeFormat.rst | D | 03-May-2024 | 38.3 KiB | 1,157 | 808 |
| BlockFrequencyTerminology.rst | D | 03-May-2024 | 4.6 KiB | 131 | 94 |
| BranchWeightMetadata.rst | D | 03-May-2024 | 3.7 KiB | 141 | 100 |
| Bugpoint.rst | D | 03-May-2024 | 10.4 KiB | 217 | 172 |
| CMake.rst | D | 03-May-2024 | 28.2 KiB | 735 | 538 |
| CMakeLists.txt | D | 03-May-2024 | 5.2 KiB | 161 | 138 |
| CMakePrimer.rst | D | 03-May-2024 | 15.6 KiB | 466 | 353 |
| CodeGenerator.rst | D | 03-May-2024 | 114.3 KiB | 2,697 | 2,128 |
| CodeOfConduct.rst | D | 03-May-2024 | 5 KiB | 113 | 85 |
| CodingStandards.rst | D | 03-May-2024 | 61.3 KiB | 1,630 | 1,240 |
| CommandLine.rst | D | 03-May-2024 | 67.5 KiB | 1,745 | 1,292 |
| CompileCudaWithLLVM.rst | D | 03-May-2024 | 9.7 KiB | 261 | 197 |
| CompilerWriterInfo.rst | D | 03-May-2024 | 6.7 KiB | 151 | 100 |
| CoverageMappingFormat.rst | D | 03-May-2024 | 26.3 KiB | 606 | 436 |
| DebuggingJITedCode.rst | D | 03-May-2024 | 4.9 KiB | 144 | 123 |
| DeveloperPolicy.rst | D | 03-May-2024 | 31.3 KiB | 665 | 510 |
| Dummy.html | D | 03-May-2024 | 0 | 1 | 0 |
| ExceptionHandling.rst | D | 03-May-2024 | 37.5 KiB | 842 | 654 |
| ExtendedIntegerResults.txt | D | 03-May-2024 | 4.9 KiB | 134 | 107 |
| ExtendingLLVM.rst | D | 03-May-2024 | 12.2 KiB | 328 | 214 |
| Extensions.rst | D | 03-May-2024 | 5.6 KiB | 235 | 160 |
| FAQ.rst | D | 03-May-2024 | 13.1 KiB | 346 | 262 |
| FaultMaps.rst | D | 03-May-2024 | 4.2 KiB | 128 | 98 |
| GarbageCollection.rst | D | 03-May-2024 | 43.7 KiB | 1,099 | 820 |
| GetElementPtr.rst | D | 03-May-2024 | 22.1 KiB | 537 | 395 |
| GettingStarted.rst | D | 03-May-2024 | 46.1 KiB | 1,263 | 898 |
| GettingStartedVS.rst | D | 03-May-2024 | 8.5 KiB | 235 | 163 |
| GoldPlugin.rst | D | 03-May-2024 | 5.4 KiB | 173 | 124 |
| HowToAddABuilder.rst | D | 03-May-2024 | 3.6 KiB | 87 | 64 |
| HowToBuildOnARM.rst | D | 03-May-2024 | 3.7 KiB | 86 | 64 |
| HowToCrossCompileLLVM.rst | D | 03-May-2024 | 7.5 KiB | 206 | 147 |
| HowToReleaseLLVM.rst | D | 03-May-2024 | 16.6 KiB | 422 | 304 |
| HowToSetUpLLVMStyleRTTI.rst | D | 03-May-2024 | 13.6 KiB | 415 | 332 |
| HowToSubmitABug.rst | D | 03-May-2024 | 8.4 KiB | 230 | 165 |
| HowToUseAttributes.rst | D | 03-May-2024 | 3.5 KiB | 82 | 62 |
| HowToUseInstrMappings.rst | D | 03-May-2024 | 7.6 KiB | 176 | 145 |
| InAlloca.rst | D | 03-May-2024 | 6.3 KiB | 161 | 130 |
| LLVMBuild.rst | D | 03-May-2024 | 12.3 KiB | 325 | 227 |
| LLVMBuild.txt | D | 03-May-2024 | 660 | 22 | 20 |
| LangRef.rst | D | 03-May-2024 | 441.3 KiB | 12,544 | 9,292 |
| Lexicon.rst | D | 03-May-2024 | 6.5 KiB | 257 | 187 |
| LibFuzzer.rst | D | 03-May-2024 | 36.8 KiB | 906 | 703 |
| LinkTimeOptimization.rst | D | 03-May-2024 | 10.9 KiB | 300 | 217 |
| MCJIT-creation.png | D | 03-May-2024 | 25.8 KiB | | |
| MCJIT-dyld-load.png | D | 03-May-2024 | 38 KiB | | |
| MCJIT-engine-builder.png | D | 03-May-2024 | 18.3 KiB | | |
| MCJIT-load-object.png | D | 03-May-2024 | 74.7 KiB | | |
| MCJIT-load.png | D | 03-May-2024 | 26.7 KiB | | |
| MCJIT-resolve-relocations.png | D | 03-May-2024 | 56.3 KiB | | |
| MCJITDesignAndImplementation.rst | D | 03-May-2024 | 8.5 KiB | 181 | 144 |
| MIRLangRef.rst | D | 03-May-2024 | 14.3 KiB | 496 | 344 |
| Makefile.sphinx | D | 03-May-2024 | 5.4 KiB | 156 | 125 |
| MarkedUpDisassembly.rst | D | 03-May-2024 | 3.3 KiB | 87 | 60 |
| MergeFunctions.rst | D | 03-May-2024 | 31.4 KiB | 803 | 581 |
| NVPTXUsage.rst | D | 03-May-2024 | 29.4 KiB | 981 | 714 |
| Packaging.rst | D | 03-May-2024 | 2.6 KiB | 74 | 56 |
| Passes.rst | D | 03-May-2024 | 46.7 KiB | 1,180 | 852 |
| Phabricator.rst | D | 03-May-2024 | 9.6 KiB | 235 | 175 |
| ProgrammersManual.rst | D | 03-May-2024 | 138.3 KiB | 3,551 | 2,602 |
| Projects.rst | D | 03-May-2024 | 9.4 KiB | 258 | 180 |
| README.txt | D | 03-May-2024 | 2 KiB | 54 | 41 |
| ReleaseNotes.rst | D | 03-May-2024 | 6.6 KiB | 184 | 128 |
| ReleaseProcess.rst | D | 03-May-2024 | 7.3 KiB | 211 | 139 |
| ReportingGuide.rst | D | 03-May-2024 | 6.4 KiB | 144 | 111 |
| ScudoHardenedAllocator.rst | D | 03-May-2024 | 4.5 KiB | 118 | 92 |
| SegmentedStacks.rst | D | 03-May-2024 | 3.1 KiB | 78 | 60 |
| SourceLevelDebugging.rst | D | 03-May-2024 | 57.1 KiB | 1,415 | 1,134 |
| SphinxQuickstartTemplate.rst | D | 03-May-2024 | 5 KiB | 161 | 111 |
| StackMaps.rst | D | 03-May-2024 | 20.4 KiB | 512 | 412 |
| Statepoints.rst | D | 03-May-2024 | 37.3 KiB | 842 | 671 |
| SystemLibrary.rst | D | 03-May-2024 | 11.5 KiB | 248 | 197 |
| TableGenFundamentals.rst | D | 03-May-2024 | 243 | 11 | 8 |
| TestSuiteMakefileGuide.rst | D | 03-May-2024 | 13.3 KiB | 347 | 260 |
| TestingGuide.rst | D | 03-May-2024 | 21.6 KiB | 620 | 439 |
| TypeMetadata.rst | D | 03-May-2024 | 8.4 KiB | 227 | 175 |
| Vectorizers.rst | D | 03-May-2024 | 12.7 KiB | 427 | 303 |
| WritingAnLLVMBackend.rst | D | 03-May-2024 | 80.2 KiB | 1,940 | 1,527 |
| WritingAnLLVMPass.rst | D | 03-May-2024 | 59.3 KiB | 1,439 | 1,093 |
| YamlIO.rst | D | 03-May-2024 | 32.5 KiB | 1,036 | 784 |
| conf.py | D | 03-May-2024 | 8.3 KiB | 254 | 53 |
| doxygen-mainpage.dox | D | 03-May-2024 | 784 | 19 | 18 |
| doxygen.cfg.in | D | 03-May-2024 | 98 KiB | 2,294 | 1,769 |
| gcc-loops.png | D | 03-May-2024 | 21 KiB | | |
| index.rst | D | 03-May-2024 | 13.6 KiB | 497 | 362 |
| linpack-pc.png | D | 03-May-2024 | 13.3 KiB | | |
| make.bat | D | 03-May-2024 | 5 KiB | 191 | 167 |
| re_format.7 | D | 03-May-2024 | 18.4 KiB | 757 | 756 |
| yaml2obj.rst | D | 03-May-2024 | 9.9 KiB | 222 | 206 |
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