mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 06:25:18 +00:00
Make the SCEV* form of getSCEVAtScope public, to allow ScalarEvolution
clients to use it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71258 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -345,11 +345,6 @@ namespace llvm {
|
||||
Constant *getConstantEvolutionLoopExitValue(PHINode *PN, const APInt& BEs,
|
||||
const Loop *L);
|
||||
|
||||
/// getSCEVAtScope - Compute the value of the specified expression within
|
||||
/// the indicated loop (which may be null to indicate in no loop). If the
|
||||
/// expression cannot be evaluated, return UnknownValue itself.
|
||||
SCEVHandle getSCEVAtScope(const SCEV *S, const Loop *L);
|
||||
|
||||
/// forgetLoopPHIs - Delete the memoized SCEVs associated with the
|
||||
/// PHI nodes in the given loop. This is used when the trip count of
|
||||
/// the loop may have changed.
|
||||
@@ -468,6 +463,10 @@ namespace llvm {
|
||||
///
|
||||
/// If this value is not computable at this scope, a SCEVCouldNotCompute
|
||||
/// object is returned.
|
||||
SCEVHandle getSCEVAtScope(const SCEV *S, const Loop *L);
|
||||
|
||||
/// getSCEVAtScope - This is a convenience function which does
|
||||
/// getSCEVAtScope(getSCEV(V), L).
|
||||
SCEVHandle getSCEVAtScope(Value *V, const Loop *L);
|
||||
|
||||
/// isLoopGuardedByCond - Test whether entry to the loop is protected by
|
||||
|
Reference in New Issue
Block a user