Add HAVE_SYSCONF
[oota-llvm.git] / include / llvm / Type.def
index ea4cdc1cac4a6e894e390ea50d072fa45ee5cccc..25ad5cd3bd52341b51e50eab764a6d4f6670ed54 100644 (file)
@@ -1,4 +1,11 @@
-//===-- llvm/Type.def - File that describes various LLVM types ---*- C++ -*--=//
+//===-- llvm/Type.def - File that describes various LLVM types --*- C++ -*-===//
+// 
+//                     The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+// 
+//===----------------------------------------------------------------------===//
 //
 // This file contains descriptions of the various LLVM types and derived types.
 // This file serves as a source of in source documentation and a can be
@@ -9,7 +16,7 @@
 // NOTE: NO INCLUDE GUARD DESIRED!
 
 
-// If the user didn't specify one of the macros, give a default noop defn.
+// If the user did not specify one of the macros, give a default noop defn.
 //
 #ifndef HANDLE_PRIM_TYPE
 #define HANDLE_PRIM_TYPE(x,y)
@@ -25,7 +32,7 @@
 //   Type Name:  This is the symbolic name of the type, without the trailing Ty.
 //   Type Size:  This is the size or precision of the type.
 //
-HANDLE_PRIM_TYPE(Void  , 1)
+HANDLE_PRIM_TYPE(Void  , 0)
 HANDLE_PRIM_TYPE(Bool  , 1)
 HANDLE_PRIM_TYPE(SByte , 1)
 HANDLE_PRIM_TYPE(UByte , 1)
@@ -37,8 +44,7 @@ HANDLE_PRIM_TYPE(Long  , 8)
 HANDLE_PRIM_TYPE(ULong , 8)
 HANDLE_PRIM_TYPE(Float , 4)
 HANDLE_PRIM_TYPE(Double, 8)
-HANDLE_PRIM_TYPE(Type  , 0)
-HANDLE_PRIM_TYPE(Label , 8)
+HANDLE_PRIM_TYPE(Label , 0)
 
 
 // HANDLE_DERV_TYPE - Parameterized #define that takes the following fields to
@@ -47,11 +53,12 @@ HANDLE_PRIM_TYPE(Label , 8)
 //   Type Name:  This is the symbolic name of the type, without the trailing Ty.
 //   Class Name: This is the subclass that implements the derived type.
 //
-HANDLE_DERV_TYPE(Method , MethodType)
-HANDLE_DERV_TYPE(Array  , ArrayType)
-HANDLE_DERV_TYPE(Pointer, PointerType)
-HANDLE_DERV_TYPE(Struct , StructType)
-HANDLE_DERV_TYPE(Opaque , OpaqueType)
+HANDLE_DERV_TYPE(Function, FunctionType)
+HANDLE_DERV_TYPE(Array   , ArrayType)
+HANDLE_DERV_TYPE(Pointer , PointerType)
+HANDLE_DERV_TYPE(Struct  , StructType)
+HANDLE_DERV_TYPE(Opaque  , OpaqueType)
+HANDLE_DERV_TYPE(Packed  , PackedType)
 
 // Kill the macros on exit...
 #undef HANDLE_PRIM_TYPE