From c779e96158cbac4c62df8e2053ab6a933eba5868 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Mon, 7 Jan 2013 15:35:46 +0000 Subject: [PATCH] Rename the VMCore unittest tree to IR. Somehow was missed when doing the library rename. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171747 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/CMakeLists.txt | 2 +- unittests/{VMCore => IR}/CMakeLists.txt | 8 ++++---- unittests/{VMCore => IR}/ConstantsTest.cpp | 2 +- unittests/{VMCore => IR}/DominatorTreeTest.cpp | 0 unittests/{VMCore => IR}/IRBuilderTest.cpp | 2 +- unittests/{VMCore => IR}/InstructionsTest.cpp | 2 +- unittests/{VMCore => IR}/MDBuilderTest.cpp | 0 unittests/{VMCore => IR}/Makefile | 4 ++-- unittests/{VMCore => IR}/MetadataTest.cpp | 2 +- unittests/{VMCore => IR}/PassManagerTest.cpp | 2 +- unittests/{VMCore => IR}/TypeBuilderTest.cpp | 0 unittests/{VMCore => IR}/TypesTest.cpp | 2 +- unittests/{VMCore => IR}/ValueMapTest.cpp | 0 unittests/{VMCore => IR}/VerifierTest.cpp | 2 +- unittests/{VMCore => IR}/WaymarkTest.cpp | 2 +- unittests/Makefile | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) rename unittests/{VMCore => IR}/CMakeLists.txt (84%) rename unittests/{VMCore => IR}/ConstantsTest.cpp (99%) rename unittests/{VMCore => IR}/DominatorTreeTest.cpp (100%) rename unittests/{VMCore => IR}/IRBuilderTest.cpp (98%) rename unittests/{VMCore => IR}/InstructionsTest.cpp (99%) rename unittests/{VMCore => IR}/MDBuilderTest.cpp (100%) rename unittests/{VMCore => IR}/Makefile (83%) rename unittests/{VMCore => IR}/MetadataTest.cpp (98%) rename unittests/{VMCore => IR}/PassManagerTest.cpp (99%) rename unittests/{VMCore => IR}/TypeBuilderTest.cpp (100%) rename unittests/{VMCore => IR}/TypesTest.cpp (92%) rename unittests/{VMCore => IR}/ValueMapTest.cpp (100%) rename unittests/{VMCore => IR}/VerifierTest.cpp (96%) rename unittests/{VMCore => IR}/WaymarkTest.cpp (94%) diff --git a/unittests/CMakeLists.txt b/unittests/CMakeLists.txt index e2b7563a28e..a3f8bf34e73 100644 --- a/unittests/CMakeLists.txt +++ b/unittests/CMakeLists.txt @@ -12,4 +12,4 @@ add_subdirectory(Bitcode) add_subdirectory(Option) add_subdirectory(Support) add_subdirectory(Transforms) -add_subdirectory(VMCore) +add_subdirectory(IR) diff --git a/unittests/VMCore/CMakeLists.txt b/unittests/IR/CMakeLists.txt similarity index 84% rename from unittests/VMCore/CMakeLists.txt rename to unittests/IR/CMakeLists.txt index 8d8bb3bb4d9..4ff94f70355 100644 --- a/unittests/VMCore/CMakeLists.txt +++ b/unittests/IR/CMakeLists.txt @@ -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} ) diff --git a/unittests/VMCore/ConstantsTest.cpp b/unittests/IR/ConstantsTest.cpp similarity index 99% rename from unittests/VMCore/ConstantsTest.cpp rename to unittests/IR/ConstantsTest.cpp index 01ab5f26384..be34c1e2a1a 100644 --- a/unittests/VMCore/ConstantsTest.cpp +++ b/unittests/IR/ConstantsTest.cpp @@ -1,4 +1,4 @@ -//===- llvm/unittest/VMCore/ConstantsTest.cpp - Constants unit tests ------===// +//===- llvm/unittest/IR/ConstantsTest.cpp - Constants unit tests ----------===// // // The LLVM Compiler Infrastructure // diff --git a/unittests/VMCore/DominatorTreeTest.cpp b/unittests/IR/DominatorTreeTest.cpp similarity index 100% rename from unittests/VMCore/DominatorTreeTest.cpp rename to unittests/IR/DominatorTreeTest.cpp diff --git a/unittests/VMCore/IRBuilderTest.cpp b/unittests/IR/IRBuilderTest.cpp similarity index 98% rename from unittests/VMCore/IRBuilderTest.cpp rename to unittests/IR/IRBuilderTest.cpp index a9df2f69118..c56721f51b6 100644 --- a/unittests/VMCore/IRBuilderTest.cpp +++ b/unittests/IR/IRBuilderTest.cpp @@ -1,4 +1,4 @@ -//===- llvm/unittest/VMCore/IRBuilderTest.cpp - IRBuilder tests -----------===// +//===- llvm/unittest/IR/IRBuilderTest.cpp - IRBuilder tests ---------------===// // // The LLVM Compiler Infrastructure // diff --git a/unittests/VMCore/InstructionsTest.cpp b/unittests/IR/InstructionsTest.cpp similarity index 99% rename from unittests/VMCore/InstructionsTest.cpp rename to unittests/IR/InstructionsTest.cpp index 6559b1d0ee7..601a84b2d15 100644 --- a/unittests/VMCore/InstructionsTest.cpp +++ b/unittests/IR/InstructionsTest.cpp @@ -1,4 +1,4 @@ -//===- llvm/unittest/VMCore/InstructionsTest.cpp - Instructions unit tests ===// +//===- llvm/unittest/IR/InstructionsTest.cpp - Instructions unit tests ----===// // // The LLVM Compiler Infrastructure // diff --git a/unittests/VMCore/MDBuilderTest.cpp b/unittests/IR/MDBuilderTest.cpp similarity index 100% rename from unittests/VMCore/MDBuilderTest.cpp rename to unittests/IR/MDBuilderTest.cpp diff --git a/unittests/VMCore/Makefile b/unittests/IR/Makefile similarity index 83% rename from unittests/VMCore/Makefile rename to unittests/IR/Makefile index d743dc5d5ba..7c59003c92a 100644 --- a/unittests/VMCore/Makefile +++ b/unittests/IR/Makefile @@ -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 diff --git a/unittests/VMCore/MetadataTest.cpp b/unittests/IR/MetadataTest.cpp similarity index 98% rename from unittests/VMCore/MetadataTest.cpp rename to unittests/IR/MetadataTest.cpp index d0b6c520b6c..352e83ee662 100644 --- a/unittests/VMCore/MetadataTest.cpp +++ b/unittests/IR/MetadataTest.cpp @@ -1,4 +1,4 @@ -//===- llvm/unittest/VMCore/Metadata.cpp - Metadata unit tests ------------===// +//===- llvm/unittest/IR/Metadata.cpp - Metadata unit tests ----------------===// // // The LLVM Compiler Infrastructure // diff --git a/unittests/VMCore/PassManagerTest.cpp b/unittests/IR/PassManagerTest.cpp similarity index 99% rename from unittests/VMCore/PassManagerTest.cpp rename to unittests/IR/PassManagerTest.cpp index 8cb7b24f27a..1097da61b9d 100644 --- a/unittests/VMCore/PassManagerTest.cpp +++ b/unittests/IR/PassManagerTest.cpp @@ -1,4 +1,4 @@ -//===- llvm/unittest/VMCore/PassManager.cpp - Constants unit tests ------===// +//===- llvm/unittest/IR/PassManager.cpp - PassManager unit tests ----------===// // // The LLVM Compiler Infrastructure // diff --git a/unittests/VMCore/TypeBuilderTest.cpp b/unittests/IR/TypeBuilderTest.cpp similarity index 100% rename from unittests/VMCore/TypeBuilderTest.cpp rename to unittests/IR/TypeBuilderTest.cpp diff --git a/unittests/VMCore/TypesTest.cpp b/unittests/IR/TypesTest.cpp similarity index 92% rename from unittests/VMCore/TypesTest.cpp rename to unittests/IR/TypesTest.cpp index fe0935341c2..2cee640a13d 100644 --- a/unittests/VMCore/TypesTest.cpp +++ b/unittests/IR/TypesTest.cpp @@ -1,4 +1,4 @@ -//===- llvm/unittest/VMCore/TypesTest.cpp - Type unit tests ---------------===// +//===- llvm/unittest/IR/TypesTest.cpp - Type unit tests -------------------===// // // The LLVM Compiler Infrastructure // diff --git a/unittests/VMCore/ValueMapTest.cpp b/unittests/IR/ValueMapTest.cpp similarity index 100% rename from unittests/VMCore/ValueMapTest.cpp rename to unittests/IR/ValueMapTest.cpp diff --git a/unittests/VMCore/VerifierTest.cpp b/unittests/IR/VerifierTest.cpp similarity index 96% rename from unittests/VMCore/VerifierTest.cpp rename to unittests/IR/VerifierTest.cpp index 674a785ad5b..89119368fbd 100644 --- a/unittests/VMCore/VerifierTest.cpp +++ b/unittests/IR/VerifierTest.cpp @@ -1,4 +1,4 @@ -//===- llvm/unittest/VMCore/VerifierTest.cpp - Verifier unit tests --------===// +//===- llvm/unittest/IR/VerifierTest.cpp - Verifier unit tests ------------===// // // The LLVM Compiler Infrastructure // diff --git a/unittests/VMCore/WaymarkTest.cpp b/unittests/IR/WaymarkTest.cpp similarity index 94% rename from unittests/VMCore/WaymarkTest.cpp rename to unittests/IR/WaymarkTest.cpp index 0e766e1c052..69fc4da5a66 100644 --- a/unittests/VMCore/WaymarkTest.cpp +++ b/unittests/IR/WaymarkTest.cpp @@ -1,4 +1,4 @@ -//===- llvm/unittest/VMCore/WaymarkTest.cpp - getUser() unit tests --------===// +//===- llvm/unittest/IR/WaymarkTest.cpp - getUser() unit tests ------------===// // // The LLVM Compiler Infrastructure // diff --git a/unittests/Makefile b/unittests/Makefile index 27afccf02e3..926459ac08f 100644 --- a/unittests/Makefile +++ b/unittests/Makefile @@ -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 -- 2.34.1