summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/InstCount.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-26 01:20:59 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-26 01:20:59 +0000
commit5aa8560eab54449ec7547e70656ef7f221aa53a5 (patch)
tree35d36d9cad233211f8e8fa3915be914517cafb1d /llvm/lib/Analysis/InstCount.cpp
parent44eef169fa76073a4ef355423af0d6af3fc0f665 (diff)
downloadbcm5719-llvm-5aa8560eab54449ec7547e70656ef7f221aa53a5.tar.gz
bcm5719-llvm-5aa8560eab54449ec7547e70656ef7f221aa53a5.zip
Add an isNegative method to determine if the APInt's value is negative.
This is much less expensive than a test against zero. llvm-svn: 34619
Diffstat (limited to 'llvm/lib/Analysis/InstCount.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud