diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2013-01-02 09:10:48 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2013-01-02 09:10:48 +0000 |
commit | c2c50cdcdc19a1bca993c06d13d8cdca87083ce4 (patch) | |
tree | e46b4b6d4d44228df1e870f690506dbf296954c1 | |
parent | 3af932322859285988a4c53551540fc0658b2116 (diff) |
Rename VMCore directory to IR.
Aside from moving the actual files, this patch only updates the build
system and the source file comments under lib/... that are relevant.
I'll be updating other docs and other files in smaller subsequnet
commits.
While I've tried to test this, but it is entirely possible that there
will still be some build system fallout.
Also, note that I've not changed the library name itself: libLLVMCore.a
is still the library name. I'd be interested in others' opinions about
whether we should rename this as well (I think we should, just not sure
what it might break)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171359 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Analysis/ConstantFolding.cpp | 14 | ||||
-rw-r--r-- | lib/CMakeLists.txt | 2 | ||||
-rw-r--r-- | lib/IR/AsmWriter.cpp (renamed from lib/VMCore/AsmWriter.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/AttributeImpl.h (renamed from lib/VMCore/AttributeImpl.h) | 0 | ||||
-rw-r--r-- | lib/IR/Attributes.cpp (renamed from lib/VMCore/Attributes.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/AutoUpgrade.cpp (renamed from lib/VMCore/AutoUpgrade.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/BasicBlock.cpp (renamed from lib/VMCore/BasicBlock.cpp) | 2 | ||||
-rw-r--r-- | lib/IR/CMakeLists.txt (renamed from lib/VMCore/CMakeLists.txt) | 0 | ||||
-rw-r--r-- | lib/IR/ConstantFold.cpp (renamed from lib/VMCore/ConstantFold.cpp) | 2 | ||||
-rw-r--r-- | lib/IR/ConstantFold.h (renamed from lib/VMCore/ConstantFold.h) | 0 | ||||
-rw-r--r-- | lib/IR/Constants.cpp (renamed from lib/VMCore/Constants.cpp) | 2 | ||||
-rw-r--r-- | lib/IR/ConstantsContext.h (renamed from lib/VMCore/ConstantsContext.h) | 0 | ||||
-rw-r--r-- | lib/IR/Core.cpp (renamed from lib/VMCore/Core.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/DIBuilder.cpp (renamed from lib/VMCore/DIBuilder.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/DataLayout.cpp (renamed from lib/VMCore/DataLayout.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/DebugInfo.cpp (renamed from lib/VMCore/DebugInfo.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/DebugLoc.cpp (renamed from lib/VMCore/DebugLoc.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/Dominators.cpp (renamed from lib/VMCore/Dominators.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/Function.cpp (renamed from lib/VMCore/Function.cpp) | 2 | ||||
-rw-r--r-- | lib/IR/GCOV.cpp (renamed from lib/VMCore/GCOV.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/GVMaterializer.cpp (renamed from lib/VMCore/GVMaterializer.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/Globals.cpp (renamed from lib/VMCore/Globals.cpp) | 2 | ||||
-rw-r--r-- | lib/IR/IRBuilder.cpp (renamed from lib/VMCore/IRBuilder.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/InlineAsm.cpp (renamed from lib/VMCore/InlineAsm.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/Instruction.cpp (renamed from lib/VMCore/Instruction.cpp) | 2 | ||||
-rw-r--r-- | lib/IR/Instructions.cpp (renamed from lib/VMCore/Instructions.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/IntrinsicInst.cpp (renamed from lib/VMCore/IntrinsicInst.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/LLVMBuild.txt (renamed from lib/VMCore/LLVMBuild.txt) | 2 | ||||
-rw-r--r-- | lib/IR/LLVMContext.cpp (renamed from lib/VMCore/LLVMContext.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/LLVMContextImpl.cpp (renamed from lib/VMCore/LLVMContextImpl.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/LLVMContextImpl.h (renamed from lib/VMCore/LLVMContextImpl.h) | 0 | ||||
-rw-r--r-- | lib/IR/LeakDetector.cpp (renamed from lib/VMCore/LeakDetector.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/LeaksContext.h (renamed from lib/VMCore/LeaksContext.h) | 0 | ||||
-rw-r--r-- | lib/IR/Makefile (renamed from lib/VMCore/Makefile) | 2 | ||||
-rw-r--r-- | lib/IR/Metadata.cpp (renamed from lib/VMCore/Metadata.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/Module.cpp (renamed from lib/VMCore/Module.cpp) | 2 | ||||
-rw-r--r-- | lib/IR/Pass.cpp (renamed from lib/VMCore/Pass.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/PassManager.cpp (renamed from lib/VMCore/PassManager.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/PassRegistry.cpp (renamed from lib/VMCore/PassRegistry.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/PrintModulePass.cpp (renamed from lib/VMCore/PrintModulePass.cpp) | 2 | ||||
-rw-r--r-- | lib/IR/SymbolTableListTraitsImpl.h (renamed from lib/VMCore/SymbolTableListTraitsImpl.h) | 0 | ||||
-rw-r--r-- | lib/IR/TargetTransformInfo.cpp (renamed from lib/VMCore/TargetTransformInfo.cpp) | 2 | ||||
-rw-r--r-- | lib/IR/Type.cpp (renamed from lib/VMCore/Type.cpp) | 2 | ||||
-rw-r--r-- | lib/IR/TypeFinder.cpp (renamed from lib/VMCore/TypeFinder.cpp) | 2 | ||||
-rw-r--r-- | lib/IR/Use.cpp (renamed from lib/VMCore/Use.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/User.cpp (renamed from lib/VMCore/User.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/Value.cpp (renamed from lib/VMCore/Value.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/ValueSymbolTable.cpp (renamed from lib/VMCore/ValueSymbolTable.cpp) | 2 | ||||
-rw-r--r-- | lib/IR/ValueTypes.cpp (renamed from lib/VMCore/ValueTypes.cpp) | 0 | ||||
-rw-r--r-- | lib/IR/Verifier.cpp (renamed from lib/VMCore/Verifier.cpp) | 0 | ||||
-rw-r--r-- | lib/LLVMBuild.txt | 2 | ||||
-rw-r--r-- | lib/Makefile | 2 | ||||
-rwxr-xr-x | utils/GenLibDeps.pl | 2 | ||||
-rw-r--r-- | utils/llvm-build/llvmbuild/main.py | 4 |
54 files changed, 27 insertions, 27 deletions
diff --git a/lib/Analysis/ConstantFolding.cpp b/lib/Analysis/ConstantFolding.cpp index 657ada42741..96a521906fd 100644 --- a/lib/Analysis/ConstantFolding.cpp +++ b/lib/Analysis/ConstantFolding.cpp @@ -9,9 +9,9 @@ // // This file defines routines for folding instructions into constants. // -// Also, to supplement the basic VMCore ConstantExpr simplifications, +// Also, to supplement the basic IR ConstantExpr simplifications, // this file defines some additional folding routines that can make use of -// DataLayout information. These functions cannot go in VMCore due to library +// DataLayout information. These functions cannot go in IR due to library // dependency issues. // //===----------------------------------------------------------------------===// @@ -68,7 +68,7 @@ static Constant *FoldBitCast(Constant *C, Type *DestTy, unsigned FPWidth = SrcEltTy->getPrimitiveSizeInBits(); Type *SrcIVTy = VectorType::get(IntegerType::get(C->getContext(), FPWidth), NumSrcElts); - // Ask VMCore to do the conversion now that #elts line up. + // Ask IR to do the conversion now that #elts line up. C = ConstantExpr::getBitCast(C, SrcIVTy); CDV = cast<ConstantDataVector>(C); } @@ -104,7 +104,7 @@ static Constant *FoldBitCast(Constant *C, Type *DestTy, if (!isa<ConstantDataVector>(C) && !isa<ConstantVector>(C)) return ConstantExpr::getBitCast(C, DestTy); - // If the element types match, VMCore can fold it. + // If the element types match, IR can fold it. unsigned NumDstElt = DestVTy->getNumElements(); unsigned NumSrcElt = C->getType()->getVectorNumElements(); if (NumDstElt == NumSrcElt) @@ -131,7 +131,7 @@ static Constant *FoldBitCast(Constant *C, Type *DestTy, // Recursively handle this integer conversion, if possible. C = FoldBitCast(C, DestIVTy, TD); - // Finally, VMCore can handle this now that #elts line up. + // Finally, IR can handle this now that #elts line up. return ConstantExpr::getBitCast(C, DestTy); } @@ -141,9 +141,9 @@ static Constant *FoldBitCast(Constant *C, Type *DestTy, unsigned FPWidth = SrcEltTy->getPrimitiveSizeInBits(); Type *SrcIVTy = VectorType::get(IntegerType::get(C->getContext(), FPWidth), NumSrcElt); - // Ask VMCore to do the conversion now that #elts line up. + // Ask IR to do the conversion now that #elts line up. C = ConstantExpr::getBitCast(C, SrcIVTy); - // If VMCore wasn't able to fold it, bail out. + // If IR wasn't able to fold it, bail out. if (!isa<ConstantVector>(C) && // FIXME: Remove ConstantVector. !isa<ConstantDataVector>(C)) return C; diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index c65d496dbad..d1ea0273383 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -1,6 +1,6 @@ # `Support' and `TableGen' libraries are added on the top-level CMakeLists.txt -add_subdirectory(VMCore) +add_subdirectory(IR) add_subdirectory(CodeGen) add_subdirectory(Bitcode) add_subdirectory(Transforms) diff --git a/lib/VMCore/AsmWriter.cpp b/lib/IR/AsmWriter.cpp index 7e80322cc63..7e80322cc63 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/IR/AsmWriter.cpp diff --git a/lib/VMCore/AttributeImpl.h b/lib/IR/AttributeImpl.h index 2726e0edf64..2726e0edf64 100644 --- a/lib/VMCore/AttributeImpl.h +++ b/lib/IR/AttributeImpl.h diff --git a/lib/VMCore/Attributes.cpp b/lib/IR/Attributes.cpp index f17a9b70f7b..f17a9b70f7b 100644 --- a/lib/VMCore/Attributes.cpp +++ b/lib/IR/Attributes.cpp diff --git a/lib/VMCore/AutoUpgrade.cpp b/lib/IR/AutoUpgrade.cpp index 5fff460e8bc..5fff460e8bc 100644 --- a/lib/VMCore/AutoUpgrade.cpp +++ b/lib/IR/AutoUpgrade.cpp diff --git a/lib/VMCore/BasicBlock.cpp b/lib/IR/BasicBlock.cpp index f23a49696e4..db20b08d8e4 100644 --- a/lib/VMCore/BasicBlock.cpp +++ b/lib/IR/BasicBlock.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// // -// This file implements the BasicBlock class for the VMCore library. +// This file implements the BasicBlock class for the IR library. // //===----------------------------------------------------------------------===// diff --git a/lib/VMCore/CMakeLists.txt b/lib/IR/CMakeLists.txt index 06eab0e8f02..06eab0e8f02 100644 --- a/lib/VMCore/CMakeLists.txt +++ b/lib/IR/CMakeLists.txt diff --git a/lib/VMCore/ConstantFold.cpp b/lib/IR/ConstantFold.cpp index dedae5a83f3..91dc83f232e 100644 --- a/lib/VMCore/ConstantFold.cpp +++ b/lib/IR/ConstantFold.cpp @@ -13,7 +13,7 @@ // // The current constant folding implementation is implemented in two pieces: the // pieces that don't need DataLayout, and the pieces that do. This is to avoid -// a dependence in VMCore on Target. +// a dependence in IR on Target. // //===----------------------------------------------------------------------===// diff --git a/lib/VMCore/ConstantFold.h b/lib/IR/ConstantFold.h index e12f27a7cb1..e12f27a7cb1 100644 --- a/lib/VMCore/ConstantFold.h +++ b/lib/IR/ConstantFold.h diff --git a/lib/VMCore/Constants.cpp b/lib/IR/Constants.cpp index 008378a2415..a97b6207682 100644 --- a/lib/VMCore/Constants.cpp +++ b/lib/IR/Constants.cpp @@ -301,7 +301,7 @@ bool Constant::isConstantUsed() const { /// linker will never see them. /// GlobalRelocations: This entry may have arbitrary relocations. /// -/// FIXME: This really should not be in VMCore. +/// FIXME: This really should not be in IR. Constant::PossibleRelocationsTy Constant::getRelocationInfo() const { if (const GlobalValue *GV = dyn_cast<GlobalValue>(this)) { if (GV->hasLocalLinkage() || GV->hasHiddenVisibility()) diff --git a/lib/VMCore/ConstantsContext.h b/lib/IR/ConstantsContext.h index 996eb12d69e..996eb12d69e 100644 --- a/lib/VMCore/ConstantsContext.h +++ b/lib/IR/ConstantsContext.h diff --git a/lib/VMCore/Core.cpp b/lib/IR/Core.cpp index a1e9cf3f359..a1e9cf3f359 100644 --- a/lib/VMCore/Core.cpp +++ b/lib/IR/Core.cpp diff --git a/lib/VMCore/DIBuilder.cpp b/lib/IR/DIBuilder.cpp index b3bbde86c54..b3bbde86c54 100644 --- a/lib/VMCore/DIBuilder.cpp +++ b/lib/IR/DIBuilder.cpp diff --git a/lib/VMCore/DataLayout.cpp b/lib/IR/DataLayout.cpp index 6cf51f5a4dd..6cf51f5a4dd 100644 --- a/lib/VMCore/DataLayout.cpp +++ b/lib/IR/DataLayout.cpp diff --git a/lib/VMCore/DebugInfo.cpp b/lib/IR/DebugInfo.cpp index 07508c879e2..07508c879e2 100644 --- a/lib/VMCore/DebugInfo.cpp +++ b/lib/IR/DebugInfo.cpp diff --git a/lib/VMCore/DebugLoc.cpp b/lib/IR/DebugLoc.cpp index c57b5a30530..c57b5a30530 100644 --- a/lib/VMCore/DebugLoc.cpp +++ b/lib/IR/DebugLoc.cpp diff --git a/lib/VMCore/Dominators.cpp b/lib/IR/Dominators.cpp index 3fe840f67c1..3fe840f67c1 100644 --- a/lib/VMCore/Dominators.cpp +++ b/lib/IR/Dominators.cpp diff --git a/lib/VMCore/Function.cpp b/lib/IR/Function.cpp index 3cae4d4837c..5145129093b 100644 --- a/lib/VMCore/Function.cpp +++ b/lib/IR/Function.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// // -// This file implements the Function class for the VMCore library. +// This file implements the Function class for the IR library. // //===----------------------------------------------------------------------===// diff --git a/lib/VMCore/GCOV.cpp b/lib/IR/GCOV.cpp index ea2f0a6d556..ea2f0a6d556 100644 --- a/lib/VMCore/GCOV.cpp +++ b/lib/IR/GCOV.cpp diff --git a/lib/VMCore/GVMaterializer.cpp b/lib/IR/GVMaterializer.cpp index f77a9c908d5..f77a9c908d5 100644 --- a/lib/VMCore/GVMaterializer.cpp +++ b/lib/IR/GVMaterializer.cpp diff --git a/lib/VMCore/Globals.cpp b/lib/IR/Globals.cpp index 3fa440636ba..f21cdcce231 100644 --- a/lib/VMCore/Globals.cpp +++ b/lib/IR/Globals.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// // -// This file implements the GlobalValue & GlobalVariable classes for the VMCore +// This file implements the GlobalValue & GlobalVariable classes for the IR // library. // //===----------------------------------------------------------------------===// diff --git a/lib/VMCore/IRBuilder.cpp b/lib/IR/IRBuilder.cpp index 04f08fe28e0..04f08fe28e0 100644 --- a/lib/VMCore/IRBuilder.cpp +++ b/lib/IR/IRBuilder.cpp diff --git a/lib/VMCore/InlineAsm.cpp b/lib/IR/InlineAsm.cpp index 2e636aacfde..2e636aacfde 100644 --- a/lib/VMCore/InlineAsm.cpp +++ b/lib/IR/InlineAsm.cpp diff --git a/lib/VMCore/Instruction.cpp b/lib/IR/Instruction.cpp index 81ee4cee9ab..4be432f6f28 100644 --- a/lib/VMCore/Instruction.cpp +++ b/lib/IR/Instruction.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// // -// This file implements the Instruction class for the VMCore library. +// This file implements the Instruction class for the IR library. // //===----------------------------------------------------------------------===// diff --git a/lib/VMCore/Instructions.cpp b/lib/IR/Instructions.cpp index dffd13c0ee4..dffd13c0ee4 100644 --- a/lib/VMCore/Instructions.cpp +++ b/lib/IR/Instructions.cpp diff --git a/lib/VMCore/IntrinsicInst.cpp b/lib/IR/IntrinsicInst.cpp index ac8ec2086b1..ac8ec2086b1 100644 --- a/lib/VMCore/IntrinsicInst.cpp +++ b/lib/IR/IntrinsicInst.cpp diff --git a/lib/VMCore/LLVMBuild.txt b/lib/IR/LLVMBuild.txt index bca8b2c97e9..cd90ef5b16b 100644 --- a/lib/VMCore/LLVMBuild.txt +++ b/lib/IR/LLVMBuild.txt @@ -1,4 +1,4 @@ -;===- ./lib/VMCore/LLVMBuild.txt -------------------------------*- Conf -*--===; +;===- ./lib/IR/LLVMBuild.txt -----------------------------------*- Conf -*--===; ; ; The LLVM Compiler Infrastructure ; diff --git a/lib/VMCore/LLVMContext.cpp b/lib/IR/LLVMContext.cpp index fc6392ba78c..fc6392ba78c 100644 --- a/lib/VMCore/LLVMContext.cpp +++ b/lib/IR/LLVMContext.cpp diff --git a/lib/VMCore/LLVMContextImpl.cpp b/lib/IR/LLVMContextImpl.cpp index 61fb7f37d49..61fb7f37d49 100644 --- a/lib/VMCore/LLVMContextImpl.cpp +++ b/lib/IR/LLVMContextImpl.cpp diff --git a/lib/VMCore/LLVMContextImpl.h b/lib/IR/LLVMContextImpl.h index c3adf39fc7e..c3adf39fc7e 100644 --- a/lib/VMCore/LLVMContextImpl.h +++ b/lib/IR/LLVMContextImpl.h diff --git a/lib/VMCore/LeakDetector.cpp b/lib/IR/LeakDetector.cpp index 7ffc0491b67..7ffc0491b67 100644 --- a/lib/VMCore/LeakDetector.cpp +++ b/lib/IR/LeakDetector.cpp diff --git a/lib/VMCore/LeaksContext.h b/lib/IR/LeaksContext.h index faf3e952c85..faf3e952c85 100644 --- a/lib/VMCore/LeaksContext.h +++ b/lib/IR/LeaksContext.h diff --git a/lib/VMCore/Makefile b/lib/IR/Makefile index 8b9865152e2..7b8ef420d8d 100644 --- a/lib/VMCore/Makefile +++ b/lib/IR/Makefile @@ -1,4 +1,4 @@ -##===- lib/VMCore/Makefile ---------------------------------*- Makefile -*-===## +##===- lib/IR/Makefile -------------------------------------*- Makefile -*-===## # # The LLVM Compiler Infrastructure # diff --git a/lib/VMCore/Metadata.cpp b/lib/IR/Metadata.cpp index 91fa1a5931c..91fa1a5931c 100644 --- a/lib/VMCore/Metadata.cpp +++ b/lib/IR/Metadata.cpp diff --git a/lib/VMCore/Module.cpp b/lib/IR/Module.cpp index 78f4eb82dcf..ee4dc62f9d1 100644 --- a/lib/VMCore/Module.cpp +++ b/lib/IR/Module.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// // -// This file implements the Module class for the VMCore library. +// This file implements the Module class for the IR library. // //===----------------------------------------------------------------------===// diff --git a/lib/VMCore/Pass.cpp b/lib/IR/Pass.cpp index ec448e6420d..ec448e6420d 100644 --- a/lib/VMCore/Pass.cpp +++ b/lib/IR/Pass.cpp diff --git a/lib/VMCore/PassManager.cpp b/lib/IR/PassManager.cpp index 712b877501c..712b877501c 100644 --- a/lib/VMCore/PassManager.cpp +++ b/lib/IR/PassManager.cpp diff --git a/lib/VMCore/PassRegistry.cpp b/lib/IR/PassRegistry.cpp index 5d2287927ca..5d2287927ca 100644 --- a/lib/VMCore/PassRegistry.cpp +++ b/lib/IR/PassRegistry.cpp diff --git a/lib/VMCore/PrintModulePass.cpp b/lib/IR/PrintModulePass.cpp index 34b2918c3da..422aa0917cd 100644 --- a/lib/VMCore/PrintModulePass.cpp +++ b/lib/IR/PrintModulePass.cpp @@ -1,4 +1,4 @@ -//===--- VMCore/PrintModulePass.cpp - Module/Function Printer -------------===// +//===--- IR/PrintModulePass.cpp - Module/Function Printer -----------------===// // // The LLVM Compiler Infrastructure // diff --git a/lib/VMCore/SymbolTableListTraitsImpl.h b/lib/IR/SymbolTableListTraitsImpl.h index 72687bb5e0b..72687bb5e0b 100644 --- a/lib/VMCore/SymbolTableListTraitsImpl.h +++ b/lib/IR/SymbolTableListTraitsImpl.h diff --git a/lib/VMCore/TargetTransformInfo.cpp b/lib/IR/TargetTransformInfo.cpp index e91c29c4569..209e1dba8f2 100644 --- a/lib/VMCore/TargetTransformInfo.cpp +++ b/lib/IR/TargetTransformInfo.cpp @@ -1,4 +1,4 @@ -//===- llvm/VMCore/TargetTransformInfo.cpp ----------------------*- C++ -*-===// +//===- llvm/IR/TargetTransformInfo.cpp --------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/VMCore/Type.cpp b/lib/IR/Type.cpp index 3c3058288ce..f76eb9eb838 100644 --- a/lib/VMCore/Type.cpp +++ b/lib/IR/Type.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// // -// This file implements the Type class for the VMCore library. +// This file implements the Type class for the IR library. // //===----------------------------------------------------------------------===// diff --git a/lib/VMCore/TypeFinder.cpp b/lib/IR/TypeFinder.cpp index 56db645ebc8..5002774cf79 100644 --- a/lib/VMCore/TypeFinder.cpp +++ b/lib/IR/TypeFinder.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// // -// This file implements the TypeFinder class for the VMCore library. +// This file implements the TypeFinder class for the IR library. // //===----------------------------------------------------------------------===// diff --git a/lib/VMCore/Use.cpp b/lib/IR/Use.cpp index 0128adc3f77..0128adc3f77 100644 --- a/lib/VMCore/Use.cpp +++ b/lib/IR/Use.cpp diff --git a/lib/VMCore/User.cpp b/lib/IR/User.cpp index 05b10b53296..05b10b53296 100644 --- a/lib/VMCore/User.cpp +++ b/lib/IR/User.cpp diff --git a/lib/VMCore/Value.cpp b/lib/IR/Value.cpp index 04ae4415138..04ae4415138 100644 --- a/lib/VMCore/Value.cpp +++ b/lib/IR/Value.cpp diff --git a/lib/VMCore/ValueSymbolTable.cpp b/lib/IR/ValueSymbolTable.cpp index 8707daac30c..ea203bcc79c 100644 --- a/lib/VMCore/ValueSymbolTable.cpp +++ b/lib/IR/ValueSymbolTable.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// // -// This file implements the ValueSymbolTable class for the VMCore library. +// This file implements the ValueSymbolTable class for the IR library. // //===----------------------------------------------------------------------===// diff --git a/lib/VMCore/ValueTypes.cpp b/lib/IR/ValueTypes.cpp index 72d248c7c9e..72d248c7c9e 100644 --- a/lib/VMCore/ValueTypes.cpp +++ b/lib/IR/ValueTypes.cpp diff --git a/lib/VMCore/Verifier.cpp b/lib/IR/Verifier.cpp index aec44355fa5..aec44355fa5 100644 --- a/lib/VMCore/Verifier.cpp +++ b/lib/IR/Verifier.cpp diff --git a/lib/LLVMBuild.txt b/lib/LLVMBuild.txt index e466d82b396..a31793c5fd0 100644 --- a/lib/LLVMBuild.txt +++ b/lib/LLVMBuild.txt @@ -16,7 +16,7 @@ ;===------------------------------------------------------------------------===; [common] -subdirectories = Analysis Archive AsmParser Bitcode CodeGen DebugInfo ExecutionEngine Linker MC Object Option Support TableGen Target Transforms VMCore +subdirectories = Analysis Archive AsmParser Bitcode CodeGen DebugInfo ExecutionEngine Linker IR MC Object Option Support TableGen Target Transforms [component_0] type = Group diff --git a/lib/Makefile b/lib/Makefile index e3b03dabe4a..043eda6b99b 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -10,7 +10,7 @@ LEVEL = .. include $(LEVEL)/Makefile.config -PARALLEL_DIRS := VMCore AsmParser Bitcode Archive Analysis Transforms CodeGen \ +PARALLEL_DIRS := IR AsmParser Bitcode Archive Analysis Transforms CodeGen \ Target ExecutionEngine Linker MC Object Option DebugInfo include $(LEVEL)/Makefile.common diff --git a/utils/GenLibDeps.pl b/utils/GenLibDeps.pl index 656250c7e3d..7748cabdab5 100755 --- a/utils/GenLibDeps.pl +++ b/utils/GenLibDeps.pl @@ -98,7 +98,7 @@ if ($PEROBJ) { $libpath =~ s/^BitWriter/Bitcode\/Writer/; $libpath =~ s/^CppBackend/Target\/CppBackend/; $libpath =~ s/^MSIL/Target\/MSIL/; - $libpath =~ s/^Core/VMCore/; + $libpath =~ s/^Core/IR/; $libpath =~ s/^Instrumentation/Transforms\/Instrumentation/; $libpath =~ s/^Interpreter/ExecutionEngine\/Interpreter/; $libpath =~ s/^JIT/ExecutionEngine\/JIT/; diff --git a/utils/llvm-build/llvmbuild/main.py b/utils/llvm-build/llvmbuild/main.py index 32d5395a509..87e8819bdec 100644 --- a/utils/llvm-build/llvmbuild/main.py +++ b/utils/llvm-build/llvmbuild/main.py @@ -809,7 +809,7 @@ given by --build-root) at the same SUBPATH""", # Determine the LLVM source path, if not given. source_root = opts.source_root if source_root: - if not os.path.exists(os.path.join(source_root, 'lib', 'VMCore', + if not os.path.exists(os.path.join(source_root, 'lib', 'IR', 'Function.cpp')): parser.error('invalid LLVM source root: %r' % source_root) else: @@ -817,7 +817,7 @@ given by --build-root) at the same SUBPATH""", llvm_build_path = os.path.dirname(llvmbuild_path) utils_path = os.path.dirname(llvm_build_path) source_root = os.path.dirname(utils_path) - if not os.path.exists(os.path.join(source_root, 'lib', 'VMCore', + if not os.path.exists(os.path.join(source_root, 'lib', 'IR', 'Function.cpp')): parser.error('unable to infer LLVM source root, please specify') |