bolt/deps/llvm-18.1.8/llvm/docs
2025-02-14 19:21:04 +01:00
..
_ocamldoc Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
_static Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
_templates Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
_themes/llvm-theme Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
AMDGPU Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
AMDGPUDwarfExtensionAllowLocationDescriptionOnTheDwarfExpressionStack Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
CommandGuide Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
DependenceGraphs Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
Frontend Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
GlobalISel Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
HistoricalNotes Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
PDB Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
Proposals Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
TableGen Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
tutorial Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
AArch64SME.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
AddingConstrainedIntrinsics.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
AdvancedBuilds.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
AliasAnalysis.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
AMDGPUDwarfExtensionsForHeterogeneousDebugging.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
AMDGPUInstructionNotation.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
AMDGPUInstructionSyntax.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
AMDGPUModifierSyntax.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
AMDGPUOperandSyntax.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
AMDGPUUsage.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
ARM-BE-bitcastfail.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
ARM-BE-bitcastsuccess.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
ARM-BE-ld1.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
ARM-BE-ldr.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
AssignmentTracking.md Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
Atomics.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
Benchmarking.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
BigEndianNEON.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
BitCodeFormat.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
BlockFrequencyTerminology.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
BranchWeightMetadata.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
BugLifeCycle.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
Bugpoint.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
BugpointRedesign.md Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
buildbot_worker_contact.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
BuildingADistribution.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
CFIVerify.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
CMake.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
CMakeLists.txt Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
CMakePrimer.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
CodeGenerator.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
CodeOfConduct.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
CodeReview.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
CodingStandards.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
CommandLine.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
CompileCudaWithLLVM.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
CompilerWriterInfo.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
conf.py Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
Contributing.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
convergence-both-diverged-nested.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
convergence-closed-path.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
convergence-divergent-inside.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
convergence-divergent-outside.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
convergence-natural-loop.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
ConvergenceAndUniformity.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
ConvergentOperations.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
Coroutines.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
CoverageMappingFormat.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
cycle-1.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
cycle-2.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
cycle-3.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
CycleTerminology.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
DebuggingJITedCode.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
DeveloperPolicy.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
DirectXUsage.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
DiscourseMigrationGuide.md Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
Docker.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
doxygen-mainpage.dox Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
doxygen.cfg.in Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
epilogue-vectorization-cfg.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
ExceptionHandling.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
ExtendedIntegerResults.txt Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
ExtendingLLVM.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
Extensions.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
FAQ.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
FatLTO.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
FaultMaps.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
FuzzingLLVM.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
GarbageCollection.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
gcc-loops.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
GetElementPtr.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
GettingInvolved.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
GettingStarted.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
GettingStartedTutorials.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
GettingStartedVS.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
GitBisecting.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
GitHub.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
GitRepositoryPolicy.md Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
GoldPlugin.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
GwpAsan.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
HowToAddABuilder.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
HowToBuildOnARM.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
HowToBuildWindowsItaniumPrograms.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
HowToBuildWithPGO.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
HowToCrossCompileBuiltinsOnArm.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
HowToCrossCompileLLVM.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
HowToReleaseLLVM.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
HowToSetUpLLVMStyleRTTI.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
HowToSubmitABug.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
HowToUpdateDebugInfo.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
HowToUseAttributes.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
HowToUseInstrMappings.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
InAlloca.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
index.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
InstrProfileFormat.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
InstrRefDebugInfo.md Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
JITLink.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
LangRef.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
Lexicon.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
LibFuzzer.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
LinkTimeOptimization.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
linpack-pc.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
llvm_slug.py Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
loop-guard.svg Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
loop-irreducible.svg Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
loop-merge.svg Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
loop-nested.svg Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
loop-nonmaximal.svg Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
loop-separate.svg Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
loop-single.svg Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
loop-terminology-guarded-loop.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
loop-terminology-initial-loop.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
loop-terminology-rotated-loop.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
loop-terminology.svg Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
LoopTerminology.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
make.bat Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
MarkdownQuickstartTemplate.md Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
MarkedUpDisassembly.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
MCJIT-creation.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
MCJIT-dyld-load.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
MCJIT-engine-builder.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
MCJIT-load-object.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
MCJIT-load.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
MCJIT-resolve-relocations.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
MCJITDesignAndImplementation.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
MeetupGuidelines.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
MemorySSA.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
MemTagSanitizer.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
MergeFunctions.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
MIRLangRef.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
MisExpect.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
MyFirstTypoFix.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
NewPassManager.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
NVPTXUsage.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
OpaquePointers.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
OptBisect.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
ORCv2.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
Packaging.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
Passes.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
PCSectionsMetadata.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
Phabricator.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
Phabricator_premerge_results.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
Phabricator_premerge_unit_tests.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
PointerAuth.md Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
ProgrammersManual.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
Projects.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
re_format.7 Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
README.txt Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
Reference.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
ReleaseNotes.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
ReleaseProcess.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
Remarks.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
RemoveDIsDebugInfo.md Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
ReportingGuide.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
requirements-hashed.txt Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
requirements.txt Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
ResponseGuide.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
RISCVUsage.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
ScudoHardenedAllocator.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
Security.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
SecurityTransparencyReports.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
SegmentedStacks.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
SourceLevelDebugging.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
speculative_load_hardening_microbenchmarks.png Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
SpeculativeLoadHardening.md Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
SphinxQuickstartTemplate.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
SPIRVUsage.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
StackMaps.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
StackSafetyAnalysis.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
Statepoints.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
SupportLibrary.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
SupportPolicy.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
SymbolizerMarkupFormat.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
SystemLibrary.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
TableGenFundamentals.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
TestingGuide.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
TestSuiteGuide.md Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
TestSuiteMakefileGuide.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
TransformMetadata.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
TypeMetadata.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
UserGuides.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
VectorizationPlan.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
Vectorizers.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
WritingAnLLVMBackend.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
WritingAnLLVMNewPMPass.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
WritingAnLLVMPass.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
XRay.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
XRayExample.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
XRayFDRFormat.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
yaml2obj.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
YamlIO.rst Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00

LLVM Documentation
==================

LLVM's documentation is written in reStructuredText, a lightweight
plaintext markup language (file extension `.rst`). While the
reStructuredText documentation should be quite readable in source form, it
is mostly meant to be processed by the Sphinx documentation generation
system to create HTML pages which are hosted on <https://llvm.org/docs/> and
updated after every commit. Manpage output is also supported, see below.

If you instead would like to generate and view the HTML locally, install
Sphinx <http://sphinx-doc.org/> and then do:

    cd <build-dir>
    cmake -DLLVM_ENABLE_SPHINX=true -DSPHINX_OUTPUT_HTML=true <src-dir>
    make -j3 docs-llvm-html
    $BROWSER <build-dir>/docs/html/index.html

The mapping between reStructuredText files and generated documentation is
`docs/Foo.rst` <-> `<build-dir>/docs//html/Foo.html` <-> `https://llvm.org/docs/Foo.html`.

If you are interested in writing new documentation, you will want to read
`SphinxQuickstartTemplate.rst` which will get you writing documentation
very fast and includes examples of the most important reStructuredText
markup syntax.

Manpage Output
===============

Building the manpages is similar to building the HTML documentation. The
primary difference is to use the `man` makefile target, instead of the
default (which is `html`). Sphinx then produces the man pages in the
directory `<build-dir>/docs/man/`.

    cd <build-dir>
    cmake -DLLVM_ENABLE_SPHINX=true -DSPHINX_OUTPUT_MAN=true <src-dir>
    make -j3 docs-llvm-man
    man -l <build-dir>/docs/man/FileCheck.1

The correspondence between .rst files and man pages is
`docs/CommandGuide/Foo.rst` <-> `<build-dir>/docs//man/Foo.1`.
These .rst files are also included during HTML generation so they are also
viewable online (as noted above) at e.g.
`https://llvm.org/docs/CommandGuide/Foo.html`.

Checking links
==============

The reachability of external links in the documentation can be checked by
running:

    cd llvm/docs/
    sphinx-build -b linkcheck . _build/lintcheck/
    # report will be generated in _build/lintcheck/output.txt

Doxygen page Output
==============

Install doxygen <https://www.doxygen.nl/download.html> and dot2tex <https://dot2tex.readthedocs.io/en/latest>.

    cd <build-dir>
    cmake -DLLVM_ENABLE_DOXYGEN=On <llvm-top-src-dir>
    make doxygen-llvm # for LLVM docs
    make doxygen-clang # for clang docs

It will generate html in

    <build-dir>/docs/doxygen/html # for LLVM docs
    <build-dir>/tools/clang/docs/doxygen/html # for clang docs