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

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