[Modules] Move ValueHandle into the IR library where Value itself lives.
authorChandler Carruth <chandlerc@gmail.com>
Tue, 4 Mar 2014 11:17:44 +0000 (11:17 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 4 Mar 2014 11:17:44 +0000 (11:17 +0000)
commiteb3d76da81e2148ed7c577594c873ba147f4f435
treebcfe1da7d3cafd8e4fba57297cd7360fafc72e95
parentdf3d8e8b4dabcf0437a78a001f91208d264c2387
[Modules] Move ValueHandle into the IR library where Value itself lives.

Move the test for this class into the IR unittests as well.

This uncovers that ValueMap too is in the IR library. Ironically, the
unittest for ValueMap is useless in the Support library (honestly, so
was the ValueHandle test) and so it already lives in the IR unittests.
Mmmm, tasty layering.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202821 91177308-0d34-0410-b5e6-96231b3b80d8
52 files changed:
include/llvm/ADT/ValueMap.h
include/llvm/Analysis/AliasSetTracker.h
include/llvm/Analysis/CallGraph.h
include/llvm/Analysis/IVUsers.h
include/llvm/Analysis/MemoryBuiltins.h
include/llvm/Analysis/MemoryDependenceAnalysis.h
include/llvm/Analysis/ScalarEvolution.h
include/llvm/Analysis/ScalarEvolutionExpander.h
include/llvm/CodeGen/LexicalScopes.h
include/llvm/CodeGen/MachineModuleInfo.h
include/llvm/DIBuilder.h
include/llvm/ExecutionEngine/ExecutionEngine.h
include/llvm/IR/IRBuilder.h
include/llvm/IR/Value.h
include/llvm/IR/ValueHandle.h [new file with mode: 0644]
include/llvm/Support/ValueHandle.h [deleted file]
include/llvm/Transforms/Utils/Cloning.h
include/llvm/Transforms/Utils/SSAUpdaterImpl.h
include/llvm/Transforms/Utils/SimplifyIndVar.h
lib/Analysis/InstructionSimplify.cpp
lib/Analysis/LazyValueInfo.cpp
lib/AsmParser/LLParser.h
lib/Bitcode/Reader/BitcodeReader.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/CodeGenPrepare.cpp
lib/ExecutionEngine/EventListenerCommon.h
lib/ExecutionEngine/ExecutionEngine.cpp
lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp
lib/ExecutionEngine/JIT/JIT.h
lib/ExecutionEngine/JIT/JITEmitter.cpp
lib/IR/DebugInfo.cpp
lib/IR/LLVMContextImpl.h
lib/IR/Metadata.cpp
lib/IR/Value.cpp
lib/Target/PowerPC/PPCCTRLoops.cpp
lib/Target/XCore/XCoreLowerThreadLocal.cpp
lib/Transforms/IPO/GlobalOpt.cpp
lib/Transforms/IPO/MergeFunctions.cpp
lib/Transforms/InstCombine/InstructionCombining.cpp
lib/Transforms/Scalar/JumpThreading.cpp
lib/Transforms/Scalar/LoopStrengthReduce.cpp
lib/Transforms/Scalar/Reassociate.cpp
lib/Transforms/Scalar/TailRecursionElimination.cpp
lib/Transforms/Utils/BasicBlockUtils.cpp
lib/Transforms/Utils/Local.cpp
lib/Transforms/Vectorize/BBVectorize.cpp
lib/Transforms/Vectorize/LoopVectorize.cpp
unittests/IR/CMakeLists.txt
unittests/IR/MetadataTest.cpp
unittests/IR/ValueHandleTest.cpp [new file with mode: 0644]
unittests/Support/CMakeLists.txt
unittests/Support/ValueHandleTest.cpp [deleted file]