[PM] Pull the generic graph algorithms and data structures for dominator
[oota-llvm.git] / docs / ExtendingLLVM.rst
index 6df08eee985a34d0ca53c165d1cb73d2d664dfb9..60cbf011e5731b9c77f62f5351f986fd71e89834 100644 (file)
@@ -1,5 +1,3 @@
-.. _extending_llvm:
-
 ============================================================
 Extending LLVM: Adding instructions, intrinsics, types, etc.
 ============================================================
@@ -47,7 +45,7 @@ function and then be turned into an instruction if warranted.
    what the restrictions are.  Talk to other people about it so that you are
    sure it's a good idea.
 
-#. ``llvm/include/llvm/Intrinsics*.td``:
+#. ``llvm/include/llvm/IR/Intrinsics*.td``:
 
    Add an entry for your intrinsic.  Describe its memory access characteristics
    for optimization (this controls whether it will be DCE'd, CSE'd, etc). Note
@@ -283,12 +281,12 @@ Adding a derived type
 
    add ability to parse in the type from text assembly
 
-#. ``llvm/lib/BitCode/Writer/Writer.cpp``:
+#. ``llvm/lib/Bitcode/Writer/Writer.cpp``:
 
    modify ``void BitcodeWriter::outputType(const Type *T)`` to serialize your
    type
 
-#. ``llvm/lib/BitCode/Reader/Reader.cpp``:
+#. ``llvm/lib/Bitcode/Reader/Reader.cpp``:
 
    modify ``const Type *BitcodeReader::ParseType()`` to read your data type