| DeForest Richards | ccf6030 | 2019-09-25 00:49:02 +0000 | [diff] [blame] | 1 | Reference
|
| 2 | =========
|
| 3 |
|
| 4 | LLVM and API reference documentation.
|
| 5 |
|
| DeForest Richards | 6d19651 | 2019-10-06 15:36:37 +0000 | [diff] [blame] | 6 | .. contents::
|
| 7 | :local:
|
| 8 |
|
| DeForest Richards | ccf6030 | 2019-09-25 00:49:02 +0000 | [diff] [blame] | 9 | .. toctree::
|
| 10 | :hidden:
|
| 11 |
|
| DeForest Richards | de0e3aa | 2019-10-06 16:10:11 +0000 | [diff] [blame] | 12 | Atomics
|
| DeForest Richards | 38d16c1 | 2019-10-06 22:49:22 +0000 | [diff] [blame] | 13 | BitCodeFormat
|
| 14 | BlockFrequencyTerminology
|
| 15 | BranchWeightMetadata
|
| DeForest Richards | 6d19651 | 2019-10-06 15:36:37 +0000 | [diff] [blame] | 16 | Bugpoint
|
| 17 | CommandGuide/index
|
| DeForest Richards | 38d16c1 | 2019-10-06 22:49:22 +0000 | [diff] [blame] | 18 | Coroutines
|
| 19 | DependenceGraphs/index
|
| 20 | ExceptionHandling
|
| DeForest Richards | de0e3aa | 2019-10-06 16:10:11 +0000 | [diff] [blame] | 21 | Extensions
|
| DeForest Richards | 38d16c1 | 2019-10-06 22:49:22 +0000 | [diff] [blame] | 22 | FaultMaps
|
| DeForest Richards | 6d19651 | 2019-10-06 15:36:37 +0000 | [diff] [blame] | 23 | FuzzingLLVM
|
| 24 | GarbageCollection
|
| 25 | GetElementPtr
|
| Daniel Sanders | feab033 | 2019-10-25 15:50:36 -0700 | [diff] [blame] | 26 | GlobalISel/index
|
| DeForest Richards | de0e3aa | 2019-10-06 16:10:11 +0000 | [diff] [blame] | 27 | GwpAsan
|
| 28 | HowToSetUpLLVMStyleRTTI
|
| DeForest Richards | 38d16c1 | 2019-10-06 22:49:22 +0000 | [diff] [blame] | 29 | HowToUseAttributes
|
| 30 | InAlloca
|
| DeForest Richards | 6d19651 | 2019-10-06 15:36:37 +0000 | [diff] [blame] | 31 | LangRef
|
| 32 | LibFuzzer
|
| DeForest Richards | 38d16c1 | 2019-10-06 22:49:22 +0000 | [diff] [blame] | 33 | MarkedUpDisassembly
|
| DeForest Richards | ccf6030 | 2019-09-25 00:49:02 +0000 | [diff] [blame] | 34 | MIRLangRef
|
| DeForest Richards | de0e3aa | 2019-10-06 16:10:11 +0000 | [diff] [blame] | 35 | OptBisect
|
| DeForest Richards | 38d16c1 | 2019-10-06 22:49:22 +0000 | [diff] [blame] | 36 | ORCv2
|
| DeForest Richards | 6d19651 | 2019-10-06 15:36:37 +0000 | [diff] [blame] | 37 | PDB/index
|
| DeForest Richards | de0e3aa | 2019-10-06 16:10:11 +0000 | [diff] [blame] | 38 | ScudoHardenedAllocator
|
| Evgenii Stepanov | 27c9aba | 2019-10-18 12:32:21 -0700 | [diff] [blame] | 39 | MemTagSanitizer
|
| JF Bastien | 7bf73bc | 2019-11-15 10:54:39 -0800 | [diff] [blame] | 40 | Security
|
| DeForest Richards | 38d16c1 | 2019-10-06 22:49:22 +0000 | [diff] [blame] | 41 | SegmentedStacks
|
| 42 | StackMaps
|
| 43 | SpeculativeLoadHardening
|
| DeForest Richards | 6d19651 | 2019-10-06 15:36:37 +0000 | [diff] [blame] | 44 | Statepoints
|
| DeForest Richards | 38d16c1 | 2019-10-06 22:49:22 +0000 | [diff] [blame] | 45 | SystemLibrary
|
| DeForest Richards | 6d19651 | 2019-10-06 15:36:37 +0000 | [diff] [blame] | 46 | TestingGuide
|
| DeForest Richards | 38d16c1 | 2019-10-06 22:49:22 +0000 | [diff] [blame] | 47 | TransformMetadata
|
| 48 | TypeMetadata
|
| 49 | XRay
|
| 50 | XRayExample
|
| 51 | XRayFDRFormat
|
| DeForest Richards | 6d19651 | 2019-10-06 15:36:37 +0000 | [diff] [blame] | 52 | YamlIO
|
| DeForest Richards | eb78dea | 2019-09-29 15:31:52 +0000 | [diff] [blame] | 53 |
|
| DeForest Richards | 6d19651 | 2019-10-06 15:36:37 +0000 | [diff] [blame] | 54 | API Reference
|
| 55 | -------------
|
| 56 |
|
| Sylvestre Ledru | 72fd103 | 2020-03-22 22:42:03 +0100 | [diff] [blame] | 57 | `Doxygen generated documentation <https://llvm.org/doxygen/>`_
|
| 58 | (`classes <https://llvm.org/doxygen/inherits.html>`_)
|
| DeForest Richards | 6d19651 | 2019-10-06 15:36:37 +0000 | [diff] [blame] | 59 |
|
| DeForest Richards | edbb895 | 2019-10-09 21:09:09 +0000 | [diff] [blame] | 60 | :doc:`HowToUseAttributes`
|
| 61 | Answers some questions about the new Attributes infrastructure.
|
| 62 |
|
| DeForest Richards | 6d19651 | 2019-10-06 15:36:37 +0000 | [diff] [blame] | 63 | `Documentation for Go bindings <http://godoc.org/llvm.org/llvm/bindings/go/llvm>`_
|
| 64 |
|
| DeForest Richards | 38d16c1 | 2019-10-06 22:49:22 +0000 | [diff] [blame] | 65 | :doc:`ORCv2`
|
| 66 | Describes the design and implementation of the ORC APIs, including some
|
| 67 | usage examples, and a guide for users transitioning from ORCv1 to ORCv2.
|
| 68 |
|
| DeForest Richards | eb78dea | 2019-09-29 15:31:52 +0000 | [diff] [blame] | 69 | LLVM Reference
|
| DeForest Richards | 6d19651 | 2019-10-06 15:36:37 +0000 | [diff] [blame] | 70 | --------------
|
| DeForest Richards | ccf6030 | 2019-09-25 00:49:02 +0000 | [diff] [blame] | 71 |
|
| DeForest Richards | 6d19651 | 2019-10-06 15:36:37 +0000 | [diff] [blame] | 72 | ======================
|
| 73 | Command Line Utilities
|
| 74 | ======================
|
| DeForest Richards | eb78dea | 2019-09-29 15:31:52 +0000 | [diff] [blame] | 75 |
|
| DeForest Richards | 6d19651 | 2019-10-06 15:36:37 +0000 | [diff] [blame] | 76 | :doc:`LLVM Command Guide <CommandGuide/index>`
|
| 77 | A reference manual for the LLVM command line utilities ("man" pages for LLVM
|
| 78 | tools).
|
| DeForest Richards | ccf6030 | 2019-09-25 00:49:02 +0000 | [diff] [blame] | 79 |
|
| DeForest Richards | 6d19651 | 2019-10-06 15:36:37 +0000 | [diff] [blame] | 80 | :doc:`Bugpoint`
|
| 81 | Automatic bug finder and test-case reducer description and usage
|
| 82 | information.
|
| 83 |
|
| DeForest Richards | de0e3aa | 2019-10-06 16:10:11 +0000 | [diff] [blame] | 84 | :doc:`OptBisect`
|
| 85 | A command line option for debugging optimization-induced failures.
|
| 86 |
|
| DeForest Richards | 6d19651 | 2019-10-06 15:36:37 +0000 | [diff] [blame] | 87 | :doc:`The Microsoft PDB File Format <PDB/index>`
|
| 88 | A detailed description of the Microsoft PDB (Program Database) file format.
|
| 89 |
|
| 90 | ==================
|
| 91 | Garbage Collection
|
| 92 | ==================
|
| 93 |
|
| 94 | :doc:`GarbageCollection`
|
| 95 | The interfaces source-language compilers should use for compiling GC'd
|
| 96 | programs.
|
| 97 |
|
| 98 | :doc:`Statepoints`
|
| 99 | This describes a set of experimental extensions for garbage
|
| 100 | collection support.
|
| 101 |
|
| 102 | =========
|
| 103 | LibFuzzer
|
| 104 | =========
|
| 105 |
|
| 106 | :doc:`LibFuzzer`
|
| 107 | A library for writing in-process guided fuzzers.
|
| 108 |
|
| 109 | :doc:`FuzzingLLVM`
|
| 110 | Information on writing and using Fuzzers to find bugs in LLVM.
|
| 111 |
|
| DeForest Richards | 02d264a5 | 2019-10-09 20:26:13 +0000 | [diff] [blame] | 112 | ========
|
| 113 | LLVM IR
|
| 114 | ========
|
| 115 |
|
| 116 | :doc:`LLVM Language Reference Manual <LangRef>`
|
| 117 | Defines the LLVM intermediate representation and the assembly form of the
|
| 118 | different nodes.
|
| 119 |
|
| 120 | :doc:`InAlloca`
|
| 121 | Description of the ``inalloca`` argument attribute.
|
| 122 |
|
| 123 | :doc:`BitCodeFormat`
|
| 124 | This describes the file format and encoding used for LLVM "bc" files.
|
| 125 |
|
| 126 | :doc:`Machine IR (MIR) Format Reference Manual <MIRLangRef>`
|
| 127 | A reference manual for the MIR serialization format, which is used to test
|
| 128 | LLVM's code generation passes.
|
| 129 |
|
| Daniel Sanders | feab033 | 2019-10-25 15:50:36 -0700 | [diff] [blame] | 130 | :doc:`GlobalISel/index`
|
| DeForest Richards | 02d264a5 | 2019-10-09 20:26:13 +0000 | [diff] [blame] | 131 | This describes the prototype instruction selection replacement, GlobalISel.
|
| 132 |
|
| DeForest Richards | 22373c5 | 2019-10-13 20:05:22 +0000 | [diff] [blame] | 133 | =====================
|
| 134 | Testing and Debugging
|
| 135 | =====================
|
| DeForest Richards | 6d19651 | 2019-10-06 15:36:37 +0000 | [diff] [blame] | 136 |
|
| 137 | :doc:`LLVM Testing Infrastructure Guide <TestingGuide>`
|
| 138 | A reference manual for using the LLVM testing infrastructure.
|
| 139 |
|
| 140 | :doc:`TestSuiteGuide`
|
| DeForest Richards | 38d16c1 | 2019-10-06 22:49:22 +0000 | [diff] [blame] | 141 | Describes how to compile and run the test-suite benchmarks.
|
| 142 |
|
| DeForest Richards | 22373c5 | 2019-10-13 20:05:22 +0000 | [diff] [blame] | 143 |
|
| 144 | :doc:`GwpAsan`
|
| 145 | A sampled heap memory error detection toolkit designed for production use.
|
| 146 |
|
| DeForest Richards | 38d16c1 | 2019-10-06 22:49:22 +0000 | [diff] [blame] | 147 | ====
|
| 148 | XRay
|
| 149 | ====
|
| 150 |
|
| 151 | :doc:`XRay`
|
| 152 | High-level documentation of how to use XRay in LLVM.
|
| 153 |
|
| 154 | :doc:`XRayExample`
|
| DeForest Richards | edbb895 | 2019-10-09 21:09:09 +0000 | [diff] [blame] | 155 | An example of how to debug an application with XRay.
|
| 156 |
|
| 157 | =================
|
| 158 | Additional Topics
|
| 159 | =================
|
| 160 |
|
| 161 | :doc:`FaultMaps`
|
| 162 | LLVM support for folding control flow into faulting machine instructions.
|
| 163 |
|
| 164 | :doc:`Atomics`
|
| 165 | Information about LLVM's concurrency model.
|
| 166 |
|
| 167 | :doc:`ExceptionHandling`
|
| 168 | This document describes the design and implementation of exception handling
|
| 169 | in LLVM.
|
| 170 |
|
| 171 | :doc:`Extensions`
|
| 172 | LLVM-specific extensions to tools and formats LLVM seeks compatibility with.
|
| 173 |
|
| 174 | :doc:`HowToSetUpLLVMStyleRTTI`
|
| 175 | How to make ``isa<>``, ``dyn_cast<>``, etc. available for clients of your
|
| 176 | class hierarchy.
|
| 177 |
|
| 178 | :doc:`BlockFrequencyTerminology`
|
| 179 | Provides information about terminology used in the ``BlockFrequencyInfo``
|
| 180 | analysis pass.
|
| 181 |
|
| 182 | :doc:`BranchWeightMetadata`
|
| 183 | Provides information about Branch Prediction Information.
|
| 184 |
|
| 185 | :doc:`GetElementPtr`
|
| 186 | Answers to some very frequent questions about LLVM's most frequently
|
| 187 | misunderstood instruction.
|
| 188 |
|
| 189 | :doc:`ScudoHardenedAllocator`
|
| 190 | A library that implements a security-hardened `malloc()`.
|
| 191 |
|
| Evgenii Stepanov | 27c9aba | 2019-10-18 12:32:21 -0700 | [diff] [blame] | 192 | :doc:`MemTagSanitizer`
|
| 193 | Security hardening for production code aiming to mitigate memory
|
| Pablo Barrio | e440e0a | 2020-03-05 16:27:25 +0000 | [diff] [blame] | 194 | related vulnerabilities. Based on the Armv8.5-A Memory Tagging Extension.
|
| Evgenii Stepanov | 27c9aba | 2019-10-18 12:32:21 -0700 | [diff] [blame] | 195 |
|
| DeForest Richards | edbb895 | 2019-10-09 21:09:09 +0000 | [diff] [blame] | 196 | :doc:`Dependence Graphs <DependenceGraphs/index>`
|
| 197 | A description of the design of the various dependence graphs such as
|
| 198 | the DDG (Data Dependence Graph).
|
| 199 |
|
| DeForest Richards | edbb895 | 2019-10-09 21:09:09 +0000 | [diff] [blame] | 200 | :doc:`SpeculativeLoadHardening`
|
| 201 | A description of the Speculative Load Hardening mitigation for Spectre v1.
|
| 202 |
|
| 203 | :doc:`SegmentedStacks`
|
| 204 | This document describes segmented stacks and how they are used in LLVM.
|
| 205 |
|
| 206 | :doc:`MarkedUpDisassembly`
|
| 207 | This document describes the optional rich disassembly output syntax.
|
| 208 |
|
| 209 | :doc:`StackMaps`
|
| 210 | LLVM support for mapping instruction addresses to the location of
|
| 211 | values and allowing code to be patched.
|
| 212 |
|
| 213 | :doc:`Coroutines`
|
| 214 | LLVM support for coroutines.
|
| 215 |
|
| 216 | :doc:`YamlIO`
|
| Daniel Sanders | feab033 | 2019-10-25 15:50:36 -0700 | [diff] [blame] | 217 | A reference guide for using LLVM's YAML I/O library.
|