Owen Reynolds d00dbb86c0 [docs][llvm-ar] Update llvm-ar command guide 5 vuotta sitten
..
AMDGPU 9c0dcead36 [AMDGPU][MC][DOC] Updated AMD GPU assembler description. 5 vuotta sitten
CommandGuide d00dbb86c0 [docs][llvm-ar] Update llvm-ar command guide 5 vuotta sitten
DependenceGraphs d23ee4dbce Data Dependence Graph Basics 6 vuotta sitten
Frontend 8de00d5b2d [docs] Remove training whitespaces. NFC 6 vuotta sitten
HistoricalNotes 1323006423 [typo] An LLVM. 12 vuotta sitten
PDB c562715303 Fix a few spellos in docs. 6 vuotta sitten
Proposals 7f8210c5bf Fix the spelling of my name. 5 vuotta sitten
TableGen 708401a85b [docs] Fix TableGen/LangRef typos 6 vuotta sitten
_ocamldoc 2fd32b4a0f [OCaml] Use a nicer style for documentation than OCaml default. 10 vuotta sitten
_static 297f179ffa Fix some typos in the doc 9 vuotta sitten
_templates ada11b8965 [Docs] Updates sidebar links and sets max-width property for div.body 5 vuotta sitten
_themes ada11b8965 [Docs] Updates sidebar links and sets max-width property for div.body 5 vuotta sitten
tutorial c562715303 Fix a few spellos in docs. 6 vuotta sitten
AMDGPUInstructionNotation.rst 78dfeb7de6 [AMDGPU][MC][DOC] Updated AMD GPU assembler description. 6 vuotta sitten
AMDGPUInstructionSyntax.rst f295ff3a3e [AMDGPU][MC][DOC] Updated AMD GPU assembler syntax description. 6 vuotta sitten
AMDGPUModifierSyntax.rst 9c0dcead36 [AMDGPU][MC][DOC] Updated AMD GPU assembler description. 5 vuotta sitten
AMDGPUOperandSyntax.rst 9c0dcead36 [AMDGPU][MC][DOC] Updated AMD GPU assembler description. 5 vuotta sitten
AMDGPUUsage.rst 0392724202 [AMDGPU] gfx908 target 6 vuotta sitten
ARM-BE-bitcastfail.png 85918049ab [ARM64-BE] Add sphinx documentation for the ARM64 NEON implementation. 11 vuotta sitten
ARM-BE-bitcastsuccess.png 85918049ab [ARM64-BE] Add sphinx documentation for the ARM64 NEON implementation. 11 vuotta sitten
ARM-BE-ld1.png 85918049ab [ARM64-BE] Add sphinx documentation for the ARM64 NEON implementation. 11 vuotta sitten
ARM-BE-ldr.png 85918049ab [ARM64-BE] Add sphinx documentation for the ARM64 NEON implementation. 11 vuotta sitten
AddingConstrainedIntrinsics.rst 84a952a3e6 [FPEnv] A missing crucial step was undocumented. 6 vuotta sitten
AdvancedBuilds.rst c23bed32d4 Use backquotes to avoid a sphinx unexpected error: 6 vuotta sitten
AliasAnalysis.rst 904f7bf9c7 commit for merge 7 vuotta sitten
Atomics.rst 61ae041759 [NFC] Test commit, deleting some whitespace 6 vuotta sitten
Benchmarking.rst 01c176bc59 Add some tips on benchmarking. 8 vuotta sitten
BigEndianNEON.rst 727273b11c Fix typos 11 vuotta sitten
BitCodeFormat.rst 644c65ae21 [X86] Add new calling convention that guarantees tail call optimization 5 vuotta sitten
BlockFrequencyTerminology.rst 727273b11c Fix typos 11 vuotta sitten
BranchWeightMetadata.rst d95ef31baa [TI removal] Remove discussion of `TerminatorInst` from the LLVM 6 vuotta sitten
BugLifeCycle.rst 1f633af49e Introduce bug life cycle documentation. 6 vuotta sitten
Bugpoint.rst fb5fa9687f Reland "[docs][Bugpoint]Add notes about multiple crashes" 6 vuotta sitten
BugpointRedesign.md aa36e337e9 [Bugpoint redesign] Fix nonlocal URI link in doc 6 vuotta sitten
BuildingADistribution.rst c562715303 Fix a few spellos in docs. 6 vuotta sitten
CFIVerify.rst e27b1d0b0f [cfi-verify] Abort on unsupported targets 7 vuotta sitten
CMake.rst 0b2777c548 Explicit in the doc the current list of projects (with easy copy and paste) 5 vuotta sitten
CMakeLists.txt 2f759d471a [dsymutil][doc] Improve wording in manpage and rename file. 7 vuotta sitten
CMakePrimer.rst 5a19c2915c [docs] In the CMake primer, correct the description of the ARGV/ARGN variables. 8 vuotta sitten
CodeGenerator.rst 644c65ae21 [X86] Add new calling convention that guarantees tail call optimization 5 vuotta sitten
CodeOfConduct.rst cc4d10be5a [Conduct] Refine what "rare cases" means wrt violations outside our spaces. 9 vuotta sitten
CodingStandards.rst f72d1f1ac3 Move to C++14 6 vuotta sitten
CommandLine.rst a3dd071eeb [NFC] fix trivial typos in documents 6 vuotta sitten
CompileCudaWithLLVM.rst b21d80e08f Adjust documentation for git migration. 6 vuotta sitten
CompilerWriterInfo.rst 4c877cecdc [PowerPC][docs] Update IBM official docs in Compiler Writers Info page 5 vuotta sitten
Contributing.rst b828cfeab6 [Docs] Fixes broken sphinx build - undefined label 5 vuotta sitten
Coroutines.rst 8f05ed7379 Extend coroutines to support a "returned continuation" lowering. 6 vuotta sitten
CoverageMappingFormat.rst 7c57f171e2 [Coverage] Use gap regions to select better line exec counts 8 vuotta sitten
DebuggingJITedCode.rst 78762bc380 [Docs] Modernize references to macOS 6 vuotta sitten
DeveloperPolicy.rst fa594c6082 docs/DeveloperPolicy: Add instructions for requesting GitHub commit access 5 vuotta sitten
Docker.rst 0c844eb84f [build] Rename clang-headers to clang-resource-headers 6 vuotta sitten
ExceptionHandling.rst ef1bc2d3ca [NFC] fix trivial typos in documents and comments 7 vuotta sitten
ExtendedIntegerResults.txt e2c3a49c80 Revert r103213. It broke several sections of live website. 15 vuotta sitten
ExtendingLLVM.rst 32ff027088 Note ImmArg in documentation for adding intrinsics 6 vuotta sitten
Extensions.rst 9b16aa5d99 Add IR support, ELF section and user documentation for partitioning feature. 6 vuotta sitten
FAQ.rst 39010ac522 Update the FAQ: remove stuff related to the previous license + 5 vuotta sitten
FaultMaps.rst 9ac774d7cf Fix the docs build 8 vuotta sitten
FuzzingLLVM.rst 218ada7811 [docs] Try to clarify the FuzzingLLVM docs 7 vuotta sitten
GarbageCollection.rst cede812940 [GC docs] Update the gcroot documentation to reflect recent simplifcations to GCStrategy configurability 6 vuotta sitten
GetElementPtr.rst 02e2d229a6 [DOC] Fix `load` instructions' syntax, function definition. 6 vuotta sitten
GettingInvolved.rst 3ab1cbcab3 [Docs] Moves Reference docs to new page 5 vuotta sitten
GettingStarted.rst 90e2c984f0 [docs] Fix sphinx doc generation errors 6 vuotta sitten
GettingStartedTutorials.rst 63a42353b1 [Docs] Adds Documentation links to sidebar 5 vuotta sitten
GettingStartedVS.rst 2c0337f5df Retire VS2015 Support 6 vuotta sitten
GlobalISel.rst 90e2c984f0 [docs] Fix sphinx doc generation errors 6 vuotta sitten
GoldPlugin.rst 8a21449387 [docs][gold] Fix a typo 7 vuotta sitten
GwpAsan.rst 668d37b1ec [docs] Add GwpAsan to toctree. 6 vuotta sitten
HowToAddABuilder.rst 0aff1ea91d Added more info on silent master to the doc. 8 vuotta sitten
HowToBuildOnARM.rst abe916ea5c [Docs] Change ARM build info to CMake 9 vuotta sitten
HowToBuildWithPGO.rst cafffd22b1 HowToBuildWithPGO.rst: Fix a few details in the manual steps 6 vuotta sitten
HowToCrossCompileBuiltinsOnArm.rst f6775ea3ff [docs] Improve HowToCrossCompilerBuiltinsOnArm 6 vuotta sitten
HowToCrossCompileLLVM.rst 50b2db8fa0 [docs] Fix unexpected indentation in HowToCrossCompileLLVM.rst 9 vuotta sitten
HowToReleaseLLVM.rst fe4f8765dc Remove some autoconf references from docs and comments 6 vuotta sitten
HowToSetUpLLVMStyleRTTI.rst cd04094266 [docs][LLVM-style RTTI] Add a mention of multiple inheritance. 10 vuotta sitten
HowToSubmitABug.rst 728963ac49 [docs] Prevent O0 optnone for opt input 6 vuotta sitten
HowToUseAttributes.rst 3b53072816 Fix RST docs AttributeList heading underline 8 vuotta sitten
HowToUseInstrMappings.rst 88ea57fa26 [docs] Fixing Sphinx warnings to unclog the buildbot 9 vuotta sitten
InAlloca.rst 88ea57fa26 [docs] Fixing Sphinx warnings to unclog the buildbot 9 vuotta sitten
LLVMBuild.rst 5b2afe9ffb Fix LLVMBuild.txt typo. NFC 8 vuotta sitten
LLVMBuild.txt 6b547686c5 Update the file headers across all of the LLVM projects in the monorepo 6 vuotta sitten
LangRef.rst 66b019de10 Update docs for fast-math flags. 5 vuotta sitten
Lexicon.rst 5aaa8205c7 Update the coding standards and developer policy documentation surrounding whitespace. 7 vuotta sitten
LibFuzzer.rst 6f484d61dc [docs] Update structure-aware-fuzzing link. 6 vuotta sitten
LinkTimeOptimization.rst c72d18a2cb [docs] Typos and whitespace fixed in LTO docs. 8 vuotta sitten
LoopTerminology.rst 90e2c984f0 [docs] Fix sphinx doc generation errors 6 vuotta sitten
MCJIT-creation.png 23dcb187fb Adding a document to describe the MCJIT execution engine implementation. 12 vuotta sitten
MCJIT-dyld-load.png 23dcb187fb Adding a document to describe the MCJIT execution engine implementation. 12 vuotta sitten
MCJIT-engine-builder.png 23dcb187fb Adding a document to describe the MCJIT execution engine implementation. 12 vuotta sitten
MCJIT-load-object.png 23dcb187fb Adding a document to describe the MCJIT execution engine implementation. 12 vuotta sitten
MCJIT-load.png 23dcb187fb Adding a document to describe the MCJIT execution engine implementation. 12 vuotta sitten
MCJIT-resolve-relocations.png 23dcb187fb Adding a document to describe the MCJIT execution engine implementation. 12 vuotta sitten
MCJITDesignAndImplementation.rst ac6a87b06e Fix several accidental DOS line endings in source files 9 vuotta sitten
MIRLangRef.rst bfa7de776d [LLVM][Alignment] Make functions using log of alignment explicit 6 vuotta sitten
Makefile.sphinx 00b768bfef Bring back Makefile.sphinx 9 vuotta sitten
MarkdownQuickstartTemplate.md d78e43427f [docs] Reinstate r337730 - Add support for Markdown documentation in 7 vuotta sitten
MarkedUpDisassembly.rst 88ea57fa26 [docs] Fixing Sphinx warnings to unclog the buildbot 9 vuotta sitten
MeetupGuidelines.rst 77b2d7ce30 Add guidelines/recommendations for organizers of LLVM Socials 6 vuotta sitten
MemorySSA.rst 8040eab589 [NFC] fix trivial typos in comments and documents 7 vuotta sitten
MergeFunctions.rst a83fad8a70 Updating MergeFunctions.rst 7 vuotta sitten
NVPTXUsage.rst ca0df55065 [CodeGen] Unify MBB reference format in both MIR and debug output 7 vuotta sitten
ORCv2.rst c562715303 Fix a few spellos in docs. 6 vuotta sitten
OptBisect.rst 07cbe1baa3 [Docs] Remove hard tab character from code block in optbisect documentation 7 vuotta sitten
Packaging.rst a7aec400a7 docs: Fix long standing linking antipattern. 12 vuotta sitten
Passes.rst 9a395de086 [Unroll/UnrollAndJam/Vectorizer/Distribute] Add followup loop attributes. 6 vuotta sitten
Phabricator.rst 8986b31304 Update GettingStarted guide to recommend that people use the new 6 vuotta sitten
ProgrammersManual.rst df16b2ed82 Fix typo in programmer's manual cantFile -> cantFail 6 vuotta sitten
Projects.rst 377a98477d Rename all references to old mailing lists to new lists.llvm.org address. 10 vuotta sitten
README.txt 9332fb0341 [NFC] Test commit, whitespace change 6 vuotta sitten
Reference.rst 84ec5d49eb [Docs] Moves Control Flow Document to User Guides 5 vuotta sitten
ReleaseNotes.rst d99371f9a0 Update ReleaseNotes: expand the section on enabling MemorySSA 5 vuotta sitten
ReleaseProcess.rst b821fa8973 [ReleaseProcess] Document requirement to set MACOSX_DEPLOYMENT_TARGET 5 vuotta sitten
Remarks.rst fcf99c532d Reland: [Remarks] Add an LLVM-bitstream-based remark serializer 6 vuotta sitten
ReportingGuide.rst e0f2f6011e fix some various typos in the doc 9 vuotta sitten
ScudoHardenedAllocator.rst 25c5702a9e [docs] Scudo: document error messages & their potential cause 6 vuotta sitten
SegmentedStacks.rst 88ea57fa26 [docs] Fixing Sphinx warnings to unclog the buildbot 9 vuotta sitten
SourceLevelDebugging.rst ed8d772f75 Update link to the DWARF spec. 6 vuotta sitten
SpeculativeLoadHardening.md c562715303 Fix a few spellos in docs. 6 vuotta sitten
SphinxQuickstartTemplate.rst 6668a4293d [docs] Provide pointer for building Sphinx docs. 12 vuotta sitten
StackMaps.rst 0cdc04df2e [docs] Clarify ELF section naming for StackMaps and fix a typo 6 vuotta sitten
StackSafetyAnalysis.rst 5b5d8e4aa1 Remove trailing empty line 6 vuotta sitten
Statepoints.rst d32f7814bc [docs][statepoints] Reformulate open issues list 6 vuotta sitten
SupportLibrary.rst da8383a9eb [Docs] [Support] Correct a missed reference and use up to date .inc examples. 7 vuotta sitten
SystemLibrary.rst cd4dcdaaf2 [Docs] [Support] System Library to Support Library transition along with minor corrections to reflect it. 7 vuotta sitten
TableGenFundamentals.rst a5b283ab23 Recover TableGen/LangRef, make it official 11 vuotta sitten
TestSuiteGuide.md b21d80e08f Adjust documentation for git migration. 6 vuotta sitten
TestSuiteMakefileGuide.rst b21d80e08f Adjust documentation for git migration. 6 vuotta sitten
TestingGuide.rst 38b7c7e83e [Docs] Test commit 6 vuotta sitten
TransformMetadata.rst 9a395de086 [Unroll/UnrollAndJam/Vectorizer/Distribute] Add followup loop attributes. 6 vuotta sitten
TypeMetadata.rst 3400920f53 Reland: Dead Virtual Function Elimination 5 vuotta sitten
UserGuides.rst 84ec5d49eb [Docs] Moves Control Flow Document to User Guides 5 vuotta sitten
Vectorizers.rst 8986b31304 Update GettingStarted guide to recommend that people use the new 6 vuotta sitten
WritingAnLLVMBackend.rst bbc0301b61 [Docs] Fix typo in scheduler model documentation. enumemation->enumeration 7 vuotta sitten
WritingAnLLVMPass.rst 384021a927 Attempt to unbreak sphinx build bot by inserting a link. 6 vuotta sitten
XRay.rst 00c4d032c8 [Docs] Update of Xray page 7 vuotta sitten
XRayExample.rst e73d6cd491 [XRay][docs] Fix option name 6 vuotta sitten
XRayFDRFormat.rst 4362e9efb4 Tidy some language in the xray documentation. 7 vuotta sitten
YamlIO.rst e148741432 [Docs] Fix LLVM_YAML_IS_DOCUMENT_LIST_VECTOR 7 vuotta sitten
conf.py 1739730357 [Docs] Add a custom sidebar to doc pages 6 vuotta sitten
doxygen-mainpage.dox 41664c2aeb [docs] Updated docs to work with Doxygen 1.8.11 9 vuotta sitten
doxygen.cfg.in eb521fd586 [NFC] Remove LLVM_ALIGNAS 6 vuotta sitten
gcc-loops.png df76b389e0 Update the gcc-loops benchmark 12 vuotta sitten
index.rst 63ddb7095d [Docs] Removes Subsystem Documentation page 5 vuotta sitten
linpack-pc.png c2b96cb7ba Update the linpack benchmark with different array sizes. 12 vuotta sitten
llvm-objdump.1 6b547686c5 Update the file headers across all of the LLVM projects in the monorepo 6 vuotta sitten
make.bat 75083ebc09 [docs] Stub out structure for Sphinx-based docs. 13 vuotta sitten
re_format.7 e2c3a49c80 Revert r103213. It broke several sections of live website. 15 vuotta sitten
speculative_load_hardening_microbenchmarks.png f32280c8cd [x86/SLH] Add the design document for Speculative Load Hardening, 7 vuotta sitten
yaml2obj.rst 751664fd1b Summary: 10 vuotta sitten

README.txt

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 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 and then do:

cd
cmake -DLLVM_ENABLE_SPHINX=true -DSPHINX_OUTPUT_HTML=true
make -j3 docs-llvm-html
$BROWSER /docs//html/index.html

The mapping between reStructuredText files and generated documentation is
`docs/Foo.rst` <-> `/docs//html/Foo.html` <-> `http://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 `/docs/man/`.

cd
cmake -DLLVM_ENABLE_SPHINX=true -DSPHINX_OUTPUT_MAN=true
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` <-> `/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.
`http://llvm.org/docs/CommandGuide/Foo.html`.

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

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

cd docs/
make -f Makefile.sphinx linkcheck

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

Install doxygen and dot2tex .

cd
cmake -DLLVM_ENABLE_DOXYGEN=On
make doxygen-llvm # for LLVM docs
make doxygen-clang # for clang docs

It will generate html in

/docs/doxygen/html # for LLVM docs
/tools/clang/docs/doxygen/html # for clang docs