commit | 19dc32a2d422ac0aafd047514e3e5e727796696e | [log] [tgz] |
---|---|---|
author | Reid Spencer <rspencer@reidspencer.com> | Sun May 13 23:44:59 2007 +0000 |
committer | Reid Spencer <rspencer@reidspencer.com> | Sun May 13 23:44:59 2007 +0000 |
tree | 5fc3fd6136231d28fda221c83f4abe84faeeebd1 | |
parent | 9273418777fb0c25da9067d6eec57402a504e94e [diff] |
Add some things needed by the llvm-gcc version supporting bit accurate integer types: 1. Functions to compute div/rem at the same time. 2. Further assurance that an APInt with 0 bitwidth cannot be constructed. 3. Left and right rotate operations. 4. An exactLogBase2 function which requires an exact power of two or it returns -1. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37025 91177308-0d34-0410-b5e6-96231b3b80d8