summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenTarget.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-27 21:59:26 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-27 21:59:26 +0000
commit31acef50ad109d755109bc72a82b14a6aa318f65 (patch)
treebdbd20f395f401ba49c901ec8ce88bd155c87601 /llvm/utils/TableGen/CodeGenTarget.cpp
parent6f0969ecb9f662ba7da62a809639b4dc3e11af5a (diff)
downloadbcm5719-llvm-31acef50ad109d755109bc72a82b14a6aa318f65.tar.gz
bcm5719-llvm-31acef50ad109d755109bc72a82b14a6aa318f65.zip
Implement countLeadingOnes() and getMinSignedBits(). This helps to minimize
the bit width of negative numbers by computing the minimum bit width for a negative value. E.g. 0x1800000000000000 could be just 0x8000000000000000 llvm-svn: 34695
Diffstat (limited to 'llvm/utils/TableGen/CodeGenTarget.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud