commit | f2253449e24712e96f7bdb7b54c20ddca8d6bb51 | [log] [tgz] |
---|---|---|
author | Reid Spencer <rspencer@reidspencer.com> | Wed Feb 28 17:33:36 2007 +0000 |
committer | Reid Spencer <rspencer@reidspencer.com> | Wed Feb 28 17:33:36 2007 +0000 |
tree | 64e38eaf5e14ccbc5a7666f176b97cd051fc351d | |
parent | a0a6278c7cf6dc7338e38d36e6ab4a96b688e46e [diff] |
Make APInt a little more friendly to its users: * Add support for + and - of a uint64_t. * Make trunc/sext/zext return *this so it can be chained with other ops * Add smin, smax, umin, umax functions for getting min/max values. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34742 91177308-0d34-0410-b5e6-96231b3b80d8