Factor out a common base class between SCEVCommutativeExpr and
authorDan Gohman <gohman@apple.com>
Thu, 7 May 2009 14:00:19 +0000 (14:00 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 7 May 2009 14:00:19 +0000 (14:00 +0000)
commitecb403a9d3a340009c266d05cfca2bd778c7b156
tree013ecc3445cd680e723d4b3d5a0e7a27998c54df
parentcd76240f3d0f6c5f8c80e4762a8fe3a4de22e059
Factor out a common base class between SCEVCommutativeExpr and
SCEVAddRecExpr. This eliminates redundant code for visiting
all the operands of an expression.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71157 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ScalarEvolutionExpressions.h
lib/Analysis/ScalarEvolution.cpp