Move DataTypes.h from llvm/Support to just Support
authorChris Lattner <sabre@nondot.org>
Mon, 26 Nov 2001 23:04:08 +0000 (23:04 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 26 Nov 2001 23:04:08 +0000 (23:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1399 91177308-0d34-0410-b5e6-96231b3b80d8

include/Support/DataTypes.h [new file with mode: 0644]
include/llvm/Bytecode/Primitives.h
include/llvm/CodeGen/MachineInstr.h
include/llvm/ConstPoolVals.h
include/llvm/Support/DataTypes.h [deleted file]
include/llvm/Support/StringExtras.h
include/llvm/Target/MachineInstrInfo.h
include/llvm/Target/TargetCacheInfo.h
include/llvm/Target/TargetInstrInfo.h
lib/ExecutionEngine/Interpreter/Execution.cpp
lib/ExecutionEngine/Interpreter/Interpreter.h

diff --git a/include/Support/DataTypes.h b/include/Support/DataTypes.h
new file mode 100644 (file)
index 0000000..0b20d90
--- /dev/null
@@ -0,0 +1,34 @@
+//===-- include/Support/DataTypes.h - Define fixed size types ----*- C++ -*--=//
+//
+// This file contains definitions to figure out the size of _HOST_ data types.
+// This file is important because different host OS's define different macros,
+// which makes portability tough.  This file exports the following definitions:
+//
+//   LITTLE_ENDIAN: is #define'd if the host is little endian
+//   int64_t      : is a typedef for the signed 64 bit system type
+//   uint64_t     : is a typedef for the unsigned 64 bit system type
+//
+// No library is required when using these functinons.
+//
+//===----------------------------------------------------------------------===//
+
+// TODO: This file sucks.  Not only does it not work, but this stuff should be
+// autoconfiscated anyways. Major FIXME
+
+
+#ifndef LLVM_SUPPORT_DATATYPES_H
+#define LLVM_SUPPORT_DATATYPES_H
+
+#ifdef LINUX
+#define __STDC_LIMIT_MACROS 1
+#include <stdint.h>       // Defined by ISO C 99
+#include <endian.h>
+
+#else
+#include <sys/types.h>
+#ifdef _LITTLE_ENDIAN
+#define LITTLE_ENDIAN 1
+#endif
+#endif
+
+#endif
index 178904d15fff96e39d7a042425d19286d28397bf..e0c25a15ca7c2ca55377e71a05ac68a772c4321a 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef LLVM_BYTECODE_PRIMITIVES_H
 #define LLVM_BYTECODE_PRIMITIVES_H
 
-#include "llvm/Support/DataTypes.h"
+#include "Support/DataTypes.h"
 #include <string>
 #include <deque>
 
index 32e9462cbee5d1bd975a8b515aa386b10b5e476d..91ae9def7fc2a7bb6669734ed0ea1a6141f6dc92 100644 (file)
@@ -17,7 +17,7 @@
 
 #include <iterator>
 #include "llvm/CodeGen/InstrForest.h"
-#include "llvm/Support/DataTypes.h"
+#include "Support/DataTypes.h"
 #include "llvm/Support/NonCopyable.h"
 #include "llvm/Target/MachineInstrInfo.h"
 #include "llvm/Annotation.h"
index b25ca3edc9eff300f0748758908a617b74d60b6d..c1348294c66edd8fa7921d10fa27e3435c3814bd 100644 (file)
@@ -9,7 +9,7 @@
 #define LLVM_CONSTPOOLVALS_H
 
 #include "llvm/User.h"
-#include "llvm/Support/DataTypes.h"
+#include "Support/DataTypes.h"
 
 class ArrayType;
 class StructType;
diff --git a/include/llvm/Support/DataTypes.h b/include/llvm/Support/DataTypes.h
deleted file mode 100644 (file)
index 0b20d90..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-//===-- include/Support/DataTypes.h - Define fixed size types ----*- C++ -*--=//
-//
-// This file contains definitions to figure out the size of _HOST_ data types.
-// This file is important because different host OS's define different macros,
-// which makes portability tough.  This file exports the following definitions:
-//
-//   LITTLE_ENDIAN: is #define'd if the host is little endian
-//   int64_t      : is a typedef for the signed 64 bit system type
-//   uint64_t     : is a typedef for the unsigned 64 bit system type
-//
-// No library is required when using these functinons.
-//
-//===----------------------------------------------------------------------===//
-
-// TODO: This file sucks.  Not only does it not work, but this stuff should be
-// autoconfiscated anyways. Major FIXME
-
-
-#ifndef LLVM_SUPPORT_DATATYPES_H
-#define LLVM_SUPPORT_DATATYPES_H
-
-#ifdef LINUX
-#define __STDC_LIMIT_MACROS 1
-#include <stdint.h>       // Defined by ISO C 99
-#include <endian.h>
-
-#else
-#include <sys/types.h>
-#ifdef _LITTLE_ENDIAN
-#define LITTLE_ENDIAN 1
-#endif
-#endif
-
-#endif
index 569ae4240b913080d6925aade746be73a7258ce6..aaae8577ef9edf0c4d691d3a5a343eae4f8f6df2 100644 (file)
@@ -9,7 +9,7 @@
 
 #include <string>
 #include <stdio.h>
-#include "llvm/Support/DataTypes.h"
+#include "Support/DataTypes.h"
 
 class ConstPoolArray;
 
index 506cb9f7a029fa21147e650f47c93aff27f4c528..01cb2d991ab9e8af3e8d576105cbf4df38ed5e1c 100644 (file)
@@ -8,7 +8,7 @@
 #define LLVM_TARGET_MACHINEINSTRINFO_H
 
 #include "llvm/Target/TargetMachine.h"
-#include "llvm/Support/DataTypes.h"
+#include "Support/DataTypes.h"
 #include <vector>
 
 class MachineInstrDescriptor;
index 67b549caa19e80078756de5668ee994be85249d1..21436d09fce4ca392ffa5fec448277bdf0a6ea12 100644 (file)
@@ -11,7 +11,7 @@
 #define LLVM_TARGET_MACHINECACHEINFO_H
 
 #include "llvm/Target/TargetMachine.h"
-#include "llvm/Support/DataTypes.h"
+#include "Support/DataTypes.h"
 #include <vector>
 
 
index 506cb9f7a029fa21147e650f47c93aff27f4c528..01cb2d991ab9e8af3e8d576105cbf4df38ed5e1c 100644 (file)
@@ -8,7 +8,7 @@
 #define LLVM_TARGET_MACHINEINSTRINFO_H
 
 #include "llvm/Target/TargetMachine.h"
-#include "llvm/Support/DataTypes.h"
+#include "Support/DataTypes.h"
 #include <vector>
 
 class MachineInstrDescriptor;
index 524237b2dda0bbcd1131c6e3f2d718a756d3f0c5..538e39ad0cb8588fa0c2b796e727de00b0a7c2d4 100644 (file)
@@ -12,7 +12,6 @@
 #include "llvm/Type.h"
 #include "llvm/ConstPoolVals.h"
 #include "llvm/Assembly/Writer.h"
-#include "llvm/Support/DataTypes.h"
 #include "llvm/Target/TargetData.h"
 #include "llvm/GlobalVariable.h"
 #include <math.h>  // For fmod
index 7e1fde1e8d52768333d6187194e98b35b8b2fbdf..44b382bd9f0823ef5a258aeae4c86fc7d4474ab2 100644 (file)
@@ -13,7 +13,7 @@
 
 #include "llvm/Module.h"
 #include "llvm/Method.h"
-#include "llvm/Support/DataTypes.h"
+#include "Support/DataTypes.h"
 #include "llvm/Assembly/CachedWriter.h"
 
 extern CachedWriter CW;     // Object to accellerate printing of LLVM