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 | fdecbd5811a0905bcb382d6376a25f7554e7c12a (patch) | |
| tree | eb5df58a4bf7ef56a004258016ec704ea34c55d9 /include/llvm/Analysis/ScalarEvolution.h | |
| parent | a77358b755e6629917d2a12ed97065a6952b397e (diff) | |
| download | external_llvm-fdecbd5811a0905bcb382d6376a25f7554e7c12a.zip external_llvm-fdecbd5811a0905bcb382d6376a25f7554e7c12a.tar.gz external_llvm-fdecbd5811a0905bcb382d6376a25f7554e7c12a.tar.bz2 | |
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/llvm/Analysis/ScalarEvolution.h')
| -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 af5d10e..0faa6f0 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 |
