summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/InstCount.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-26 07:44:38 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-26 07:44:38 +0000
commitaa8dcfe441d4292ac4e10e6828a5bc6664030988 (patch)
treeb450b0f602f89979cccdc33538d27f23541a2fab /llvm/lib/Analysis/InstCount.cpp
parentd41bff0f97ffb5b7da2806370f6552c951c118c6 (diff)
downloadbcm5719-llvm-aa8dcfe441d4292ac4e10e6828a5bc6664030988.tar.gz
bcm5719-llvm-aa8dcfe441d4292ac4e10e6828a5bc6664030988.zip
1. Remove redundant calls to clearUsedBits().
2. Fix countTrailingZeros to use a faster algorithm. 3. Simplify sext() slightly by using isNegative(). 4. Implement ashr using word-at-a-time logic instead of bit-at-a-time 5. Rename locals named isNegative so they don't clash with method name. 6. Fix fromString to compute negated value correctly. llvm-svn: 34629
Diffstat (limited to 'llvm/lib/Analysis/InstCount.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud