Improve APInt interface:
authorReid Spencer <rspencer@reidspencer.com>
Tue, 27 Feb 2007 20:24:31 +0000 (20:24 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 27 Feb 2007 20:24:31 +0000 (20:24 +0000)
commit66ed1099ff3591c61e008198bb5a30862e778fc0
tree19af021ae37a37340e5f77a57ed7b2b55d37674c
parent96d91372fd79257bb043f6a01b7e871acbe5a555
Improve APInt interface:
1. Add unsigned and signed versions of methods so a "bool" argument doesn't
   need to be passed in.
2. Make the various getMin/getMax functions all be inline since they are
   so simple.
3. Simplify sdiv and srem code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34680 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/APInt.h
lib/Support/APInt.cpp