Move llvm/Support/TypeBuilder.h -> llvm/TypeBuilder.h. This completes

the move of *Builder classes into the Core library.

No uses of this builder in Clang or DragonEgg I could find.

If there is a desire to have an IR-building-support library that
contains all of these builders, that can be easily added, but currently
it seems likely that these add no real overhead to VMCore.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160243 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chandler Carruth
2012-07-15 23:45:24 +00:00
parent e7cc0ac886
commit 38f488e462
9 changed files with 11 additions and 11 deletions

View File

@ -1,4 +1,4 @@
//===---- llvm/Support/TypeBuilder.h - Builder for LLVM types ---*- C++ -*-===// //===---- llvm/TypeBuilder.h - Builder for LLVM types -----------*- C++ -*-===//
// //
// The LLVM Compiler Infrastructure // The LLVM Compiler Infrastructure
// //
@ -12,8 +12,8 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#ifndef LLVM_SUPPORT_TYPEBUILDER_H #ifndef LLVM_TYPEBUILDER_H
#define LLVM_SUPPORT_TYPEBUILDER_H #define LLVM_TYPEBUILDER_H
#include "llvm/DerivedTypes.h" #include "llvm/DerivedTypes.h"
#include "llvm/LLVMContext.h" #include "llvm/LLVMContext.h"

View File

@ -31,11 +31,11 @@
#include "llvm/Instructions.h" #include "llvm/Instructions.h"
#include "llvm/Module.h" #include "llvm/Module.h"
#include "llvm/Pass.h" #include "llvm/Pass.h"
#include "llvm/TypeBuilder.h"
#include "llvm/Support/CFG.h" #include "llvm/Support/CFG.h"
#include "llvm/Support/CommandLine.h" #include "llvm/Support/CommandLine.h"
#include "llvm/Support/Compiler.h" #include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h" #include "llvm/Support/Debug.h"
#include "llvm/Support/TypeBuilder.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include <queue> #include <queue>

View File

@ -55,11 +55,11 @@
#include "llvm/LLVMContext.h" #include "llvm/LLVMContext.h"
#include "llvm/Module.h" #include "llvm/Module.h"
#include "llvm/Pass.h" #include "llvm/Pass.h"
#include "llvm/TypeBuilder.h"
#include "llvm/Support/Compiler.h" #include "llvm/Support/Compiler.h"
#include "llvm/Support/CFG.h" #include "llvm/Support/CFG.h"
#include "llvm/Support/CommandLine.h" #include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h" #include "llvm/Support/Debug.h"
#include "llvm/Support/TypeBuilder.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h" #include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include "llvm/Transforms/Instrumentation.h" #include "llvm/Transforms/Instrumentation.h"

View File

@ -12,10 +12,10 @@
#include "llvm/LLVMContext.h" #include "llvm/LLVMContext.h"
#include "llvm/Instructions.h" #include "llvm/Instructions.h"
#include "llvm/Module.h" #include "llvm/Module.h"
#include "llvm/TypeBuilder.h"
#include "llvm/ADT/OwningPtr.h" #include "llvm/ADT/OwningPtr.h"
#include "llvm/CodeGen/MachineCodeInfo.h" #include "llvm/CodeGen/MachineCodeInfo.h"
#include "llvm/ExecutionEngine/JIT.h" #include "llvm/ExecutionEngine/JIT.h"
#include "llvm/Support/TypeBuilder.h"
#include "llvm/Support/TargetSelect.h" #include "llvm/Support/TargetSelect.h"
#include "gtest/gtest.h" #include "gtest/gtest.h"
#include <vector> #include <vector>

View File

@ -15,12 +15,12 @@
#include "llvm/IRBuilder.h" #include "llvm/IRBuilder.h"
#include "llvm/Instructions.h" #include "llvm/Instructions.h"
#include "llvm/Module.h" #include "llvm/Module.h"
#include "llvm/TypeBuilder.h"
#include "llvm/CodeGen/MachineCodeInfo.h" #include "llvm/CodeGen/MachineCodeInfo.h"
#include "llvm/ExecutionEngine/JIT.h" #include "llvm/ExecutionEngine/JIT.h"
#include "llvm/ExecutionEngine/JITEventListener.h" #include "llvm/ExecutionEngine/JITEventListener.h"
#include "llvm/Support/Dwarf.h" #include "llvm/Support/Dwarf.h"
#include "llvm/Support/TargetSelect.h" #include "llvm/Support/TargetSelect.h"
#include "llvm/Support/TypeBuilder.h"
#include "llvm/Config/config.h" #include "llvm/Config/config.h"
#include "gtest/gtest.h" #include "gtest/gtest.h"

View File

@ -18,6 +18,7 @@
#include "llvm/LLVMContext.h" #include "llvm/LLVMContext.h"
#include "llvm/Module.h" #include "llvm/Module.h"
#include "llvm/Type.h" #include "llvm/Type.h"
#include "llvm/TypeBuilder.h"
#include "llvm/ADT/OwningPtr.h" #include "llvm/ADT/OwningPtr.h"
#include "llvm/ADT/SmallPtrSet.h" #include "llvm/ADT/SmallPtrSet.h"
#include "llvm/Assembly/Parser.h" #include "llvm/Assembly/Parser.h"
@ -27,7 +28,6 @@
#include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/SourceMgr.h" #include "llvm/Support/SourceMgr.h"
#include "llvm/Support/TargetSelect.h" #include "llvm/Support/TargetSelect.h"
#include "llvm/Support/TypeBuilder.h"
#include "gtest/gtest.h" #include "gtest/gtest.h"
#include <vector> #include <vector>

View File

@ -22,7 +22,6 @@ add_llvm_unittest(SupportTests
RegexTest.cpp RegexTest.cpp
SwapByteOrderTest.cpp SwapByteOrderTest.cpp
TimeValue.cpp TimeValue.cpp
TypeBuilderTest.cpp
ValueHandleTest.cpp ValueHandleTest.cpp
YAMLParserTest.cpp YAMLParserTest.cpp
) )

View File

@ -11,6 +11,7 @@ set(VMCoreSources
MDBuilderTest.cpp MDBuilderTest.cpp
MetadataTest.cpp MetadataTest.cpp
PassManagerTest.cpp PassManagerTest.cpp
TypeBuilderTest.cpp
ValueMapTest.cpp ValueMapTest.cpp
VerifierTest.cpp VerifierTest.cpp
) )

View File

@ -1,4 +1,4 @@
//===- llvm/unittest/Support/TypeBuilderTest.cpp - TypeBuilder tests -----===// //===- llvm/unittest/TypeBuilderTest.cpp - TypeBuilder tests --------------===//
// //
// The LLVM Compiler Infrastructure // The LLVM Compiler Infrastructure
// //
@ -7,7 +7,7 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#include "llvm/Support/TypeBuilder.h" #include "llvm/TypeBuilder.h"
#include "llvm/LLVMContext.h" #include "llvm/LLVMContext.h"
#include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/ArrayRef.h"