From: Benjamin Kramer Date: Wed, 5 Aug 2009 15:42:44 +0000 (+0000) Subject: Documentation: fix HTML validation errors. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e15192b36bb5e99838d3f70bf79f7b8bed7a75b9;p=oota-llvm.git Documentation: fix HTML validation errors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78196 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/BitCodeFormat.html b/docs/BitCodeFormat.html index 8813b017f91..15b05230d02 100644 --- a/docs/BitCodeFormat.html +++ b/docs/BitCodeFormat.html @@ -462,23 +462,23 @@ emitted as their code, followed by the extra data.

The possible operand encodings are:

    -
  1. Fixed: The field should be emitted as +
  2. Fixed: The field should be emitted as a fixed-width value, whose width is specified by the operand's extra data.
  3. -
  4. VBR: The field should be emitted as +
  5. VBR: The field should be emitted as a variable-width value, whose width is specified by the operand's extra data.
  6. -
  7. Array: This field is an array of values. The array operand +
  8. Array: This field is an array of values. The array operand has no extra data, but expects another operand to follow it which indicates the element type of the array. When reading an array in an abbreviated record, the first integer is a vbr6 that indicates the array length, followed by the encoded elements of the array. An array may only occur as the last operand of an abbreviation (except for the one final operand that gives the array's type).
  9. -
  10. Char6: This field should be emitted as +
  11. Char6: This field should be emitted as a char6-encoded value. This operand type takes no extra data.
  12. -
  13. Blob: This field is emitted as a vbr6, followed by padding to a +
  14. Blob: This field is emitted as a vbr6, followed by padding to a 32-bit boundary (for alignment) and an array of 8-bit objects. The array of bytes is further followed by tail padding to ensure that its total length is a multiple of 4 bytes. This makes it very efficient for the reader to diff --git a/docs/CMake.html b/docs/CMake.html index b9e4b76bd3f..45ece026421 100644 --- a/docs/CMake.html +++ b/docs/CMake.html @@ -67,7 +67,7 @@
      -
    1. Download +

    2. Download and install CMake. Version 2.6.2 is the minimum required.

    3. Open a shell. Your development tools must be reachable from this @@ -180,7 +180,7 @@

      Variables are stored on the CMake cache. This is a file - named CMakeCache.txt on the root of the build + named CMakeCache.txt on the root of the build directory. Do not hand-edit it.

      Variables are listed here appending its type after a colon. It is diff --git a/docs/CommandLine.html b/docs/CommandLine.html index 68e376e8143..09ed2b8c0e5 100644 --- a/docs/CommandLine.html +++ b/docs/CommandLine.html @@ -1441,9 +1441,9 @@ string "-pos1 -foo -bar baz -pos2 -bork" would cause the "-foo -bar

    4. The cl::Sink modifier is used to handle unknown options. If there is at least one option with -cl::Sink modifier specified, the parser passes +cl::Sink modifier specified, the parser passes unrecognized option strings to it as values instead of signaling an -error. As with cl::CommaSeparated, this modifier +error. As with cl::CommaSeparated, this modifier only makes sense with a cl::list option.
    5. diff --git a/docs/ExceptionHandling.html b/docs/ExceptionHandling.html index 56318a4aa63..6ec6ab8233e 100644 --- a/docs/ExceptionHandling.html +++ b/docs/ExceptionHandling.html @@ -426,6 +426,8 @@ destination address for a llvm.eh.sjlj.longjmp in the second word. The following three words are available for use in a target-specific manner.

      + +
      Asm Table Formats diff --git a/docs/GarbageCollection.html b/docs/GarbageCollection.html index b155bb93746..d0b651eb64d 100644 --- a/docs/GarbageCollection.html +++ b/docs/GarbageCollection.html @@ -334,11 +334,11 @@ void visitGCRoots(void (*Visitor)(void **Root, const void *Meta)) { // For roots [0, NumMeta), the metadata pointer is in the FrameMap. for (unsigned e = R->Map->NumMeta; i != e; ++i) - Visitor(&R->Roots[i], R->Map->Meta[i]); + Visitor(&R->Roots[i], R->Map->Meta[i]); // For roots [NumMeta, NumRoots), the metadata pointer is null. for (unsigned e = R->Map->NumRoots; i != e; ++i) - Visitor(&R->Roots[i], NULL); + Visitor(&R->Roots[i], NULL); } }
      @@ -398,7 +398,7 @@ program.

      - define ty @name(...) gc "name" { ... + define ty @name(...) gc "name" { ...
      diff --git a/docs/GettingStartedVS.html b/docs/GettingStartedVS.html index 37bdd30b085..5a86199f7e4 100644 --- a/docs/GettingStartedVS.html +++ b/docs/GettingStartedVS.html @@ -140,15 +140,15 @@
    6. If you used CMake, then the directory you created the project files, the root directory will have an llvm.sln file, just double-click on that to open Visual Studio.
    7. -
  15. +
  16. Build the LLVM Suite: -
      +
      • Simply build the solution.
      • The Fibonacci project is a sample program that uses the JIT. Modify the project's debugging properties to provide a numeric command line argument. The program will print the corresponding fibonacci value.
      • -
  17. +
diff --git a/docs/HowToReleaseLLVM.html b/docs/HowToReleaseLLVM.html index 8533ed7daa4..b6a5fd458cd 100644 --- a/docs/HowToReleaseLLVM.html +++ b/docs/HowToReleaseLLVM.html @@ -138,7 +138,6 @@ svn co https://llvm.org/svn/llvm-project/test-suite/branches/release_XX - diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html index 8c6b36be318..e3f91a2af64 100644 --- a/docs/ProgrammersManual.html +++ b/docs/ProgrammersManual.html @@ -30,11 +30,12 @@
  • The isa<>, cast<> and dyn_cast<> templates
  • Passing strings (the StringRef -and Twine classes)
  • +and Twine classes) +
  • The DEBUG() macro and -debug option
  • String-like containers -
      - -
  • +
  • BitVector-like containers
  • diff --git a/docs/TableGenFundamentals.html b/docs/TableGenFundamentals.html index ec87f2967cb..bf38dda79f7 100644 --- a/docs/TableGenFundamentals.html +++ b/docs/TableGenFundamentals.html @@ -371,8 +371,8 @@ supported include:

    string value
    [{ ... }]
    code fragment
    -
    [ X, Y, Z ]
    -
    list value. is the type of the list +
    [ X, Y, Z ]<type>
    +
    list value. <type> is the type of the list element and is usually optional. In rare cases, TableGen is unable to deduce the element type in which case the user must specify it explicitly.
    @@ -408,13 +408,13 @@ which case the user must specify it explicitly.
    !strconcat(a, b)
    A string value that is the result of concatenating the 'a' and 'b' strings.
    -
    !cast(a)
    +
    !cast<type>(a)
    A symbol of type type obtained by looking up the string 'a' in the symbol table. If the type of 'a' does not match type, TableGen -aborts with an error. !cast is a special case in that the argument must +aborts with an error. !cast<string> is a special case in that the argument must be an object defined by a 'def' construct.
    !nameconcat<type>(a, b)
    -
    Shorthand for !cast(!strconcat(a, b))
    +
    Shorthand for !cast<type>(!strconcat(a, b))
    !subst(a, b, c)
    If 'a' and 'b' are of string type or are symbol references, substitute 'b' for 'a' in 'c.' This operation is analogous to $(subst) in GNU make.
    diff --git a/docs/WritingAnLLVMBackend.html b/docs/WritingAnLLVMBackend.html index 29dc1127c57..5edc117e336 100644 --- a/docs/WritingAnLLVMBackend.html +++ b/docs/WritingAnLLVMBackend.html @@ -451,7 +451,7 @@ the RegisterTarget template to register the target. For example, the Sp Target llvm::TheSparcTarget; extern "C" void LLVMInitializeSparcTargetInfo() { - RegisterTarget + RegisterTarget<Triple::sparc, /*HasJIT=*/false> X(TheSparcTarget, "sparc", "Sparc"); } @@ -469,7 +469,7 @@ example. Here is an example of registering the Sparc assembly printer:
     extern "C" void LLVMInitializeSparcAsmPrinter() { 
    -  RegisterAsmPrinter X(TheSparcTarget);
    +  RegisterAsmPrinter<SparcAsmPrinter> X(TheSparcTarget);
     }
     
    diff --git a/docs/tutorial/LangImpl5.html b/docs/tutorial/LangImpl5.html index 9057cae384d..53bbcdc58e1 100644 --- a/docs/tutorial/LangImpl5.html +++ b/docs/tutorial/LangImpl5.html @@ -288,8 +288,8 @@ into "t.ll" and run "llvm-as < t.ll | opt -analyze -view-cfg", a window will pop up and you'll see this graph:

    -
    Example CFG
    +
    Example CFG

    Another way to get this is to call "F->viewCFG()" or "F->viewCFGOnly()" (where F is a "Function*") either by diff --git a/docs/tutorial/OCamlLangImpl5.html b/docs/tutorial/OCamlLangImpl5.html index 594a77d1648..dea243f00b8 100644 --- a/docs/tutorial/OCamlLangImpl5.html +++ b/docs/tutorial/OCamlLangImpl5.html @@ -271,8 +271,8 @@ into "t.ll" and run "llvm-as < t.ll | opt -analyze -view-cfg", a window will pop up and you'll see this graph:

    -
    Example CFG
    +
    Example CFG

    Another way to get this is to call "Llvm_analysis.view_function_cfg f" or "Llvm_analysis.view_function_cfg_only f" (where f