Make APInt a little more friendly to its users:
authorReid Spencer <rspencer@reidspencer.com>
Wed, 28 Feb 2007 17:33:36 +0000 (17:33 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Wed, 28 Feb 2007 17:33:36 +0000 (17:33 +0000)
commitf2253449e24712e96f7bdb7b54c20ddca8d6bb51
tree64e38eaf5e14ccbc5a7666f176b97cd051fc351d
parenta0a6278c7cf6dc7338e38d36e6ab4a96b688e46e
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
include/llvm/ADT/APInt.h