diff options
author | Dan Gohman <gohman@apple.com> | 2010-02-24 17:31:30 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-02-24 17:31:30 +0000 |
commit | f6d009fb6fc19d9f7ee7cdc528bf8e83a758facc (patch) | |
tree | eb5df58a4bf7ef56a004258016ec704ea34c55d9 /include | |
parent | cfe30effbb952ae5b49a01de8329e3a2c14bad75 (diff) | |
download | llvm-f6d009fb6fc19d9f7ee7cdc528bf8e83a758facc.tar.gz llvm-f6d009fb6fc19d9f7ee7cdc528bf8e83a758facc.tar.bz2 llvm-f6d009fb6fc19d9f7ee7cdc528bf8e83a758facc.tar.xz |
Convert a few more backedge-taken count functions to use BackedgeTakenInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97042 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/ScalarEvolution.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h index af5d10e6b7..0faa6f04c1 100644 --- a/include/llvm/Analysis/ScalarEvolution.h +++ b/include/llvm/Analysis/ScalarEvolution.h @@ -305,7 +305,7 @@ namespace llvm { /// ComputeLoadConstantCompareBackedgeTakenCount - Given an exit condition /// of 'icmp op load X, cst', try to see if we can compute the /// backedge-taken count. - const SCEV * + BackedgeTakenInfo ComputeLoadConstantCompareBackedgeTakenCount(LoadInst *LI, Constant *RHS, const Loop *L, @@ -323,12 +323,12 @@ namespace llvm { /// HowFarToZero - Return the number of times a backedge comparing the /// specified value to zero will execute. If not computable, return /// CouldNotCompute. - const SCEV *HowFarToZero(const SCEV *V, const Loop *L); + BackedgeTakenInfo HowFarToZero(const SCEV *V, const Loop *L); /// HowFarToNonZero - Return the number of times a backedge checking the /// specified value for nonzero will execute. If not computable, return /// CouldNotCompute. - const SCEV *HowFarToNonZero(const SCEV *V, const Loop *L); + BackedgeTakenInfo HowFarToNonZero(const SCEV *V, const Loop *L); /// HowManyLessThans - Return the number of times a backedge containing the /// specified less-than comparison will execute. If not computable, return |