Generalize ScalarEvolution's cast-folding code to support more kinds
authorDan Gohman <gohman@apple.com>
Fri, 10 Jul 2009 16:42:52 +0000 (16:42 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 10 Jul 2009 16:42:52 +0000 (16:42 +0000)
commit1b342583f6fc42f548912632f6aa24fc6e11986a
tree9eb60b46c5918990509c32d8147f954ca535bd8e
parent16a412edb6d279bb5fbffba3ff1a6c914e478aaf
Generalize ScalarEvolution's cast-folding code to support more kinds
of loops. Add several new functions to for working with ScalarEvolution's
add-hoc value-range analysis functionality.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75252 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ScalarEvolution.h
include/llvm/Analysis/ScalarEvolutionExpressions.h
lib/Analysis/ScalarEvolution.cpp
test/Transforms/IndVarSimplify/iv-sext.ll [new file with mode: 0644]