Add an isOne() utility function to ScalarEvolution, similar to isZero()
authorDan Gohman <gohman@apple.com>
Mon, 18 May 2009 15:22:39 +0000 (15:22 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 18 May 2009 15:22:39 +0000 (15:22 +0000)
commit70a1fe704831f9b842be0b2a2af5f7082b0e540c
tree50ab317a552eeee19906877fbd6fce9b58bdb31b
parent04623272d29aa15b913f53748516b206d60c0f29
Add an isOne() utility function to ScalarEvolution, similar to isZero()
and similar to ConstantInt's isOne().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72003 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ScalarEvolution.h
lib/Analysis/ScalarEvolution.cpp