Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge System into Support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120298 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information...
commit 1f6efa3996dd1929fbc129203ce5009b620e6969 1 parent 9363f73
Michael Spencer Bigcheese authored
Showing with 546 additions and 572 deletions.
  1. +4 −5 CMakeLists.txt
  2. +5 −5 Makefile
  3. +2 −2 Makefile.rules
  4. +2 −2 autoconf/configure.ac
  5. +2 −2 cmake/config-ix.cmake
  6. +2 −2 configure
  7. +1 −1  include/llvm-c/EnhancedDisassembly.h
  8. +1 −1  include/llvm/ADT/EquivalenceClasses.h
  9. +1 −1  include/llvm/ADT/FoldingSet.h
  10. +1 −1  include/llvm/ADT/ImmutableList.h
  11. +1 −1  include/llvm/ADT/ImmutableSet.h
  12. +1 −1  include/llvm/ADT/SmallPtrSet.h
  13. +1 −1  include/llvm/ADT/SparseBitVector.h
  14. +1 −1  include/llvm/ADT/Statistic.h
  15. +1 −1  include/llvm/ADT/StringExtras.h
  16. +1 −1  include/llvm/ADT/Twine.h
  17. +1 −1  include/llvm/ADT/ValueMap.h
  18. +1 −1  include/llvm/Analysis/CallGraph.h
  19. +1 −1  include/llvm/Analysis/DIBuilder.h
  20. +1 −1  include/llvm/Analysis/ScalarEvolution.h
  21. +1 −1  include/llvm/Analysis/ValueTracking.h
  22. +16 −16 include/llvm/BasicBlock.h
  23. +1 −1  include/llvm/Bitcode/Archive.h
  24. +1 −1  include/llvm/Bitcode/BitCodes.h
  25. +1 −1  include/llvm/CodeGen/AsmPrinter.h
  26. +1 −1  include/llvm/CodeGen/BinaryObject.h
  27. +1 −1  include/llvm/CodeGen/JITCodeEmitter.h
  28. +1 −1  include/llvm/CodeGen/MachORelocation.h
  29. +1 −1  include/llvm/CodeGen/MachineCodeEmitter.h
  30. +1 −1  include/llvm/CodeGen/MachineCodeInfo.h
  31. +1 −1  include/llvm/CodeGen/MachineFrameInfo.h
  32. +1 −1  include/llvm/CodeGen/MachineMemOperand.h
  33. +1 −1  include/llvm/CodeGen/MachineModuleInfo.h
  34. +1 −1  include/llvm/CodeGen/MachineOperand.h
  35. +1 −1  include/llvm/CodeGen/MachineRelocation.h
  36. +1 −1  include/llvm/CodeGen/PostRAHazardRecognizer.h
  37. +1 −1  include/llvm/CodeGen/RegisterCoalescer.h
  38. +1 −1  include/llvm/CodeGen/SelectionDAGNodes.h
  39. +1 −1  include/llvm/CodeGen/ValueTypes.h
  40. +1 −1  include/llvm/CompilerDriver/CompilationGraph.h
  41. +1 −1  include/llvm/CompilerDriver/Tool.h
  42. +1 −1  include/llvm/DerivedTypes.h
  43. +1 −1  include/llvm/ExecutionEngine/ExecutionEngine.h
  44. +1 −1  include/llvm/ExecutionEngine/GenericValue.h
  45. +1 −1  include/llvm/ExecutionEngine/JITEventListener.h
  46. +1 −1  include/llvm/ExecutionEngine/JITMemoryManager.h
  47. +9 −9 include/llvm/LinkAllVMCore.h
  48. +1 −1  include/llvm/MC/EDInstInfo.h
  49. +1 −1  include/llvm/MC/MCAssembler.h
  50. +1 −1  include/llvm/MC/MCDisassembler.h
  51. +1 −1  include/llvm/MC/MCExpr.h
  52. +1 −1  include/llvm/MC/MCFixup.h
  53. +1 −1  include/llvm/MC/MCInst.h
  54. +1 −1  include/llvm/MC/MCObjectWriter.h
  55. +1 −1  include/llvm/MC/MCParser/AsmLexer.h
  56. +1 −1  include/llvm/MC/MCParser/MCAsmLexer.h
  57. +1 −1  include/llvm/MC/MCParser/MCAsmParser.h
  58. +1 −1  include/llvm/MC/MCStreamer.h
  59. +1 −1  include/llvm/MC/MCValue.h
  60. +1 −1  include/llvm/Module.h
  61. +1 −1  include/llvm/Object/MachOFormat.h
  62. +1 −1  include/llvm/Object/ObjectFile.h
  63. +1 −1  include/llvm/PassSupport.h
  64. 0  include/llvm/{System → Support}/AIXDataTypesFix.h
  65. 0  include/llvm/{System → Support}/Alarm.h
  66. +1 −1  include/llvm/Support/Allocator.h
  67. +1 −1  include/llvm/{System → Support}/Atomic.h
  68. +1 −1  include/llvm/Support/COFF.h
  69. +1 −1  include/llvm/Support/ConstantRange.h
  70. +4 −4 include/llvm/{System → Support}/DataTypes.h.cmake
  71. 0  include/llvm/{System → Support}/DataTypes.h.in
  72. +1 −1  include/llvm/{System → Support}/Disassembler.h
  73. 0  include/llvm/{System → Support}/DynamicLibrary.h
  74. +1 −1  include/llvm/Support/ELF.h
  75. +2 −2 include/llvm/Support/Endian.h
  76. 0  include/llvm/{System → Support}/Errno.h
  77. 0  include/llvm/{System → Support}/FEnv.h
  78. +1 −1  include/llvm/Support/FileUtilities.h
  79. +1 −1  include/llvm/Support/GraphWriter.h
  80. 0  include/llvm/{System → Support}/Host.h
  81. +9 −9 include/llvm/{System → Support}/IncludeFile.h
  82. +1 −1  include/llvm/{System → Support}/LICENSE.TXT
  83. +1 −1  include/llvm/Support/MachO.h
  84. +2 −2 include/llvm/Support/ManagedStatic.h
  85. +1 −1  include/llvm/Support/MathExtras.h
  86. +6 −6 include/llvm/{System → Support}/Memory.h
  87. +1 −1  include/llvm/Support/MemoryBuffer.h
  88. +1 −1  include/llvm/Support/MemoryObject.h
  89. +11 −11 include/llvm/{System → Support}/Mutex.h
  90. +1 −1  include/llvm/Support/MutexGuard.h
  91. +1 −1  include/llvm/{System → Support}/Path.h
  92. +2 −2 include/llvm/{System → Support}/PathV2.h
  93. +1 −1  include/llvm/Support/PointerLikeTypeTraits.h
  94. +1 −1  include/llvm/{System → Support}/Process.h
  95. +1 −1  include/llvm/{System → Support}/Program.h
  96. +20 −20 include/llvm/{System → Support}/RWMutex.h
  97. +1 −1  include/llvm/{System → Support}/Signals.h
  98. 0  include/llvm/{System → Support}/Solaris.h
  99. +2 −2 include/llvm/{System → Support}/SwapByteOrder.h
  100. +5 −5 include/llvm/{System → Support}/ThreadLocal.h
  101. +5 −5 include/llvm/{System → Support}/Threading.h
  102. +1 −1  include/llvm/{System → Support}/TimeValue.h
  103. +1 −1  include/llvm/Support/Timer.h
  104. 0  include/llvm/{System → Support}/Valgrind.h
  105. +1 −1  include/llvm/Support/raw_ostream.h
  106. 0  include/llvm/{System → Support}/system_error.h
  107. +1 −1  include/llvm/Target/SubtargetFeature.h
  108. +1 −1  include/llvm/Target/TargetAsmBackend.h
  109. +1 −1  include/llvm/Target/TargetData.h
  110. +1 −1  include/llvm/Target/TargetInstrDesc.h
  111. +1 −1  include/llvm/Target/TargetJITInfo.h
  112. +1 −1  include/llvm/TypeSymbolTable.h
  113. +1 −1  include/llvm/ValueSymbolTable.h
  114. +1 −1  lib/Analysis/ConstantFolding.cpp
  115. +1 −1  lib/Archive/Archive.cpp
  116. +1 −1  lib/Archive/ArchiveInternals.h
  117. +2 −2 lib/Archive/ArchiveWriter.cpp
  118. +1 −1  lib/Bitcode/Writer/BitcodeWriter.cpp
  119. +1 −1  lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  120. +1 −1  lib/CodeGen/ELF.h
  121. +1 −1  lib/CodeGen/PseudoSourceValue.cpp
  122. +1 −1  lib/CodeGen/SelectionDAG/SDNodeDbgValue.h
  123. +1 −1  lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  124. +2 −2 lib/ExecutionEngine/ExecutionEngine.cpp
  125. +2 −2 lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
  126. +1 −1  lib/ExecutionEngine/Interpreter/Interpreter.h
  127. +1 −1  lib/ExecutionEngine/JIT/Intercept.cpp
  128. +1 −1  lib/ExecutionEngine/JIT/JIT.cpp
  129. +1 −1  lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp
  130. +1 −1  lib/ExecutionEngine/JIT/JITDebugRegisterer.h
  131. +2 −2 lib/ExecutionEngine/JIT/JITEmitter.cpp
  132. +1 −1  lib/ExecutionEngine/JIT/JITMemoryManager.cpp
  133. +1 −1  lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp
  134. +1 −1  lib/ExecutionEngine/JIT/TargetSelect.cpp
  135. +1 −1  lib/ExecutionEngine/MCJIT/MCJIT.cpp
  136. +1 −1  lib/ExecutionEngine/MCJIT/TargetSelect.cpp
  137. +1 −1  lib/Linker/LinkItems.cpp
  138. +1 −1  lib/Linker/LinkModules.cpp
  139. +1 −1  lib/Linker/Linker.cpp
  140. +1 −1  lib/MC/MCAsmInfo.cpp
  141. +1 −1  lib/MC/MCDisassembler/EDDisassembler.h
  142. +1 −1  lib/MC/MCDisassembler/EDInst.h
  143. +1 −1  lib/MC/MCDisassembler/EDOperand.h
  144. +1 −1  lib/MC/MCDisassembler/EDToken.h
  145. +1 −1  lib/MC/WinCOFFObjectWriter.cpp
  146. +2 −2 lib/Object/MachOObject.cpp
  147. +1 −1  lib/Object/ObjectFile.cpp
  148. +3 −3 lib/{System → Support}/Alarm.cpp
  149. +2 −2 lib/Support/Allocator.cpp
  150. +1 −1  lib/{System → Support}/Atomic.cpp
  151. +50 −0 lib/Support/CMakeLists.txt
  152. +2 −2 lib/Support/CommandLine.cpp
  153. +2 −2 lib/Support/CrashRecoveryContext.cpp
  154. +1 −1  lib/Support/Debug.cpp
  155. +1 −1  lib/{System → Support}/Disassembler.cpp
  156. +5 −5 lib/{System → Support}/DynamicLibrary.cpp
  157. +1 −1  lib/{System → Support}/Errno.cpp
  158. +2 −2 lib/Support/ErrorHandling.cpp
  159. +1 −1  lib/Support/FileUtilities.cpp
  160. +1 −1  lib/Support/FoldingSet.cpp
  161. +2 −2 lib/Support/GraphWriter.cpp
  162. +2 −2 lib/{System → Support}/Host.cpp
  163. +2 −2 lib/{System → Support}/IncludeFile.cpp
  164. +5 −0 lib/Support/Makefile
  165. +1 −1  lib/Support/ManagedStatic.cpp
  166. +4 −4 lib/{System → Support}/Memory.cpp
  167. +9 −9 lib/Support/MemoryBuffer.cpp
  168. +2 −3 lib/{System → Support}/Mutex.cpp
  169. +2 −3 lib/{System → Support}/Path.cpp
  170. +2 −2 lib/Support/PluginLoader.cpp
  171. +2 −2 lib/Support/PrettyStackTrace.cpp
  172. +2 −2 lib/{System → Support}/Process.cpp
  173. +2 −2 lib/{System → Support}/Program.cpp
  174. +7 −7 lib/{System/README.txt → Support/README.txt.system}
  175. +2 −2 lib/{System → Support}/RWMutex.cpp
  176. 0  lib/{System → Support}/SearchForAddressOfSpecialSymbol.cpp
  177. +2 −2 lib/{System → Support}/Signals.cpp
  178. +1 −1  lib/Support/Statistic.cpp
  179. +2 −2 lib/Support/SystemUtils.cpp
  180. +1 −1  lib/Support/TargetRegistry.cpp
  181. +2 −3 lib/{System → Support}/ThreadLocal.cpp
  182. +7 −7 lib/{System → Support}/Threading.cpp
  183. +2 −3 lib/{System → Support}/TimeValue.cpp
  184. +2 −2 lib/Support/Timer.cpp
  185. +1 −1  lib/Support/ToolOutputFile.cpp
  186. 0  lib/{System → Support}/Unix/Alarm.inc
  187. +4 −4 lib/{System → Support}/Unix/Host.inc
  188. +6 −6 lib/{System → Support}/Unix/Memory.inc
  189. +4 −4 lib/{System → Support}/Unix/Mutex.inc
  190. 0  lib/{System → Support}/Unix/Path.inc
  191. +13 −13 lib/{System → Support}/Unix/Process.inc
  192. 0  lib/{System → Support}/Unix/Program.inc
  193. +3 −3 lib/{System → Support}/Unix/README.txt
  194. +2 −2 lib/{System → Support}/Unix/RWMutex.inc
  195. +9 −9 lib/{System → Support}/Unix/Signals.inc
  196. +2 −2 lib/{System → Support}/Unix/ThreadLocal.inc
  197. +6 −6 lib/{System → Support}/Unix/TimeValue.inc
  198. 0  lib/{System → Support}/Unix/Unix.h
  199. 0  lib/{System → Support}/Unix/system_error.inc
  200. +1 −1  lib/{System → Support}/Valgrind.cpp
  201. 0  lib/{System/Win32 → Support/Windows}/Alarm.inc
  202. +7 −8 lib/{System/Win32 → Support/Windows}/DynamicLibrary.inc
  203. +1 −1  lib/{System/Win32 → Support/Windows}/Host.inc
  204. +6 −6 lib/{System/Win32 → Support/Windows}/Memory.inc
  205. +7 −7 lib/{System/Win32 → Support/Windows}/Mutex.inc
  206. +1 −1  lib/{System/Win32 → Support/Windows}/Path.inc
  207. +7 −7 lib/{System/Win32 → Support/Windows}/Process.inc
  208. +1 −1  lib/{System/Win32 → Support/Windows}/Program.inc
  209. +4 −4 lib/{System/Win32 → Support/Windows}/RWMutex.inc
  210. +1 −2  lib/{System/Win32 → Support/Windows}/Signals.inc
  211. +4 −4 lib/{System/Win32 → Support/Windows}/ThreadLocal.inc
  212. +3 −3 lib/{System/Win32 → Support/Windows}/TimeValue.inc
  213. 0  lib/{System/Win32/Win32.h → Support/Windows/Windows.h}
  214. 0  lib/{System/Win32 → Support/Windows}/system_error.inc
  215. +2 −2 lib/Support/raw_ostream.cpp
  216. +3 −3 lib/{System → Support}/system_error.cpp
  217. +0 −52 lib/System/CMakeLists.txt
  218. +0 −20 lib/System/Makefile
  219. +1 −1  lib/Target/TargetData.cpp
  220. +1 −1  lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h
  221. +1 −1  lib/Target/X86/X86JITInfo.cpp
  222. +1 −1  lib/Target/X86/X86Subtarget.cpp
  223. +2 −2 lib/VMCore/Attributes.cpp
  224. +2 −2 lib/VMCore/Function.cpp
  225. +2 −2 lib/VMCore/LeakDetector.cpp
  226. +1 −1  lib/VMCore/PassManager.cpp
  227. +1 −1  lib/VMCore/PassRegistry.cpp
  228. +1 −1  lib/VMCore/Type.cpp
  229. +1 −1  tools/bugpoint/BugDriver.cpp
  230. +2 −2 tools/bugpoint/ExtractFunction.cpp
  231. +2 −2 tools/bugpoint/OptimizerDriver.cpp
  232. +1 −1  tools/bugpoint/ToolRunner.cpp
  233. +1 −1  tools/bugpoint/ToolRunner.h
  234. +3 −3 tools/bugpoint/bugpoint.cpp
  235. +2 −2 tools/llc/llc.cpp
  236. +2 −2 tools/lli/lli.cpp
  237. +1 −1  tools/llvm-ar/llvm-ar.cpp
  238. +1 −1  tools/llvm-as/llvm-as.cpp
  239. +1 −1  tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
  240. +1 −1  tools/llvm-dis/llvm-dis.cpp
  241. +1 −1  tools/llvm-extract/llvm-extract.cpp
  242. +1 −1  tools/llvm-ld/Optimize.cpp
  243. +2 −2 tools/llvm-ld/llvm-ld.cpp
  244. +2 −2 tools/llvm-link/llvm-link.cpp
  245. +2 −2 tools/llvm-mc/llvm-mc.cpp
  246. +1 −1  tools/llvm-nm/llvm-nm.cpp
  247. +1 −1  tools/llvm-prof/llvm-prof.cpp
  248. +1 −1  tools/llvm-ranlib/llvm-ranlib.cpp
  249. +1 −1  tools/opt/opt.cpp
  250. +1 −1  unittests/ADT/StringMapTest.cpp
  251. +1 −3 unittests/CMakeLists.txt
  252. +1 −1  unittests/Makefile
  253. +1 −1  unittests/Support/EndianTest.cpp
  254. +1 −1  unittests/Support/SwapByteOrderTest.cpp
  255. +1 −1  unittests/System/Makefile
  256. +1 −1  unittests/System/Path.cpp
  257. +1 −1  unittests/System/TimeValue.cpp
  258. +1 −1  utils/FileCheck/CMakeLists.txt
  259. +1 −1  utils/FileCheck/FileCheck.cpp
  260. +3 −3 utils/FileCheck/Makefile
  261. +1 −1  utils/FileUpdate/CMakeLists.txt
  262. +3 −3 utils/FileUpdate/Makefile
  263. +1 −1  utils/KillTheDoctor/CMakeLists.txt
  264. +2 −2 utils/KillTheDoctor/KillTheDoctor.cpp
  265. +1 −1  utils/TableGen/ARMDecoderEmitter.cpp
  266. +1 −1  utils/TableGen/CMakeLists.txt
  267. +1 −1  utils/TableGen/Makefile
  268. +1 −1  utils/TableGen/Record.cpp
  269. +1 −1  utils/TableGen/TableGen.cpp
  270. +3 −3 utils/fpcmp/Makefile
  271. +1 −1  utils/not/CMakeLists.txt
  272. +3 −3 utils/not/Makefile
  273. +2 −2 utils/not/not.cpp
  274. +1 −1  utils/unittest/UnitTestMain/TestMain.cpp
9 CMakeLists.txt
View
@@ -276,7 +276,7 @@ endif( MSVC )
include_directories( ${LLVM_BINARY_DIR}/include ${LLVM_MAIN_INCLUDE_DIR})
if( ${CMAKE_SYSTEM_NAME} MATCHES SunOS )
- SET(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-include llvm/System/Solaris.h")
+ SET(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-include llvm/Support/Solaris.h")
endif( ${CMAKE_SYSTEM_NAME} MATCHES SunOS )
include(AddLLVM)
@@ -292,9 +292,8 @@ if( MINGW )
endif()
add_subdirectory(lib/Support)
-add_subdirectory(lib/System)
-# Everything else depends on Support and System:
+# Everything else depends on Support:
set(LLVM_COMMON_DEPENDS ${LLVM_COMMON_DEPENDS} ${LLVM_LIBS} )
set(LLVM_TABLEGEN "tblgen" CACHE
@@ -346,7 +345,7 @@ foreach(t ${LLVM_TARGETS_TO_BUILD})
set( td ${LLVM_MAIN_SRC_DIR}/lib/Target/${t} )
file(GLOB asmp_file "${td}/*AsmPrinter.cpp")
if( asmp_file )
- set(LLVM_ENUM_ASM_PRINTERS
+ set(LLVM_ENUM_ASM_PRINTERS
"${LLVM_ENUM_ASM_PRINTERS}LLVM_ASM_PRINTER(${t})\n")
endif()
if( EXISTS ${td}/InstPrinter/CMakeLists.txt )
@@ -354,7 +353,7 @@ foreach(t ${LLVM_TARGETS_TO_BUILD})
endif()
if( EXISTS ${td}/AsmParser/CMakeLists.txt )
add_subdirectory(lib/Target/${t}/AsmParser)
- set(LLVM_ENUM_ASM_PARSERS
+ set(LLVM_ENUM_ASM_PARSERS
"${LLVM_ENUM_ASM_PARSERS}LLVM_ASM_PARSER(${t})\n")
endif()
if( EXISTS ${td}/Disassembler/CMakeLists.txt )
10 Makefile
View
@@ -10,7 +10,7 @@
LEVEL := .
# Top-Level LLVM Build Stages:
-# 1. Build lib/System and lib/Support, which are used by utils (tblgen).
+# 1. Build lib/Support, which is used by utils (tblgen).
# 2. Build utils, which is used by VMCore.
# 3. Build VMCore, which builds the Intrinsics.inc file used by libs.
# 4. Build libs, which are needed by llvm-config.
@@ -27,10 +27,10 @@ LEVEL := .
ifneq ($(findstring llvmCore, $(RC_ProjectName)),llvmCore) # Normal build (not "Apple-style").
ifeq ($(BUILD_DIRS_ONLY),1)
- DIRS := lib/System lib/Support utils
+ DIRS := lib/Support utils
OPTIONAL_DIRS :=
else
- DIRS := lib/System lib/Support utils lib/VMCore lib tools/llvm-shlib \
+ DIRS := lib/Support utils lib/VMCore lib tools/llvm-shlib \
tools/llvm-config tools runtime docs unittests
OPTIONAL_DIRS := projects bindings
endif
@@ -159,7 +159,7 @@ dist-hook::
$(Echo) Eliminating files constructed by configure
$(Verb) $(RM) -f \
$(TopDistDir)/include/llvm/Config/config.h \
- $(TopDistDir)/include/llvm/System/DataTypes.h
+ $(TopDistDir)/include/llvm/Support/DataTypes.h
clang-only: all
tools-only: all
@@ -178,7 +178,7 @@ FilesToConfig := \
include/llvm/Config/AsmPrinters.def \
include/llvm/Config/AsmParsers.def \
include/llvm/Config/Disassemblers.def \
- include/llvm/System/DataTypes.h \
+ include/llvm/Support/DataTypes.h \
tools/llvmc/src/Base.td
FilesToConfigPATH := $(addprefix $(LLVM_OBJ_ROOT)/,$(FilesToConfig))
4 Makefile.rules
View
@@ -634,11 +634,11 @@ else
endif
ifeq ($(HOST_OS),SunOS)
-CPP.BaseFlags += -include llvm/System/Solaris.h
+CPP.BaseFlags += -include llvm/Support/Solaris.h
endif
ifeq ($(HOST_OS),AuroraUX)
-CPP.BaseFlags += -include llvm/System/Solaris.h
+CPP.BaseFlags += -include llvm/Support/Solaris.h
endif # !HOST_OS - AuroraUX.
LD.Flags += -L$(LibDir) -L$(LLVMLibDir)
4 autoconf/configure.ac
View
@@ -319,7 +319,7 @@ AC_SUBST(LINKALL,$llvm_cv_link_all_option)
AC_SUBST(NOLINKALL,$llvm_cv_no_link_all_option)
dnl Set the "LLVM_ON_*" variables based on llvm_cv_platform_type
-dnl This is used by lib/System to determine the basic kind of implementation
+dnl This is used by lib/Support to determine the basic kind of implementation
dnl to use.
case $llvm_cv_platform_type in
Unix)
@@ -1625,7 +1625,7 @@ AC_CONFIG_FILES([include/llvm/Config/Targets.def])
AC_CONFIG_FILES([include/llvm/Config/AsmPrinters.def])
AC_CONFIG_FILES([include/llvm/Config/AsmParsers.def])
AC_CONFIG_FILES([include/llvm/Config/Disassemblers.def])
-AC_CONFIG_HEADERS([include/llvm/System/DataTypes.h])
+AC_CONFIG_HEADERS([include/llvm/Support/DataTypes.h])
dnl Configure the makefile's configuration data
AC_CONFIG_FILES([Makefile.config])
4 cmake/config-ix.cmake
View
@@ -277,7 +277,7 @@ configure_file(
)
configure_file(
- ${LLVM_MAIN_INCLUDE_DIR}/llvm/System/DataTypes.h.cmake
- ${LLVM_BINARY_DIR}/include/llvm/System/DataTypes.h
+ ${LLVM_MAIN_INCLUDE_DIR}/llvm/Support/DataTypes.h.cmake
+ ${LLVM_BINARY_DIR}/include/llvm/Support/DataTypes.h
)
4 configure
View
@@ -20920,7 +20920,7 @@ ac_config_files="$ac_config_files include/llvm/Config/AsmParsers.def"
ac_config_files="$ac_config_files include/llvm/Config/Disassemblers.def"
-ac_config_headers="$ac_config_headers include/llvm/System/DataTypes.h"
+ac_config_headers="$ac_config_headers include/llvm/Support/DataTypes.h"
ac_config_files="$ac_config_files Makefile.config"
@@ -21546,7 +21546,7 @@ do
"include/llvm/Config/AsmPrinters.def") CONFIG_FILES="$CONFIG_FILES include/llvm/Config/AsmPrinters.def" ;;
"include/llvm/Config/AsmParsers.def") CONFIG_FILES="$CONFIG_FILES include/llvm/Config/AsmParsers.def" ;;
"include/llvm/Config/Disassemblers.def") CONFIG_FILES="$CONFIG_FILES include/llvm/Config/Disassemblers.def" ;;
- "include/llvm/System/DataTypes.h") CONFIG_HEADERS="$CONFIG_HEADERS include/llvm/System/DataTypes.h" ;;
+ "include/llvm/Support/DataTypes.h") CONFIG_HEADERS="$CONFIG_HEADERS include/llvm/Support/DataTypes.h" ;;
"Makefile.config") CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
"llvm.spec") CONFIG_FILES="$CONFIG_FILES llvm.spec" ;;
"tools/llvmc/src/Base.td") CONFIG_FILES="$CONFIG_FILES tools/llvmc/src/Base.td" ;;
2  include/llvm-c/EnhancedDisassembly.h
View
@@ -19,7 +19,7 @@
#ifndef LLVM_C_ENHANCEDDISASSEMBLY_H
#define LLVM_C_ENHANCEDDISASSEMBLY_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#ifdef __cplusplus
extern "C" {
2  include/llvm/ADT/EquivalenceClasses.h
View
@@ -15,7 +15,7 @@
#ifndef LLVM_ADT_EQUIVALENCECLASSES_H
#define LLVM_ADT_EQUIVALENCECLASSES_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include <cassert>
#include <set>
2  include/llvm/ADT/FoldingSet.h
View
@@ -16,7 +16,7 @@
#ifndef LLVM_ADT_FOLDINGSET_H
#define LLVM_ADT_FOLDINGSET_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
2  include/llvm/ADT/ImmutableList.h
View
@@ -16,7 +16,7 @@
#include "llvm/Support/Allocator.h"
#include "llvm/ADT/FoldingSet.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include <cassert>
namespace llvm {
2  include/llvm/ADT/ImmutableSet.h
View
@@ -16,7 +16,7 @@
#include "llvm/Support/Allocator.h"
#include "llvm/ADT/FoldingSet.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include <cassert>
#include <functional>
2  include/llvm/ADT/SmallPtrSet.h
View
@@ -18,7 +18,7 @@
#include <cassert>
#include <cstring>
#include <iterator>
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include "llvm/Support/PointerLikeTypeTraits.h"
namespace llvm {
2  include/llvm/ADT/SparseBitVector.h
View
@@ -17,7 +17,7 @@
#include "llvm/ADT/ilist.h"
#include "llvm/ADT/ilist_node.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
2  include/llvm/ADT/Statistic.h
View
@@ -26,7 +26,7 @@
#ifndef LLVM_ADT_STATISTIC_H
#define LLVM_ADT_STATISTIC_H
-#include "llvm/System/Atomic.h"
+#include "llvm/Support/Atomic.h"
namespace llvm {
class raw_ostream;
2  include/llvm/ADT/StringExtras.h
View
@@ -14,7 +14,7 @@
#ifndef LLVM_ADT_STRINGEXTRAS_H
#define LLVM_ADT_STRINGEXTRAS_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include "llvm/ADT/APFloat.h"
#include "llvm/ADT/StringRef.h"
#include <cctype>
2  include/llvm/ADT/Twine.h
View
@@ -11,7 +11,7 @@
#define LLVM_ADT_TWINE_H
#include "llvm/ADT/StringRef.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include <cassert>
#include <string>
2  include/llvm/ADT/ValueMap.h
View
@@ -29,7 +29,7 @@
#include "llvm/ADT/DenseMap.h"
#include "llvm/Support/ValueHandle.h"
#include "llvm/Support/type_traits.h"
-#include "llvm/System/Mutex.h"
+#include "llvm/Support/Mutex.h"
#include <iterator>
2  include/llvm/Analysis/CallGraph.h
View
@@ -57,7 +57,7 @@
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/CallSite.h"
#include "llvm/Support/ValueHandle.h"
-#include "llvm/System/IncludeFile.h"
+#include "llvm/Support/IncludeFile.h"
#include <map>
namespace llvm {
2  include/llvm/Analysis/DIBuilder.h
View
@@ -15,7 +15,7 @@
#ifndef LLVM_ANALYSIS_DIBUILDER_H
#define LLVM_ANALYSIS_DIBUILDER_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include "llvm/ADT/StringRef.h"
namespace llvm {
2  include/llvm/Analysis/ScalarEvolution.h
View
@@ -24,7 +24,7 @@
#include "llvm/Pass.h"
#include "llvm/Instructions.h"
#include "llvm/Function.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include "llvm/Support/ValueHandle.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/ConstantRange.h"
2  include/llvm/Analysis/ValueTracking.h
View
@@ -15,7 +15,7 @@
#ifndef LLVM_ANALYSIS_VALUETRACKING_H
#define LLVM_ANALYSIS_VALUETRACKING_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include <string>
namespace llvm {
32 include/llvm/BasicBlock.h
View
@@ -18,7 +18,7 @@
#include "llvm/SymbolTableListTraits.h"
#include "llvm/ADT/ilist.h"
#include "llvm/ADT/Twine.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
namespace llvm {
@@ -58,9 +58,9 @@ template<> struct ilist_traits<Instruction>
/// tables. The type of a BasicBlock is "Type::LabelTy" because the basic block
/// represents a label to which a branch can jump.
///
-/// A well formed basic block is formed of a list of non-terminating
-/// instructions followed by a single TerminatorInst instruction.
-/// TerminatorInst's may not occur in the middle of basic blocks, and must
+/// A well formed basic block is formed of a list of non-terminating
+/// instructions followed by a single TerminatorInst instruction.
+/// TerminatorInst's may not occur in the middle of basic blocks, and must
/// terminate the blocks. The BasicBlock class allows malformed basic blocks to
/// occur because it may be useful in the intermediate stage of constructing or
/// modifying a program. However, the verifier will ensure that basic blocks
@@ -90,7 +90,7 @@ class BasicBlock : public Value, // Basic blocks are data objects also
public:
/// getContext - Get the context in which this basic block lives.
LLVMContext &getContext() const;
-
+
/// Instruction iterators...
typedef InstListType::iterator iterator;
typedef InstListType::const_iterator const_iterator;
@@ -98,7 +98,7 @@ class BasicBlock : public Value, // Basic blocks are data objects also
/// Create - Creates a new BasicBlock. If the Parent parameter is specified,
/// the basic block is automatically inserted at either the end of the
/// function (if InsertBefore is 0), or before the specified basic block.
- static BasicBlock *Create(LLVMContext &Context, const Twine &Name = "",
+ static BasicBlock *Create(LLVMContext &Context, const Twine &Name = "",
Function *Parent = 0,BasicBlock *InsertBefore = 0) {
return new BasicBlock(Context, Name, Parent, InsertBefore);
}
@@ -114,15 +114,15 @@ class BasicBlock : public Value, // Basic blocks are data objects also
/// and BlockAddress's).
User *use_back() { return cast<User>(*use_begin());}
const User *use_back() const { return cast<User>(*use_begin());}
-
+
/// getTerminator() - If this is a well formed basic block, then this returns
/// a pointer to the terminator instruction. If it is not, then you get a
/// null pointer back.
///
TerminatorInst *getTerminator();
const TerminatorInst *getTerminator() const;
-
- /// Returns a pointer to the first instructon in this block that is not a
+
+ /// Returns a pointer to the first instructon in this block that is not a
/// PHINode instruction. When adding instruction to the beginning of the
/// basic block, they should be added before the returned value, not before
/// the first instruction, which might be PHI.
@@ -137,7 +137,7 @@ class BasicBlock : public Value, // Basic blocks are data objects also
const Instruction* getFirstNonPHIOrDbg() const {
return const_cast<BasicBlock*>(this)->getFirstNonPHIOrDbg();
}
-
+
/// removeFromParent - This method unlinks 'this' from the containing
/// function, but does not delete it.
///
@@ -147,15 +147,15 @@ class BasicBlock : public Value, // Basic blocks are data objects also
/// and deletes it.
///
void eraseFromParent();
-
+
/// moveBefore - Unlink this basic block from its current function and
/// insert it into the function that MovePos lives in, right before MovePos.
void moveBefore(BasicBlock *MovePos);
-
+
/// moveAfter - Unlink this basic block from its current function and
/// insert it into the function that MovePos lives in, right after MovePos.
void moveAfter(BasicBlock *MovePos);
-
+
/// getSinglePredecessor - If this basic block has a single predecessor block,
/// return the block, otherwise return a null pointer.
@@ -166,8 +166,8 @@ class BasicBlock : public Value, // Basic blocks are data objects also
/// getUniquePredecessor - If this basic block has a unique predecessor block,
/// return the block, otherwise return a null pointer.
- /// Note that unique predecessor doesn't mean single edge, there can be
- /// multiple edges from the unique predecessor to this block (for example
+ /// Note that unique predecessor doesn't mean single edge, there can be
+ /// multiple edges from the unique predecessor to this block (for example
/// a switch statement with multiple cases having the same destination).
BasicBlock *getUniquePredecessor();
const BasicBlock *getUniquePredecessor() const {
@@ -247,7 +247,7 @@ class BasicBlock : public Value, // Basic blocks are data objects also
/// hasAddressTaken - returns true if there are any uses of this basic block
/// other than direct branches, switches, etc. to it.
bool hasAddressTaken() const { return getSubclassDataFromValue() != 0; }
-
+
private:
/// AdjustBlockAddressRefCount - BasicBlock stores the number of BlockAddress
/// objects using it. This is almost always 0, sometimes one, possibly but
2  include/llvm/Bitcode/Archive.h
View
@@ -19,7 +19,7 @@
#include "llvm/ADT/ilist.h"
#include "llvm/ADT/ilist_node.h"
-#include "llvm/System/Path.h"
+#include "llvm/Support/Path.h"
#include <map>
#include <set>
2  include/llvm/Bitcode/BitCodes.h
View
@@ -19,7 +19,7 @@
#define LLVM_BITCODE_BITCODES_H
#include "llvm/ADT/SmallVector.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include <cassert>
namespace llvm {
2  include/llvm/CodeGen/AsmPrinter.h
View
@@ -17,7 +17,7 @@
#define LLVM_CODEGEN_ASMPRINTER_H
#include "llvm/CodeGen/MachineFunctionPass.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
namespace llvm {
class BlockAddress;
2  include/llvm/CodeGen/BinaryObject.h
View
@@ -16,7 +16,7 @@
#define LLVM_CODEGEN_BINARYOBJECT_H
#include "llvm/CodeGen/MachineRelocation.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include <string>
#include <vector>
2  include/llvm/CodeGen/JITCodeEmitter.h
View
@@ -18,7 +18,7 @@
#define LLVM_CODEGEN_JITCODEEMITTER_H
#include <string>
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/CodeGen/MachineCodeEmitter.h"
#include "llvm/ADT/DenseMap.h"
2  include/llvm/CodeGen/MachORelocation.h
View
@@ -15,7 +15,7 @@
#ifndef LLVM_CODEGEN_MACHO_RELOCATION_H
#define LLVM_CODEGEN_MACHO_RELOCATION_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
namespace llvm {
2  include/llvm/CodeGen/MachineCodeEmitter.h
View
@@ -17,7 +17,7 @@
#ifndef LLVM_CODEGEN_MACHINECODEEMITTER_H
#define LLVM_CODEGEN_MACHINECODEEMITTER_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include "llvm/Support/DebugLoc.h"
namespace llvm {
2  include/llvm/CodeGen/MachineCodeInfo.h
View
@@ -17,7 +17,7 @@
#ifndef EE_MACHINE_CODE_INFO_H
#define EE_MACHINE_CODE_INFO_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
namespace llvm {
2  include/llvm/CodeGen/MachineFrameInfo.h
View
@@ -16,7 +16,7 @@
#include "llvm/ADT/SmallVector.h"
//#include "llvm/ADT/IndexedMap.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include <cassert>
#include <vector>
2  include/llvm/CodeGen/MachineMemOperand.h
View
@@ -16,7 +16,7 @@
#ifndef LLVM_CODEGEN_MACHINEMEMOPERAND_H
#define LLVM_CODEGEN_MACHINEMEMOPERAND_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
namespace llvm {
2  include/llvm/CodeGen/MachineModuleInfo.h
View
@@ -39,7 +39,7 @@
#include "llvm/Support/Dwarf.h"
#include "llvm/Support/DebugLoc.h"
#include "llvm/Support/ValueHandle.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/PointerIntPair.h"
#include "llvm/ADT/SmallPtrSet.h"
2  include/llvm/CodeGen/MachineOperand.h
View
@@ -14,7 +14,7 @@
#ifndef LLVM_CODEGEN_MACHINEOPERAND_H
#define LLVM_CODEGEN_MACHINEOPERAND_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include <cassert>
namespace llvm {
2  include/llvm/CodeGen/MachineRelocation.h
View
@@ -14,7 +14,7 @@
#ifndef LLVM_CODEGEN_MACHINERELOCATION_H
#define LLVM_CODEGEN_MACHINERELOCATION_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include <cassert>
namespace llvm {
2  include/llvm/CodeGen/PostRAHazardRecognizer.h
View
@@ -17,7 +17,7 @@
#define LLVM_CODEGEN_EXACTHAZARDRECOGNIZER_H
#include "llvm/CodeGen/ScheduleHazardRecognizer.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include <cassert>
#include <cstring>
2  include/llvm/CodeGen/RegisterCoalescer.h
View
@@ -12,7 +12,7 @@
//
//===----------------------------------------------------------------------===//
-#include "llvm/System/IncludeFile.h"
+#include "llvm/Support/IncludeFile.h"
#include "llvm/CodeGen/LiveInterval.h"
#include "llvm/ADT/SmallPtrSet.h"
2  include/llvm/CodeGen/SelectionDAGNodes.h
View
@@ -29,7 +29,7 @@
#include "llvm/CodeGen/ValueTypes.h"
#include "llvm/CodeGen/MachineMemOperand.h"
#include "llvm/Support/MathExtras.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include "llvm/Support/DebugLoc.h"
#include <cassert>
2  include/llvm/CodeGen/ValueTypes.h
View
@@ -18,7 +18,7 @@
#include <cassert>
#include <string>
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include "llvm/Support/MathExtras.h"
namespace llvm {
2  include/llvm/CompilerDriver/CompilationGraph.h
View
@@ -21,7 +21,7 @@
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringSet.h"
-#include "llvm/System/Path.h"
+#include "llvm/Support/Path.h"
#include <cassert>
#include <string>
2  include/llvm/CompilerDriver/Tool.h
View
@@ -18,7 +18,7 @@
#include "llvm/ADT/IntrusiveRefCntPtr.h"
#include "llvm/ADT/StringSet.h"
-#include "llvm/System/Path.h"
+#include "llvm/Support/Path.h"
#include <string>
#include <vector>
2  include/llvm/DerivedTypes.h
View
@@ -19,7 +19,7 @@
#define LLVM_DERIVED_TYPES_H
#include "llvm/Type.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
namespace llvm {
2  include/llvm/ExecutionEngine/ExecutionEngine.h
View
@@ -22,7 +22,7 @@
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/ValueMap.h"
#include "llvm/Support/ValueHandle.h"
-#include "llvm/System/Mutex.h"
+#include "llvm/Support/Mutex.h"
#include "llvm/Target/TargetMachine.h"
namespace llvm {
2  include/llvm/ExecutionEngine/GenericValue.h
View
@@ -16,7 +16,7 @@
#define GENERIC_VALUE_H
#include "llvm/ADT/APInt.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
namespace llvm {
2  include/llvm/ExecutionEngine/JITEventListener.h
View
@@ -15,7 +15,7 @@
#ifndef LLVM_EXECUTION_ENGINE_JIT_EVENTLISTENER_H
#define LLVM_EXECUTION_ENGINE_JIT_EVENTLISTENER_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include "llvm/Support/DebugLoc.h"
#include <vector>
2  include/llvm/ExecutionEngine/JITMemoryManager.h
View
@@ -10,7 +10,7 @@
#ifndef LLVM_EXECUTION_ENGINE_JIT_MEMMANAGER_H
#define LLVM_EXECUTION_ENGINE_JIT_MEMMANAGER_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include <string>
namespace llvm {
18 include/llvm/LinkAllVMCore.h
View
@@ -22,15 +22,15 @@
#include "llvm/IntrinsicInst.h"
#include "llvm/InlineAsm.h"
#include "llvm/Analysis/Verifier.h"
-#include "llvm/System/Alarm.h"
-#include "llvm/System/DynamicLibrary.h"
-#include "llvm/System/Memory.h"
-#include "llvm/System/Mutex.h"
-#include "llvm/System/Path.h"
-#include "llvm/System/Process.h"
-#include "llvm/System/Program.h"
-#include "llvm/System/Signals.h"
-#include "llvm/System/TimeValue.h"
+#include "llvm/Support/Alarm.h"
+#include "llvm/Support/DynamicLibrary.h"
+#include "llvm/Support/Memory.h"
+#include "llvm/Support/Mutex.h"
+#include "llvm/Support/Path.h"
+#include "llvm/Support/Process.h"
+#include "llvm/Support/Program.h"
+#include "llvm/Support/Signals.h"
+#include "llvm/Support/TimeValue.h"
#include "llvm/Support/Dwarf.h"
#include "llvm/Support/MathExtras.h"
#include <cstdlib>
2  include/llvm/MC/EDInstInfo.h
View
@@ -9,7 +9,7 @@
#ifndef EDINSTINFO_H
#define EDINSTINFO_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
namespace llvm {
2  include/llvm/MC/MCAssembler.h
View
@@ -17,7 +17,7 @@
#include "llvm/Support/Casting.h"
#include "llvm/MC/MCFixup.h"
#include "llvm/MC/MCInst.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include <vector> // FIXME: Shouldn't be needed.
namespace llvm {
2  include/llvm/MC/MCDisassembler.h
View
@@ -9,7 +9,7 @@
#ifndef MCDISASSEMBLER_H
#define MCDISASSEMBLER_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
namespace llvm {
2  include/llvm/MC/MCExpr.h
View
@@ -11,7 +11,7 @@
#define LLVM_MC_MCEXPR_H
#include "llvm/Support/Casting.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
namespace llvm {
class MCAsmInfo;
2  include/llvm/MC/MCFixup.h
View
@@ -10,7 +10,7 @@
#ifndef LLVM_MC_MCFIXUP_H
#define LLVM_MC_MCFIXUP_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include <cassert>
namespace llvm {
2  include/llvm/MC/MCInst.h
View
@@ -18,7 +18,7 @@
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
namespace llvm {
class raw_ostream;
2  include/llvm/MC/MCObjectWriter.h
View
@@ -12,7 +12,7 @@
#include "llvm/ADT/Triple.h"
#include "llvm/Support/raw_ostream.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include <cassert>
namespace llvm {
2  include/llvm/MC/MCParser/AsmLexer.h
View
@@ -17,7 +17,7 @@
#include "llvm/ADT/StringRef.h"
#include "llvm/MC/MCParser/MCAsmLexer.h"
#include "llvm/MC/MCAsmInfo.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include <string>
#include <cassert>
2  include/llvm/MC/MCParser/MCAsmLexer.h
View
@@ -11,7 +11,7 @@
#define LLVM_MC_MCASMLEXER_H
#include "llvm/ADT/StringRef.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include "llvm/Support/SMLoc.h"
namespace llvm {
2  include/llvm/MC/MCParser/MCAsmParser.h
View
@@ -10,7 +10,7 @@
#ifndef LLVM_MC_MCASMPARSER_H
#define LLVM_MC_MCASMPARSER_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
namespace llvm {
class AsmToken;
2  include/llvm/MC/MCStreamer.h
View
@@ -14,7 +14,7 @@
#ifndef LLVM_MC_MCSTREAMER_H
#define LLVM_MC_MCSTREAMER_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include "llvm/MC/MCDirectives.h"
namespace llvm {
2  include/llvm/MC/MCValue.h
View
@@ -14,7 +14,7 @@
#ifndef LLVM_MC_MCVALUE_H
#define LLVM_MC_MCVALUE_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include "llvm/MC/MCSymbol.h"
#include <cassert>
2  include/llvm/Module.h
View
@@ -20,7 +20,7 @@
#include "llvm/GlobalAlias.h"
#include "llvm/Metadata.h"
#include "llvm/ADT/OwningPtr.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include <vector>
namespace llvm {
2  include/llvm/Object/MachOFormat.h
View
@@ -22,7 +22,7 @@
#ifndef LLVM_OBJECT_MACHOFORMAT_H
#define LLVM_OBJECT_MACHOFORMAT_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
namespace llvm {
namespace object {
2  include/llvm/Object/ObjectFile.h
View
@@ -15,7 +15,7 @@
#define LLVM_OBJECT_OBJECT_FILE_H
#include "llvm/ADT/StringRef.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
namespace llvm {
2  include/llvm/PassSupport.h
View
@@ -24,7 +24,7 @@
#include "Pass.h"
#include "llvm/PassRegistry.h"
#include "llvm/InitializePasses.h"
-#include "llvm/System/Atomic.h"
+#include "llvm/Support/Atomic.h"
#include <vector>
namespace llvm {
0  include/llvm/System/AIXDataTypesFix.h → include/llvm/Support/AIXDataTypesFix.h
View
File renamed without changes
0  include/llvm/System/Alarm.h → include/llvm/Support/Alarm.h
View
File renamed without changes
2  include/llvm/Support/Allocator.h
View
@@ -16,7 +16,7 @@
#include "llvm/Support/AlignOf.h"
#include "llvm/Support/MathExtras.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include <algorithm>
#include <cassert>
#include <cstdlib>
2  include/llvm/System/Atomic.h → include/llvm/Support/Atomic.h
View
@@ -14,7 +14,7 @@
#ifndef LLVM_SYSTEM_ATOMIC_H
#define LLVM_SYSTEM_ATOMIC_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
namespace llvm {
namespace sys {
2  include/llvm/Support/COFF.h
View
@@ -23,7 +23,7 @@
#ifndef LLVM_SUPPORT_WIN_COFF_H
#define LLVM_SUPPORT_WIN_COFF_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include <cstring>
namespace llvm {
2  include/llvm/Support/ConstantRange.h
View
@@ -33,7 +33,7 @@
#define LLVM_SUPPORT_CONSTANT_RANGE_H
#include "llvm/ADT/APInt.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
namespace llvm {
8 include/llvm/System/DataTypes.h.cmake → include/llvm/Support/DataTypes.h.cmake
View
@@ -1,4 +1,4 @@
-/*===-- include/System/DataTypes.h - Define fixed size types -----*- C -*-===*\
+/*===-- include/Support/DataTypes.h - Define fixed size types -----*- C -*-===*\
|* *|
|* The LLVM Compiler Infrastructure *|
|* *|
@@ -43,12 +43,12 @@
happening when system headers or C++ STL headers include stdint.h before we
define it here, we define it on the g++ command line (in Makefile.rules). */
#if !defined(__STDC_LIMIT_MACROS)
-# error "Must #define __STDC_LIMIT_MACROS before #including System/DataTypes.h"
+# error "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
#endif
#if !defined(__STDC_CONSTANT_MACROS)
# error "Must #define __STDC_CONSTANT_MACROS before " \
- "#including System/DataTypes.h"
+ "#including Support/DataTypes.h"
#endif
/* Note that <inttypes.h> includes <stdint.h>, if this is a C99 system. */
@@ -65,7 +65,7 @@
#endif
#ifdef _AIX
-#include "llvm/System/AIXDataTypesFix.h"
+#include "llvm/Support/AIXDataTypesFix.h"
#endif
/* Handle incorrect definition of uint64_t as u_int64_t */
0  include/llvm/System/DataTypes.h.in → include/llvm/Support/DataTypes.h.in
View
File renamed without changes
2  include/llvm/System/Disassembler.h → include/llvm/Support/Disassembler.h
View
@@ -15,7 +15,7 @@
#ifndef LLVM_SYSTEM_DISASSEMBLER_H
#define LLVM_SYSTEM_DISASSEMBLER_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include <string>
namespace llvm {
0  include/llvm/System/DynamicLibrary.h → include/llvm/Support/DynamicLibrary.h
View
File renamed without changes
2  include/llvm/Support/ELF.h
View
@@ -20,7 +20,7 @@
#ifndef LLVM_SUPPORT_ELF_H
#define LLVM_SUPPORT_ELF_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include <cstring>
namespace llvm {
4 include/llvm/Support/Endian.h
View
@@ -15,8 +15,8 @@
#define LLVM_SUPPORT_ENDIAN_H
#include "llvm/Config/config.h"
-#include "llvm/System/Host.h"
-#include "llvm/System/SwapByteOrder.h"
+#include "llvm/Support/Host.h"
+#include "llvm/Support/SwapByteOrder.h"
#include "llvm/Support/type_traits.h"
namespace llvm {
0  include/llvm/System/Errno.h → include/llvm/Support/Errno.h
View
File renamed without changes
0  include/llvm/System/FEnv.h → include/llvm/Support/FEnv.h
View
File renamed without changes
2  include/llvm/Support/FileUtilities.h
View
@@ -15,7 +15,7 @@
#ifndef LLVM_SUPPORT_FILEUTILITIES_H
#define LLVM_SUPPORT_FILEUTILITIES_H
-#include "llvm/System/Path.h"
+#include "llvm/Support/Path.h"
namespace llvm {
2  include/llvm/Support/GraphWriter.h
View
@@ -26,7 +26,7 @@
#include "llvm/Support/DOTGraphTraits.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/ADT/GraphTraits.h"
-#include "llvm/System/Path.h"
+#include "llvm/Support/Path.h"
#include <vector>
#include <cassert>
0  include/llvm/System/Host.h → include/llvm/Support/Host.h
View
File renamed without changes
18 include/llvm/System/IncludeFile.h → include/llvm/Support/IncludeFile.h
View
@@ -16,14 +16,14 @@
#define LLVM_SYSTEM_INCLUDEFILE_H
/// This macro is the public interface that IncludeFile.h exports. This gives
-/// us the option to implement the "link the definition" capability in any
+/// us the option to implement the "link the definition" capability in any
/// manner that we choose. All header files that depend on a specific .cpp
/// file being linked at run time should use this macro instead of the
-/// IncludeFile class directly.
-///
+/// IncludeFile class directly.
+///
/// For example, foo.h would use:<br/>
/// <tt>FORCE_DEFINING_FILE_TO_BE_LINKED(foo)</tt><br/>
-///
+///
/// And, foo.cp would use:<br/>
/// <tt>DEFINING_FILE_FOR(foo)</tt><br/>
#ifdef __GNUC__
@@ -34,14 +34,14 @@
extern const char name ## LinkVar; \
__attribute__((used)) static const char *const name ## LinkObj = \
&name ## LinkVar; \
- }
+ }
#else
// Otherwise use a constructor call.
#define FORCE_DEFINING_FILE_TO_BE_LINKED(name) \
namespace llvm { \
extern const char name ## LinkVar; \
static const IncludeFile name ## LinkObj ( &name ## LinkVar ); \
- }
+ }
#endif
/// This macro is the counterpart to FORCE_DEFINING_FILE_TO_BE_LINKED. It should
@@ -53,9 +53,9 @@
namespace llvm {
/// This class is used in the implementation of FORCE_DEFINING_FILE_TO_BE_LINKED
-/// macro to make sure that the implementation of a header file is included
-/// into a tool that uses the header. This is solely
-/// to overcome problems linking .a files and not getting the implementation
+/// macro to make sure that the implementation of a header file is included
+/// into a tool that uses the header. This is solely
+/// to overcome problems linking .a files and not getting the implementation
/// of compilation units we need. This is commonly an issue with the various
/// Passes but also occurs elsewhere in LLVM. We like to use .a files because
/// they link faster and provide the smallest executables. However, sometimes
2  include/llvm/System/LICENSE.TXT → include/llvm/Support/LICENSE.TXT
View
@@ -1,6 +1,6 @@
LLVM System Interface Library
-------------------------------------------------------------------------------
-The LLVM System Interface Library is licensed under the Illinois Open Source
+The LLVM System Interface Library is licensed under the Illinois Open Source
License and has the following additional copyright:
Copyright (C) 2004 eXtensible Systems, Inc.
2  include/llvm/Support/MachO.h
View
@@ -14,7 +14,7 @@
#ifndef LLVM_SUPPORT_MACHO_H
#define LLVM_SUPPORT_MACHO_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
// NOTE: The enums in this file are intentially named to be different than those
// in the headers in /usr/include/mach (on darwin systems) to avoid conflicts
4 include/llvm/Support/ManagedStatic.h
View
@@ -14,8 +14,8 @@
#ifndef LLVM_SUPPORT_MANAGED_STATIC_H
#define LLVM_SUPPORT_MANAGED_STATIC_H
-#include "llvm/System/Atomic.h"
-#include "llvm/System/Threading.h"
+#include "llvm/Support/Atomic.h"
+#include "llvm/Support/Threading.h"
namespace llvm {
2  include/llvm/Support/MathExtras.h
View
@@ -14,7 +14,7 @@
#ifndef LLVM_SUPPORT_MATHEXTRAS_H
#define LLVM_SUPPORT_MATHEXTRAS_H
-#include "llvm/System/SwapByteOrder.h"
+#include "llvm/Support/SwapByteOrder.h"
namespace llvm {
12 include/llvm/System/Memory.h → include/llvm/Support/Memory.h
View
@@ -14,7 +14,7 @@
#ifndef LLVM_SYSTEM_MEMORY_H
#define LLVM_SYSTEM_MEMORY_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include <string>
namespace llvm {
@@ -51,7 +51,7 @@ namespace sys {
///
/// On success, this returns a non-null memory block, otherwise it returns
/// a null memory block and fills in *ErrMsg.
- ///
+ ///
/// @brief Allocate Read/Write/Execute memory.
static MemoryBlock AllocateRWX(size_t NumBytes,
const MemoryBlock *NearBlock,
@@ -65,8 +65,8 @@ namespace sys {
/// in *ErrMsg.
/// @brief Release Read/Write/Execute memory.
static bool ReleaseRWX(MemoryBlock &block, std::string *ErrMsg = 0);
-
-
+
+
/// InvalidateInstructionCache - Before the JIT can run a block of code
/// that has been emitted it must invalidate the instruction cache on some
/// platforms.
@@ -82,11 +82,11 @@ namespace sys {
/// boundaries, and the JIT internal allocations are not page aligned.
static bool setWritable (MemoryBlock &M, std::string *ErrMsg = 0);
- /// setRangeExecutable - Mark the page containing a range of addresses
+ /// setRangeExecutable - Mark the page containing a range of addresses
/// as executable.
static bool setRangeExecutable(const void *Addr, size_t Size);
- /// setRangeWritable - Mark the page containing a range of addresses
+ /// setRangeWritable - Mark the page containing a range of addresses
/// as writable.
static bool setRangeWritable(const void *Addr, size_t Size);
};
2  include/llvm/Support/MemoryBuffer.h
View
@@ -15,7 +15,7 @@
#define LLVM_SUPPORT_MEMORYBUFFER_H
#include "llvm/ADT/StringRef.h"
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include <string>
namespace llvm {
2  include/llvm/Support/MemoryObject.h
View
@@ -10,7 +10,7 @@
#ifndef MEMORYOBJECT_H
#define MEMORYOBJECT_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
namespace llvm {
22 include/llvm/System/Mutex.h → include/llvm/Support/Mutex.h
View
@@ -14,7 +14,7 @@
#ifndef LLVM_SYSTEM_MUTEX_H
#define LLVM_SYSTEM_MUTEX_H
-#include "llvm/System/Threading.h"
+#include "llvm/Support/Threading.h"
#include <cassert>
namespace llvm
@@ -79,9 +79,9 @@ namespace llvm
void operator=(const MutexImpl &);
/// @}
};
-
-
- /// SmartMutex - A mutex with a compile time constant parameter that
+
+
+ /// SmartMutex - A mutex with a compile time constant parameter that
/// indicates whether this mutex should become a no-op when we're not
/// running in multithreaded mode.
template<bool mt_only>
@@ -91,7 +91,7 @@ namespace llvm
public:
explicit SmartMutex(bool rec = true) :
MutexImpl(rec), acquired(0), recursive(rec) { }
-
+
bool acquire() {
if (!mt_only || llvm_is_multithreaded()) {
return MutexImpl::acquire();
@@ -124,29 +124,29 @@ namespace llvm
return MutexImpl::tryacquire();
else return true;
}
-
+
private:
SmartMutex(const SmartMutex<mt_only> & original);
void operator=(const SmartMutex<mt_only> &);
};
-
+
/// Mutex - A standard, always enforced mutex.
typedef SmartMutex<false> Mutex;
-
+
template<bool mt_only>
class SmartScopedLock {
SmartMutex<mt_only>& mtx;
-
+
public:
SmartScopedLock(SmartMutex<mt_only>& m) : mtx(m) {
mtx.acquire();
}
-
+
~SmartScopedLock() {
mtx.release();
}
};
-
+
typedef SmartScopedLock<false> ScopedLock;
}
}
2  include/llvm/Support/MutexGuard.h
View
@@ -15,7 +15,7 @@
#ifndef LLVM_SUPPORT_MUTEXGUARD_H
#define LLVM_SUPPORT_MUTEXGUARD_H
-#include "llvm/System/Mutex.h"
+#include "llvm/Support/Mutex.h"
namespace llvm {
/// Instances of this class acquire a given Mutex Lock when constructed and
2  include/llvm/System/Path.h → include/llvm/Support/Path.h
View
@@ -15,7 +15,7 @@
#define LLVM_SYSTEM_PATH_H
#include "llvm/ADT/StringRef.h"
-#include "llvm/System/TimeValue.h"
+#include "llvm/Support/TimeValue.h"
#include <set>
#include <string>
#include <vector>
4 include/llvm/System/PathV2.h → include/llvm/Support/PathV2.h
View
@@ -25,8 +25,8 @@
//===----------------------------------------------------------------------===//
#include "llvm/ADT/SmallString.h"
-#include "llvm/System/DataTypes.h"
-#include "llvm/System/system_error.h"
+#include "llvm/Support/DataTypes.h"
+#include "llvm/Support/system_error.h"
#include <ctime>
#include <iterator>
#include <string>
2  include/llvm/Support/PointerLikeTypeTraits.h
View
@@ -15,7 +15,7 @@
#ifndef LLVM_SUPPORT_POINTERLIKETYPETRAITS_H
#define LLVM_SUPPORT_POINTERLIKETYPETRAITS_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
namespace llvm {
2  include/llvm/System/Process.h → include/llvm/Support/Process.h
View
@@ -14,7 +14,7 @@
#ifndef LLVM_SYSTEM_PROCESS_H
#define LLVM_SYSTEM_PROCESS_H
-#include "llvm/System/TimeValue.h"
+#include "llvm/Support/TimeValue.h"
namespace llvm {
namespace sys {
2  include/llvm/System/Program.h → include/llvm/Support/Program.h
View
@@ -14,7 +14,7 @@
#ifndef LLVM_SYSTEM_PROGRAM_H
#define LLVM_SYSTEM_PROGRAM_H
-#include "llvm/System/Path.h"
+#include "llvm/Support/Path.h"
namespace llvm {
namespace sys {
40 include/llvm/System/RWMutex.h → include/llvm/Support/RWMutex.h
View
@@ -14,7 +14,7 @@
#ifndef LLVM_SYSTEM_RWMUTEX_H
#define LLVM_SYSTEM_RWMUTEX_H
-#include "llvm/System/Threading.h"
+#include "llvm/Support/Threading.h"
#include <cassert>
namespace llvm
@@ -43,7 +43,7 @@ namespace llvm
/// Attempts to unconditionally acquire the lock in reader mode. If the
/// lock is held by a writer, this method will wait until it can acquire
- /// the lock.
+ /// the lock.
/// @returns false if any kind of error occurs, true otherwise.
/// @brief Unconditionally acquire the lock in reader mode.
bool reader_acquire();
@@ -55,7 +55,7 @@ namespace llvm
/// Attempts to unconditionally acquire the lock in reader mode. If the
/// lock is held by any readers, this method will wait until it can
- /// acquire the lock.
+ /// acquire the lock.
/// @returns false if any kind of error occurs, true otherwise.
/// @brief Unconditionally acquire the lock in writer mode.
bool writer_acquire();
@@ -79,8 +79,8 @@ namespace llvm
void operator=(const RWMutexImpl &);
/// @}
};
-
- /// SmartMutex - An R/W mutex with a compile time constant parameter that
+
+ /// SmartMutex - An R/W mutex with a compile time constant parameter that
/// indicates whether this mutex should become a no-op when we're not
/// running in multithreaded mode.
template<bool mt_only>
@@ -88,80 +88,80 @@ namespace llvm
unsigned readers, writers;
public:
explicit SmartRWMutex() : RWMutexImpl(), readers(0), writers(0) { }
-
+
bool reader_acquire() {
if (!mt_only || llvm_is_multithreaded())
return RWMutexImpl::reader_acquire();
-
+
// Single-threaded debugging code. This would be racy in multithreaded
// mode, but provides not sanity checks in single threaded mode.
++readers;
return true;
}
-
+
bool reader_release() {
if (!mt_only || llvm_is_multithreaded())
return RWMutexImpl::reader_release();
-
+
// Single-threaded debugging code. This would be racy in multithreaded
// mode, but provides not sanity checks in single threaded mode.
assert(readers > 0 && "Reader lock not acquired before release!");
--readers;
return true;
}
-
+
bool writer_acquire() {
if (!mt_only || llvm_is_multithreaded())
return RWMutexImpl::writer_acquire();
-
+
// Single-threaded debugging code. This would be racy in multithreaded
// mode, but provides not sanity checks in single threaded mode.
assert(writers == 0 && "Writer lock already acquired!");
++writers;
return true;
}
-
+
bool writer_release() {
if (!mt_only || llvm_is_multithreaded())
return RWMutexImpl::writer_release();
-
+
// Single-threaded debugging code. This would be racy in multithreaded
// mode, but provides not sanity checks in single threaded mode.
assert(writers == 1 && "Writer lock not acquired before release!");
--writers;
return true;
}
-
+
private:
SmartRWMutex(const SmartRWMutex<mt_only> & original);
void operator=(const SmartRWMutex<mt_only> &);
};
typedef SmartRWMutex<false> RWMutex;
-
+
/// ScopedReader - RAII acquisition of a reader lock
template<bool mt_only>
struct SmartScopedReader {
SmartRWMutex<mt_only>& mutex;
-
+
explicit SmartScopedReader(SmartRWMutex<mt_only>& m) : mutex(m) {
mutex.reader_acquire();
}
-
+
~SmartScopedReader() {
mutex.reader_release();
}
};
typedef SmartScopedReader<false> ScopedReader;
-
+
/// ScopedWriter - RAII acquisition of a writer lock
template<bool mt_only>
struct SmartScopedWriter {
SmartRWMutex<mt_only>& mutex;
-
+
explicit SmartScopedWriter(SmartRWMutex<mt_only>& m) : mutex(m) {
mutex.writer_acquire();
}
-
+
~SmartScopedWriter() {
mutex.writer_release();
}
2  include/llvm/System/Signals.h → include/llvm/Support/Signals.h
View
@@ -15,7 +15,7 @@
#ifndef LLVM_SYSTEM_SIGNALS_H
#define LLVM_SYSTEM_SIGNALS_H
-#include "llvm/System/Path.h"
+#include "llvm/Support/Path.h"
namespace llvm {
namespace sys {
0  include/llvm/System/Solaris.h → include/llvm/Support/Solaris.h
View
File renamed without changes
4 include/llvm/System/SwapByteOrder.h → include/llvm/Support/SwapByteOrder.h
View
@@ -15,7 +15,7 @@
#ifndef LLVM_SYSTEM_SWAP_BYTE_ORDER_H
#define LLVM_SYSTEM_SWAP_BYTE_ORDER_H
-#include "llvm/System/DataTypes.h"
+#include "llvm/Support/DataTypes.h"
#include <cstddef>
#include <limits>
@@ -87,7 +87,7 @@ inline signed long SwapByteOrder( signed long C) { return SwapByteOrder_64(
#else
#error "Unknown long size!"
#endif
-
+
inline unsigned long long SwapByteOrder(unsigned long long C) {
return SwapByteOrder_64(C);
}
10 include/llvm/System/ThreadLocal.h → include/llvm/Support/ThreadLocal.h
View
@@ -14,7 +14,7 @@
#ifndef LLVM_SYSTEM_THREAD_LOCAL_H
#define LLVM_SYSTEM_THREAD_LOCAL_H
-#include "llvm/System/Threading.h"
+#include "llvm/Support/Threading.h"
#include <cassert>
namespace llvm {
@@ -30,21 +30,21 @@ namespace llvm {
const void* getInstance();
void removeInstance();
};
-
+
/// ThreadLocal - A class used to abstract thread-local storage. It holds,
/// for each thread, a pointer a single object of type T.
template<class T>
class ThreadLocal : public ThreadLocalImpl {
public:
ThreadLocal() : ThreadLocalImpl() { }
-
+
/// get - Fetches a pointer to the object associated with the current
/// thread. If no object has yet been associated, it returns NULL;