From f8fd841a4bb7a59f81cf4642169e8251e039acfe Mon Sep 17 00:00:00 2001 From: Andrew Trick Date: Sat, 7 Jan 2012 00:27:31 +0000 Subject: Expose isNonConstantNegative to users of ScalarEvolution. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147700 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/ScalarEvolution.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/llvm/Analysis/ScalarEvolution.h') diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h index 8661787fb9..dd3c80860e 100644 --- a/include/llvm/Analysis/ScalarEvolution.h +++ b/include/llvm/Analysis/ScalarEvolution.h @@ -119,6 +119,10 @@ namespace llvm { /// bool isAllOnesValue() const; + /// isNonConstantNegative - Return true if the specified scev is negated, + /// but not a constant. + bool isNonConstantNegative() const; + /// print - Print out the internal representation of this scalar to the /// specified stream. This should really only be used for debugging /// purposes. -- cgit v1.2.3