Add more explicit link targets to headers in LangRef.rst
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183555 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/docs/LangRef.rst b/docs/LangRef.rst
index 4c3a478..949dc4a 100644
--- a/docs/LangRef.rst
+++ b/docs/LangRef.rst
@@ -1367,6 +1367,8 @@
generated code and enables novel analyses and transformations that are
not feasible to perform on normal three address code representations.
+.. _typeclassifications:
+
Type Classifications
--------------------
@@ -1880,6 +1882,8 @@
There are no constants of type x86mmx.
+.. _complexconstants:
+
Complex Constants
-----------------
@@ -2201,6 +2205,8 @@
Finally, some targets may provide defined semantics when using the value
as the operand to an inline assembly, but that is target specific.
+.. _constantexprs:
+
Constant Expressions
--------------------
@@ -2305,6 +2311,8 @@
Other Values
============
+.. _inlineasmexprs:
+
Inline Assembler Expressions
----------------------------
@@ -2906,6 +2914,8 @@
linker, or an option that is reserved by the target specific assembly writer or
object file emitter. No other aspect of these options is defined by the IR.
+.. _intrinsicglobalvariables:
+
Intrinsic Global Variables
==========================
@@ -2915,6 +2925,8 @@
"``llvm.metadata``". This section and all globals that start with
"``llvm.``" are reserved for use by LLVM.
+.. _gv_llvmused:
+
The '``llvm.used``' Global Variable
-----------------------------------
@@ -2946,6 +2958,8 @@
assembler or object file to prevent the assembler and linker from
molesting the symbol.
+.. _gv_llvmcompilerused:
+
The '``llvm.compiler.used``' Global Variable
--------------------------------------------
@@ -2958,6 +2972,8 @@
This is a rare construct that should only be used in rare circumstances,
and should not be exposed to source languages.
+.. _gv_llvmglobalctors:
+
The '``llvm.global_ctors``' Global Variable
-------------------------------------------
@@ -2972,6 +2988,8 @@
when the module is loaded. The order of functions with the same priority
is not defined.
+.. _llvmglobaldtors:
+
The '``llvm.global_dtors``' Global Variable
-------------------------------------------