From 69c11bb285e2b916b8fefa11fba49d65b053303a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 25 Apr 2005 17:34:15 +0000 Subject: [PATCH] document 'opaque' types git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21535 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.html | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/docs/LangRef.html b/docs/LangRef.html index 3cf3b0eb0d7..0c5346ae591 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -39,6 +39,7 @@
  • Pointer Type
  • Structure Type
  • Packed Type
  • +
  • Opaque Type
  • @@ -750,18 +751,27 @@ reference to another object, which must live in memory.

    Packed Type
    +
    Overview:
    +

    A packed type is a simple derived type that represents a vector of elements. Packed types are used when multiple primitive data are operated in parallel using a single instruction (SIMD). A packed type requires a size (number of elements) and an underlying primitive data type. Packed types are considered first class.

    +
    Syntax:
    -
      < <# elements> x <elementtype> >
    + +
    +  < <# elements> x <elementtype> >
    +
    +

    The number of elements is a constant integer value, elementtype may be any integral or floating point type.

    +
    Examples:
    +
    @@ -778,6 +788,38 @@ be any integral or floating point type.

    + +
    Opaque Type
    +
    + +
    Overview:
    + +

    Opaque types are used to represent unknown types in the system. This +corresponds (for example) to the C notion of a foward declared structure type. +In LLVM, opaque types can eventually be resolved to any type (not just a +structure type).

    + +
    Syntax:
    + +
    +  opaque
    +
    + +
    Examples:
    + + + + + + +
    + opaque + + An opaque type.
    +
    +
    + +
    Constants
    -- 2.34.1