mirror-llvm-project/llvm/docs
Fabian Ritter 2897ee1dbb
[AMDGPU][Docs] Memory Model: Refactor location-order to cover reads (#213044)
This shouldn't change anything semantically, only make the spec
(a) closer to the Vulkan spec, which includes reads in their location-ordered
    relation: https://docs.vulkan.org/spec/latest/appendices/memorymodel.html#memory-model-location-ordered
(b) more uniform: this way, the may-see constraints are the same as the vanilla
    LLVM constraints, only with all occurrences of "happens-before" replaced by
    "location-ordered before".
2026-07-31 09:37:30 +02:00
..
_ocamldoc
_static [docs] de-highlight code snippet errors in dark mode (#212894) 2026-07-29 17:14:39 -07:00
_templates
_themes/llvm-theme
AMDGPU [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
AMDGPUDwarfExtensionAllowLocationDescriptionOnTheDwarfExpressionStack [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
CommandGuide [llvm-calc-occupancy] Add an AMDGPU occupancy calculator tool (#208727) 2026-07-30 15:11:33 +02:00
DependenceGraphs [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
DirectX [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
Frontend [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
GlobalISel [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
HistoricalNotes
PDB [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
Proposals [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
RISCV [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
TableGen [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
tutorial [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
AArch64SME.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
AddingConstrainedIntrinsics.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
AdminTasks.md [docs] Update the commit review admin task with process details (#210420) 2026-07-18 00:00:02 +00:00
AdvancedBuilds.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
AIToolPolicy.md [docs] Add exception to AI tool policy for Bazel build fixer (#183408) 2026-03-05 13:53:44 -08:00
AliasAnalysis.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
AMDGPUAsyncOperations.md [Docs][AMDGPU] Explain completion of async operations (#212756) 2026-07-30 14:05:00 +05:30
AMDGPUDMAOperations.md [Docs][AMDGPU] Eliminate incorrect use of double backticks [NFC] (#212343) 2026-07-27 20:47:23 +00:00
AMDGPUDwarfExtensionsForHeterogeneousDebugging.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
AMDGPUExecutionSynchronization.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
AMDGPUInstructionNotation.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
AMDGPUInstructionSyntax.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
AMDGPUMemoryModel.md [AMDGPU][Docs] Memory Model: Refactor location-order to cover reads (#213044) 2026-07-31 09:37:30 +02:00
AMDGPUModifierSyntax.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
AMDGPUOperandSyntax.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
AMDGPUUsage.rst [Docs][AMDGPU] availability/visibility in addrspace(3) and other cleanups (#212707) 2026-07-30 15:33:34 +05:30
ARM-BE-bitcastfail.png
ARM-BE-bitcastsuccess.png
ARM-BE-ld1.png
ARM-BE-ldr.png
AssignmentTracking.md [DebugInfo][AT] Treat escaping calls as untagged stores in assignment tracking (#183979) 2026-03-12 20:47:53 +05:30
Atomics.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
Benchmarking.rst [llvm] Proofread Benchmarking.rst (#155792) 2025-08-28 07:44:24 -07:00
BigEndianNEON.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
BitCodeFormat.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
BlockFrequencyTerminology.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
BranchWeightMetadata.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
BugLifeCycle.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
buildbot_worker_contact.png
BuildingADistribution.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
CallGraphSection.md [NFC][llvm] Update call graph section's name. (#163429) 2025-10-15 07:52:54 -07:00
CFIVerify.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
CIBestPractices.rst [CI] Add documentation for self-hosted runners (#211622) 2026-07-27 18:27:14 -04:00
CMake.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
CMakeLists.txt [docs] try again to handle doxygen everywhere (#203081) 2026-06-11 08:58:36 -04:00
CMakePrimer.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
CodeGenerator.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
CodeOfConduct.rst [docs][Coc] Add link to most recent transparency report (#163964) 2025-10-17 09:55:06 -04:00
CodeReview.rst Document the community RFC process (#116386) 2025-12-04 11:59:57 -05:00
CodingStandards.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
CommandLine.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
CompileCudaWithLLVM.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
CompilerWriterInfo.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
conf.py [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
ContentAddressableStorage.md [CAS] Add ActionCache to LLVMCAS Library (#114097) 2025-08-20 14:42:44 -07:00
Contributing.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
convergence-both-diverged-nested.png
convergence-closed-path.png
convergence-divergent-inside.png
convergence-divergent-outside.png
convergence-natural-loop.png
ConvergenceAndUniformity.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
ConvergentOperations.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
Coroutines.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
CoverageMappingFormat.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
cycle-1.png
cycle-2.png
cycle-3.png
CycleTerminology.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
DebuggingJITedCode.md [docs] Rewrite 19 LLVM docs from reST to markdown (#208798) 2026-07-18 04:23:20 +00:00
DebuggingLLVM.md [docs] Migrate 20 LLVM docs to markdown (#201465) 2026-06-05 15:26:28 -07:00
DeveloperPolicy.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
DirectXUsage.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
DiscourseMigrationGuide.md [www][docs] Remove last mentions of IRC (#139076) 2025-05-08 09:40:33 -04:00
Docker.md [docs] Rewrite 20 selected rst LLVM docs to Markdown (#205923) 2026-07-02 16:28:49 -07:00
doxygen-mainpage.dox
doxygen.cfg.in [docs] update CI to use latest release of doxygen (#202420) 2026-06-10 10:25:33 -04:00
DTLTO.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
epilogue-vectorization-cfg.png
ExceptionHandling.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
ExtendedIntegerResults.txt
ExtendingLLVM.md [docs] Rewrite 19 LLVM docs from reST to markdown (#208798) 2026-07-18 04:23:20 +00:00
Extensions.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
FAQ.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
FatLTO.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
FaultMaps.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
FuzzingLLVM.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
GarbageCollection.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
gcc-loops.png
GetElementPtr.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
GettingInvolved.md [Docs] Delete BugpointRedesign (#212518) 2026-07-28 08:27:51 -07:00
GettingStarted.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
GettingStartedTutorials.md [docs] Migrate 22 popular LLVM docs to MyST (#201244) 2026-06-22 16:02:50 -07:00
GettingStartedVS.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
GitBisecting.rst [docs] Point to git bisect --first-parent (#171728) 2025-12-12 14:24:49 -08:00
GitHub.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
GitHubActionsRunners.rst [CI] Add documentation for self-hosted runners (#211622) 2026-07-27 18:27:14 -04:00
GitRepositoryPolicy.md [docs] Rename 22 popular LLVM docs .rst -> .md (#201243) 2026-06-22 16:00:56 -07:00
GoldPlugin.md [docs] Rewrite 20 selected rst LLVM docs to Markdown (#205923) 2026-07-02 16:28:49 -07:00
GwpAsan.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
HowToAddABuilder.rst [DOCS][BUILDBOT] Bump recommended worker version (#144853) 2025-06-26 10:30:55 +01:00
HowToBuildOnARM.md [docs] Rewrite 20 selected rst LLVM docs to Markdown (#205923) 2026-07-02 16:28:49 -07:00
HowToBuildWindowsItaniumPrograms.md [docs] Rewrite 19 LLVM docs from reST to markdown (#208798) 2026-07-18 04:23:20 +00:00
HowToBuildWithPGO.md [docs] Rewrite 20 selected rst LLVM docs to Markdown (#205923) 2026-07-02 16:28:49 -07:00
HowToCrossCompileBuiltinsOnArm.md [docs] Rewrite 19 LLVM docs from reST to markdown (#208798) 2026-07-18 04:23:20 +00:00
HowToCrossCompileLLVM.md [docs] Rewrite 20 selected rst LLVM docs to Markdown (#205923) 2026-07-02 16:28:49 -07:00
HowToReleaseLLVM.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
HowToSetUpLLVMStyleRTTI.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
HowToSubmitABug.rst docs: Delete incorrect code generation section of HowToSubmitABug (#182315) 2026-02-19 18:21:24 +01:00
HowToUpdateDebugInfo.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
HowToUseAttributes.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
HowToUseInstrMappings.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
InAlloca.rst
index.md [docs] Migrate 22 popular LLVM docs to MyST (#201244) 2026-06-22 16:02:50 -07:00
InstCombineContributorGuide.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
InstrProfileFormat.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
InstrRefDebugInfo.md [docs] Rename 22 popular LLVM docs .rst -> .md (#201243) 2026-06-22 16:00:56 -07:00
Instrumentor.md [Instrumentor] Reintroduce runtime inlining (#208072) 2026-07-27 18:43:05 -05:00
InterfaceExportAnnotations.rst [llvm] revisions to LLVM_ABI export macro definitions (#144598) 2025-06-24 09:18:34 -07:00
JITLink.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
KernelInfo.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
KeyInstructionsDebugInfo.md [Docs] Fixes indents for InstrRefDebugInfo and KeyInstructionsDebugInfo (#194532) 2026-04-28 06:44:47 -07:00
LangRef.md IR: Introduce "float-abi" module flag (#210821) 2026-07-30 10:49:48 +02:00
Lexicon.md [docs] Migrate 20 LLVM docs to markdown (#201465) 2026-06-05 15:26:28 -07:00
LFI.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
LibFuzzer.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
LinkTimeOptimization.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
linpack-pc.png
llvm_telemetry_design.png
loop-guard.svg
loop-irreducible.svg
loop-merge.svg
loop-nested.svg
loop-nonmaximal.svg
loop-separate.svg
loop-single.svg
loop-terminology-guarded-loop.png
loop-terminology-initial-loop.png
loop-terminology-rotated-loop.png
loop-terminology.svg
LoopFusion.rst [LoopFusion][docs][NFC] Document atomic accesses as a fusion blocker (#201775) 2026-06-05 08:28:24 +00:00
LoopTerminology.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
make.bat
MarkdownQuickstartTemplate.md [docs] Rename SphinxQuickstartTemplate.{rst|md} for blame (#198899) 2026-06-02 14:01:42 -07:00
MarkedUpDisassembly.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
MCJIT-creation.png
MCJIT-dyld-load.png
MCJIT-engine-builder.png
MCJIT-load-object.png
MCJIT-load.png
MCJIT-resolve-relocations.png
MCJITDesignAndImplementation.md [docs] Rewrite 19 LLVM docs from reST to markdown (#208798) 2026-07-18 04:23:20 +00:00
MeetupGuidelines.rst
MemoryModelRelaxationAnnotations.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
MemorySSA.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
MemProf.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
MemTagSanitizer.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
MergeFunctions.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
MIRLangRef.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
MisExpect.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
MLGO.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
MyFirstTypoFix.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
NewPassManager.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
NVPTXUsage.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
OpaquePointers.rst [llvm] Fix typos in documentation (#140844) 2025-05-21 01:11:08 -07:00
OptBisect.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
ORCv2.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
Passes.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
PCSectionsMetadata.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
PointerAuth.md
ProgrammersManual.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
ProjectGovernance.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
Projects.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
QualGroup.rst [Docs] Document Qualification WG artifacts and meeting archive (#209382) 2026-07-15 16:09:51 +09:00
re_format.7
README.txt [docs] Rename SphinxQuickstartTemplate.{rst|md} for blame (#198899) 2026-06-02 14:01:42 -07:00
Reference.md [CI] Add documentation for self-hosted runners (#211622) 2026-07-27 18:27:14 -04:00
ReleaseNotes.md [RISCV] Support CodeGen of Zilx extension 2026-07-30 14:52:23 +08:00
ReleaseNotesTemplate.txt [Docs] Normalize headers and indents for ReleaseNotes (#194784) 2026-04-29 06:02:21 -07:00
ReleaseProcess.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
Remarks.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
RemoveDIsDebugInfo.md [docs] Rename 22 popular LLVM docs .rst -> .md (#201243) 2026-06-22 16:00:56 -07:00
ReportingGuide.rst
requirements.txt workflows: Require hashed dependencies when installing docs dependencies (#197306) 2026-05-24 13:50:02 -07:00
requirements.txt.in workflows: Require hashed dependencies when installing docs dependencies (#197306) 2026-05-24 13:50:02 -07:00
ResponseGuide.rst [llvm] Proofread *.rst (#168185) 2025-11-15 08:06:23 -08:00
RFCProcess.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
RISCVUsage.rst [RISCV][MC] Support experimental Zilx extension 2026-07-30 14:50:25 +08:00
SandboxIR.md Reapply "[SandboxIR][Tracker] Implement accept(/*AcceptAll*/) and revert(/*RevertAll*/)" (#199776) (#199805) 2026-05-27 09:03:55 -07:00
SandboxVectorizer.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
ScudoHardenedAllocator.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
Security.rst [docs] Remove myself from security response (#203061) 2026-06-17 14:40:39 -03:00
SecurityTransparencyReports.rst 2025 Security Response Group Transparency Report (#194066) 2026-05-07 16:55:17 -03:00
SegmentedStacks.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
SourceLevelDebugging.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
speculative_load_hardening_microbenchmarks.png
SpeculativeLoadHardening.md
SphinxQuickstartTemplate.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
SPIRVUsage.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
StackMaps.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
StackSafetyAnalysis.md [docs] Rewrite 20 selected rst LLVM docs to Markdown (#205923) 2026-07-02 16:28:49 -07:00
Statepoints.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
SupportLibrary.md [docs] Rewrite 20 selected rst LLVM docs to Markdown (#205923) 2026-07-02 16:28:49 -07:00
SupportPolicy.rst
SymbolizerMarkupFormat.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
SystemLibrary.rst
TableGenFundamentals.rst
Telemetry.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
TestingGuide.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
TestSuiteGuide.md [Docs] typo settting -> setting (#178665) 2026-03-14 21:43:15 +00:00
TransformMetadata.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
TypeMetadata.rst
UndefinedBehavior.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
UserGuides.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
VectorizationPlan.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
Vectorizers.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
vplan-early-exit-lowered.dot [VPlan] Optimize BranchOnTwoConds to chain of 2 simple branches. (#174016) 2026-01-13 20:14:15 +00:00
vplan-early-exit-lowered.png [VPlan] Optimize BranchOnTwoConds to chain of 2 simple branches. (#174016) 2026-01-13 20:14:15 +00:00
vplan-early-exit.dot [VPlan] Add BranchOnTwoConds, use for early exit plans. (#172750) 2025-12-29 19:39:38 +00:00
vplan-early-exit.png [VPlan] Add BranchOnTwoConds, use for early exit plans. (#172750) 2025-12-29 19:39:38 +00:00
vplan-scope.png
vplan-transform-pipeline.png
WritingAnLLVMBackend.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
WritingAnLLVMNewPMPass.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
WritingAnLLVMPass.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
XRay.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
XRayExample.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
XRayFDRFormat.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
yaml2obj.rst
YamlIO.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07: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.md` 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