commit | 1cf9f8137160e4dca68dff0310f0292d1ec75e8e | [log] [tgz] |
---|---|---|
author | Sanjoy Das <sanjoy@playingwithpointers.com> | Tue Oct 13 02:53:27 2015 +0000 |
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | Tue Oct 13 02:53:27 2015 +0000 |
tree | 80cefbfa13ba6e073267a11e86f447fad20640fb | |
parent | 5270f8871afccf775ccd118ad630ae63b5280312 [diff] |
[SCEV] Put some utilites in the ScalarEvolution class In a later commit, `SplitBinaryAdd` will be used outside `IsConstDiff`, so lift that out. And lift out `IsConstDiff` as `computeConstantDifference` to keep things clean and to avoid playing C++ access specifier games. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250143 91177308-0d34-0410-b5e6-96231b3b80d8