aboutsummaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
Diffstat (limited to 'unittests')
-rw-r--r--unittests/CMakeLists.txt2
-rw-r--r--unittests/IR/CMakeLists.txt (renamed from unittests/VMCore/CMakeLists.txt)8
-rw-r--r--unittests/IR/ConstantsTest.cpp (renamed from unittests/VMCore/ConstantsTest.cpp)2
-rw-r--r--unittests/IR/DominatorTreeTest.cpp (renamed from unittests/VMCore/DominatorTreeTest.cpp)0
-rw-r--r--unittests/IR/IRBuilderTest.cpp (renamed from unittests/VMCore/IRBuilderTest.cpp)2
-rw-r--r--unittests/IR/InstructionsTest.cpp (renamed from unittests/VMCore/InstructionsTest.cpp)2
-rw-r--r--unittests/IR/MDBuilderTest.cpp (renamed from unittests/VMCore/MDBuilderTest.cpp)0
-rw-r--r--unittests/IR/Makefile (renamed from unittests/VMCore/Makefile)4
-rw-r--r--unittests/IR/MetadataTest.cpp (renamed from unittests/VMCore/MetadataTest.cpp)2
-rw-r--r--unittests/IR/PassManagerTest.cpp (renamed from unittests/VMCore/PassManagerTest.cpp)2
-rw-r--r--unittests/IR/TypeBuilderTest.cpp (renamed from unittests/VMCore/TypeBuilderTest.cpp)0
-rw-r--r--unittests/IR/TypesTest.cpp (renamed from unittests/VMCore/TypesTest.cpp)2
-rw-r--r--unittests/IR/ValueMapTest.cpp (renamed from unittests/VMCore/ValueMapTest.cpp)0
-rw-r--r--unittests/IR/VerifierTest.cpp (renamed from unittests/VMCore/VerifierTest.cpp)2
-rw-r--r--unittests/IR/WaymarkTest.cpp (renamed from unittests/VMCore/WaymarkTest.cpp)2
-rw-r--r--unittests/Makefile2
16 files changed, 16 insertions, 16 deletions
diff --git a/unittests/CMakeLists.txt b/unittests/CMakeLists.txt
index e2b7563a28..a3f8bf34e7 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
index 8d8bb3bb4d..4ff94f7035 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
index 01ab5f2638..be34c1e2a1 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
index 3a527adbc0..3a527adbc0 100644
--- a/unittests/VMCore/DominatorTreeTest.cpp
+++ b/unittests/IR/DominatorTreeTest.cpp
diff --git a/unittests/VMCore/IRBuilderTest.cpp b/unittests/IR/IRBuilderTest.cpp
index a9df2f6911..c56721f51b 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
index 6559b1d0ee..601a84b2d1 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
index 665d559bf0..665d559bf0 100644
--- a/unittests/VMCore/MDBuilderTest.cpp
+++ b/unittests/IR/MDBuilderTest.cpp
diff --git a/unittests/VMCore/Makefile b/unittests/IR/Makefile
index d743dc5d5b..7c59003c92 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
index d0b6c520b6..352e83ee66 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
index 8cb7b24f27..1097da61b9 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
index be493cdc63..be493cdc63 100644
--- a/unittests/VMCore/TypeBuilderTest.cpp
+++ b/unittests/IR/TypeBuilderTest.cpp
diff --git a/unittests/VMCore/TypesTest.cpp b/unittests/IR/TypesTest.cpp
index fe0935341c..2cee640a13 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
index 5aaf905836..5aaf905836 100644
--- a/unittests/VMCore/ValueMapTest.cpp
+++ b/unittests/IR/ValueMapTest.cpp
diff --git a/unittests/VMCore/VerifierTest.cpp b/unittests/IR/VerifierTest.cpp
index 674a785ad5..89119368fb 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
index 0e766e1c05..69fc4da5a6 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 27afccf02e..926459ac08 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