OSDN Git Service

Rename the VMCore unittest tree to IR. Somehow was missed when doing the
authorChandler Carruth <chandlerc@gmail.com>
Mon, 7 Jan 2013 15:35:46 +0000 (15:35 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 7 Jan 2013 15:35:46 +0000 (15:35 +0000)
library rename.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171747 91177308-0d34-0410-b5e6-96231b3b80d8

16 files changed:
unittests/CMakeLists.txt
unittests/IR/CMakeLists.txt [moved from unittests/VMCore/CMakeLists.txt with 84% similarity]
unittests/IR/ConstantsTest.cpp [moved from unittests/VMCore/ConstantsTest.cpp with 99% similarity]
unittests/IR/DominatorTreeTest.cpp [moved from unittests/VMCore/DominatorTreeTest.cpp with 100% similarity]
unittests/IR/IRBuilderTest.cpp [moved from unittests/VMCore/IRBuilderTest.cpp with 98% similarity]
unittests/IR/InstructionsTest.cpp [moved from unittests/VMCore/InstructionsTest.cpp with 99% similarity]
unittests/IR/MDBuilderTest.cpp [moved from unittests/VMCore/MDBuilderTest.cpp with 100% similarity]
unittests/IR/Makefile [moved from unittests/VMCore/Makefile with 83% similarity]
unittests/IR/MetadataTest.cpp [moved from unittests/VMCore/MetadataTest.cpp with 98% similarity]
unittests/IR/PassManagerTest.cpp [moved from unittests/VMCore/PassManagerTest.cpp with 99% similarity]
unittests/IR/TypeBuilderTest.cpp [moved from unittests/VMCore/TypeBuilderTest.cpp with 100% similarity]
unittests/IR/TypesTest.cpp [moved from unittests/VMCore/TypesTest.cpp with 92% similarity]
unittests/IR/ValueMapTest.cpp [moved from unittests/VMCore/ValueMapTest.cpp with 100% similarity]
unittests/IR/VerifierTest.cpp [moved from unittests/VMCore/VerifierTest.cpp with 96% similarity]
unittests/IR/WaymarkTest.cpp [moved from unittests/VMCore/WaymarkTest.cpp with 94% similarity]
unittests/Makefile

index e2b7563..a3f8bf3 100644 (file)
@@ -12,4 +12,4 @@ add_subdirectory(Bitcode)
 add_subdirectory(Option)
 add_subdirectory(Support)
 add_subdirectory(Transforms)
-add_subdirectory(VMCore)
+add_subdirectory(IR)
similarity index 84%
rename from unittests/VMCore/CMakeLists.txt
rename to unittests/IR/CMakeLists.txt
index 8d8bb3b..4ff94f7 100644 (file)
@@ -4,7 +4,7 @@ set(LLVM_LINK_COMPONENTS
   ipa
   )
 
-set(VMCoreSources
+set(IRSources
   ConstantsTest.cpp
   DominatorTreeTest.cpp
   IRBuilderTest.cpp
@@ -22,7 +22,7 @@ set(VMCoreSources
 # MSVC9 and 8 cannot compile ValueMapTest.cpp due to their bug.
 # See issue#331418 in Visual Studio.
 if(MSVC AND MSVC_VERSION LESS 1600)
-  list(REMOVE_ITEM VMCoreSources ValueMapTest.cpp)
+  list(REMOVE_ITEM IRSources ValueMapTest.cpp)
 endif()
 
 # HACK: Declare a couple of source files as optionally compiled to satisfy the
@@ -31,6 +31,6 @@ set(LLVM_OPTIONAL_SOURCES
   ValueMapTest.cpp
   )
 
-add_llvm_unittest(VMCoreTests
-  ${VMCoreSources}
+add_llvm_unittest(IRTests
+  ${IRSources}
   )
similarity index 99%
rename from unittests/VMCore/ConstantsTest.cpp
rename to unittests/IR/ConstantsTest.cpp
index 01ab5f2..be34c1e 100644 (file)
@@ -1,4 +1,4 @@
-//===- llvm/unittest/VMCore/ConstantsTest.cpp - Constants unit tests ------===//
+//===- llvm/unittest/IR/ConstantsTest.cpp - Constants unit tests ----------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
similarity index 98%
rename from unittests/VMCore/IRBuilderTest.cpp
rename to unittests/IR/IRBuilderTest.cpp
index a9df2f6..c56721f 100644 (file)
@@ -1,4 +1,4 @@
-//===- llvm/unittest/VMCore/IRBuilderTest.cpp - IRBuilder tests -----------===//
+//===- llvm/unittest/IR/IRBuilderTest.cpp - IRBuilder tests ---------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
similarity index 99%
rename from unittests/VMCore/InstructionsTest.cpp
rename to unittests/IR/InstructionsTest.cpp
index 6559b1d..601a84b 100644 (file)
@@ -1,4 +1,4 @@
-//===- llvm/unittest/VMCore/InstructionsTest.cpp - Instructions unit tests ===//
+//===- llvm/unittest/IR/InstructionsTest.cpp - Instructions unit tests ----===//
 //
 //                     The LLVM Compiler Infrastructure
 //
similarity index 83%
rename from unittests/VMCore/Makefile
rename to unittests/IR/Makefile
index d743dc5..7c59003 100644 (file)
@@ -1,4 +1,4 @@
-##===- unittests/VMCore/Makefile ---------------------------*- Makefile -*-===##
+##===- unittests/IR/Makefile -------------------------------*- Makefile -*-===##
 #
 #                     The LLVM Compiler Infrastructure
 #
@@ -8,7 +8,7 @@
 ##===----------------------------------------------------------------------===##
 
 LEVEL = ../..
-TESTNAME = VMCore
+TESTNAME = IR
 LINK_COMPONENTS := core ipa asmparser
 
 include $(LEVEL)/Makefile.config
similarity index 98%
rename from unittests/VMCore/MetadataTest.cpp
rename to unittests/IR/MetadataTest.cpp
index d0b6c52..352e83e 100644 (file)
@@ -1,4 +1,4 @@
-//===- llvm/unittest/VMCore/Metadata.cpp - Metadata unit tests ------------===//
+//===- llvm/unittest/IR/Metadata.cpp - Metadata unit tests ----------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
similarity index 99%
rename from unittests/VMCore/PassManagerTest.cpp
rename to unittests/IR/PassManagerTest.cpp
index 8cb7b24..1097da6 100644 (file)
@@ -1,4 +1,4 @@
-//===- llvm/unittest/VMCore/PassManager.cpp - Constants unit tests ------===//
+//===- llvm/unittest/IR/PassManager.cpp - PassManager unit tests ----------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
similarity index 92%
rename from unittests/VMCore/TypesTest.cpp
rename to unittests/IR/TypesTest.cpp
index fe09353..2cee640 100644 (file)
@@ -1,4 +1,4 @@
-//===- llvm/unittest/VMCore/TypesTest.cpp - Type unit tests ---------------===//
+//===- llvm/unittest/IR/TypesTest.cpp - Type unit tests -------------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
similarity index 96%
rename from unittests/VMCore/VerifierTest.cpp
rename to unittests/IR/VerifierTest.cpp
index 674a785..8911936 100644 (file)
@@ -1,4 +1,4 @@
-//===- llvm/unittest/VMCore/VerifierTest.cpp - Verifier unit tests --------===//
+//===- llvm/unittest/IR/VerifierTest.cpp - Verifier unit tests ------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
similarity index 94%
rename from unittests/VMCore/WaymarkTest.cpp
rename to unittests/IR/WaymarkTest.cpp
index 0e766e1..69fc4da 100644 (file)
@@ -1,4 +1,4 @@
-//===- llvm/unittest/VMCore/WaymarkTest.cpp - getUser() unit tests --------===//
+//===- llvm/unittest/IR/WaymarkTest.cpp - getUser() unit tests ------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 27afccf..926459a 100644 (file)
@@ -9,7 +9,7 @@
 
 LEVEL = ..
 
-PARALLEL_DIRS = ADT ExecutionEngine Support Transforms VMCore Analysis Bitcode
+PARALLEL_DIRS = ADT ExecutionEngine Support Transforms IR Analysis Bitcode
 
 include $(LEVEL)/Makefile.common