diff --git a/docs/LangRef.html b/docs/LangRef.html index 57f2603e354..59f9dafb761 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -39,6 +39,7 @@
  • 'br' Instruction
  • 'switch' Instruction
  • 'invoke' Instruction +
  • 'unwind' Instruction
  • Binary Operations
      @@ -81,7 +82,6 @@
    1. 'llvm.va_start' Intrinsic
    2. 'llvm.va_end' Intrinsic
    3. 'llvm.va_copy' Intrinsic -
    4. 'llvm.unwind' Intrinsic
    @@ -167,9 +167,17 @@ passes or input to the parser.

    LLVM uses three different forms of identifiers, for different purposes:

      -
    1. Numeric constants are represented as you would expect: 12, -3 123.421, etc. Floating point constants have an optional hexidecimal notation. -
    2. Named values are represented as a string of characters with a '%' prefix. For example, %foo, %DivisionByZero, %a.really.long.identifier. The actual regular expression used is '%[a-zA-Z$._][a-zA-Z$._0-9]*'. -
    3. Unnamed values are represented as an unsigned numeric value with a '%' prefix. For example, %12, %2, %44. +
    4. Numeric constants are represented as you would expect: 12, -3 123.421, etc. +Floating point constants have an optional hexidecimal notation. + +
    5. Named values are represented as a string of characters with a '%' prefix. +For example, %foo, %DivisionByZero, %a.really.long.identifier. The actual +regular expression used is '%[a-zA-Z$._][a-zA-Z$._0-9]*'. Identifiers +which require other characters in their names can be surrounded with quotes. In +this way, anything except a " character can be used in a name. + +
    6. Unnamed values are represented as an unsigned numeric value with a '%' +prefix. For example, %12, %2, %44.

    LLVM requires the values start with a '%' sign for two reasons: Compilers don't @@ -346,7 +354,7 @@ Here are some examples of multidimensional arrays:

    @@ -369,10 +377,10 @@ functions), for indirect function calls, and when defining a function.

    Where '<parameter list>' is a comma-separated list of type specifiers. Optionally, the parameter list may include a type ..., -which indicates that the function takes a variable number of arguments. Note -that there currently is no way to define a function in LLVM that takes a -variable number of arguments, but it is possible to call a function that -is vararg.

    +which indicates that the function takes a variable number of arguments. +Variable argument functions can access their arguments with the variable argument handling intrinsic functions. +

    Examples:
       -Function Structure +Functions


    'unwind' Instruction