[Modules] Move ValueMap to the IR library. While this class does not
authorChandler Carruth <chandlerc@gmail.com>
Tue, 4 Mar 2014 11:26:31 +0000 (11:26 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 4 Mar 2014 11:26:31 +0000 (11:26 +0000)
commit7225e27b4cd9a3e33478264caac765bf31e3179a
tree087e98a3085ed9bb67bae98548d7fd4b939d2a44
parenteb3d76da81e2148ed7c577594c873ba147f4f435
[Modules] Move ValueMap to the IR library. While this class does not
directly care about the Value class (it is templated so that the key can
be any arbitrary Value subclass), it is in fact concretely tied to the
Value class through the ValueHandle's CallbackVH interface which relies
on the key type being some Value subclass to establish the value handle
chain.

Ironically, the unittest is already in the right library.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202824 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
docs/ProgrammersManual.rst
include/llvm/ADT/ValueMap.h [deleted file]
include/llvm/CodeGen/StackProtector.h
include/llvm/ExecutionEngine/ExecutionEngine.h
include/llvm/IR/ValueMap.h [new file with mode: 0644]
include/llvm/Transforms/Utils/Cloning.h
include/llvm/Transforms/Utils/ValueMapper.h
lib/CodeGen/CodeGenPrepare.cpp
lib/ExecutionEngine/JIT/JITEmitter.cpp
lib/Target/Mips/MipsMachineFunction.h
lib/Target/NVPTX/NVPTXGenericToNVVM.cpp
lib/Target/R600/AMDGPUISelDAGToDAG.cpp
lib/Transforms/Instrumentation/DebugIR.cpp
lib/Transforms/Instrumentation/MemorySanitizer.cpp
tools/bugpoint/BugDriver.h
unittests/IR/ValueMapTest.cpp