[Modules] Move the ConstantRange class into the IR library. This is
authorChandler Carruth <chandlerc@gmail.com>
Tue, 4 Mar 2014 12:24:34 +0000 (12:24 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 4 Mar 2014 12:24:34 +0000 (12:24 +0000)
commit19d764fb05662ff6b423cf6dc97d300276e4b586
tree3119e07b78ef48088fed16852084e7f3fda00fda
parenta2e32657c92fefc600a7e5a4a7469ba00584c601
[Modules] Move the ConstantRange class into the IR library. This is
a bit surprising, as the class is almost entirely abstracted away from
any particular IR, however it encodes the comparsion predicates which
mutate ranges as ICmp predicate codes. This is reasonable as they're
used for both instructions and constants. Thus, it belongs in the IR
library with instructions and constants.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202838 91177308-0d34-0410-b5e6-96231b3b80d8
21 files changed:
include/llvm/Analysis/ScalarEvolution.h
include/llvm/IR/ConstantRange.h [new file with mode: 0644]
include/llvm/Support/ConstantRange.h [deleted file]
lib/Analysis/InstructionSimplify.cpp
lib/Analysis/LazyValueInfo.cpp
lib/Analysis/ScalarEvolution.cpp
lib/Analysis/ValueTracking.cpp
lib/IR/CMakeLists.txt
lib/IR/ConstantRange.cpp [new file with mode: 0644]
lib/IR/Instructions.cpp
lib/IR/Metadata.cpp
lib/IR/Verifier.cpp
lib/Support/CMakeLists.txt
lib/Support/ConstantRange.cpp [deleted file]
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
lib/Transforms/InstCombine/InstCombineCompares.cpp
lib/Transforms/Utils/SimplifyCFG.cpp
unittests/IR/CMakeLists.txt
unittests/IR/ConstantRangeTest.cpp [new file with mode: 0644]
unittests/Support/CMakeLists.txt
unittests/Support/ConstantRangeTest.cpp [deleted file]