[docs] Fix some links
authorSean Silva <silvas@purdue.edu>
Mon, 7 Apr 2014 22:46:40 +0000 (22:46 +0000)
committerSean Silva <silvas@purdue.edu>
Mon, 7 Apr 2014 22:46:40 +0000 (22:46 +0000)
The TableGen docs have changed structure

Patch by Tay Ray Chuan!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205744 91177308-0d34-0410-b5e6-96231b3b80d8

docs/CodeGenerator.rst
docs/CommandGuide/tblgen.rst
docs/LLVMBuild.rst
docs/TableGen/LangRef.rst
docs/WritingAnLLVMBackend.rst

index d7d98bc385be66a86c3c65b460403ddd740dc7d0..58906c2749bf14e7484c00c31541dc87accbfe09 100644 (file)
@@ -172,7 +172,7 @@ architecture.  These target descriptions often have a large amount of common
 information (e.g., an ``add`` instruction is almost identical to a ``sub``
 instruction).  In order to allow the maximum amount of commonality to be
 factored out, the LLVM code generator uses the
-:doc:`TableGen <TableGenFundamentals>` tool to describe big chunks of the
+:doc:`TableGen/index` tool to describe big chunks of the
 target machine, which allows the use of domain-specific and target-specific
 abstractions to reduce the amount of repetition.
 
@@ -277,7 +277,7 @@ an associated register class.  When the register allocator runs, it replaces
 virtual registers with a physical register in the set.
 
 The target-specific implementations of these classes is auto-generated from a
-`TableGen <TableGenFundamentals.html>`_ description of the register file.
+:doc:`TableGen/index` description of the register file.
 
 .. _TargetInstrInfo:
 
index 1c4682830d188393e63823773903ae4ca327ade1..a42b04dbf8be3e5290cc3ddecd0e13905683666e 100644 (file)
@@ -15,7 +15,8 @@ users of LLVM will not need to use this program.  It is only for assisting with
 writing an LLVM target backend.
 
 The input and output of :program:`tblgen` is beyond the scope of this short
-introduction.  Please see :doc:`../TableGenFundamentals`.
+introduction; please see the :doc:`introduction to TableGen
+<../TableGen/index>`.
 
 The *filename* argument specifies the name of a Target Description (``.td``)
 file to read as input.
index c0c96d3f3ca8a867aed2e04297be156a3d58a7e6..58f6f4d20a041a98667b0b80e9dd3a9ae6a30586 100644 (file)
@@ -86,8 +86,8 @@ LLVM primarily uses the following types of components:
   libraries that they build on top of.
 - *Build Tools* - Build tools are applications which are designed to be run
   as part of the build process (typically to generate other source files).
-  Currently, LLVM uses one main build tool called :doc:`TableGen
-  <TableGenFundamentals>` to generate a variety of source files.
+  Currently, LLVM uses one main build tool called :doc:`TableGen/index`
+  to generate a variety of source files.
 - *Tools* - Command line applications which are built using the LLVM
   component libraries. Most LLVM tools are small and are primarily
   frontends to the library interfaces.
index e3db3aa62712fae11a0d861699d03356b1c01d9d..8a39f53d6d27905a1e1e28d4ee471f55b8f91da3 100644 (file)
@@ -18,7 +18,7 @@ This document is meant to be a normative spec about the TableGen language
 in and of itself (i.e. how to understand a given construct in terms of how
 it affects the final set of records represented by the TableGen file). If
 you are unsure if this document is really what you are looking for, please
-read :doc:`/TableGenFundamentals` first.
+read the :doc:`introduction to TableGen <index>` first.
 
 Notation
 ========
index 429f52a3526a6a1f1a9c2f215c80c07ed9cfcc97..fb7c16fc5458f033b08b874725de8b78c2ad4dff 100644 (file)
@@ -51,7 +51,7 @@ These essential documents must be read before reading this document:
   Formation, SSA-based Optimization, Register Allocation, Prolog/Epilog Code
   Insertion, Late Machine Code Optimizations, and Code Emission.
 
-* :doc:`TableGenFundamentals` --- a document that describes the TableGen
+* :doc:`TableGen/index` --- a document that describes the TableGen
   (``tblgen``) application that manages domain-specific information to support
   LLVM code generation.  TableGen processes input from a target description
   file (``.td`` suffix) and generates C++ code that can be used for code