OSDN Git Service

Add a class APInt to represent arbitrary precision constant integral values.
authorZhou Sheng <zhousheng00@gmail.com>
Tue, 6 Feb 2007 03:00:16 +0000 (03:00 +0000)
committerZhou Sheng <zhousheng00@gmail.com>
Tue, 6 Feb 2007 03:00:16 +0000 (03:00 +0000)
commitfd43dcfc57076da0661cf94ea59f69aa22dd096c
tree9df0ee753f4511129dedba977c87e9b37f4a07ca
parent775bd830505c01d9cd8c53e4670bc3c0b78ab47b
Add a class APInt to represent arbitrary precision constant integral values.
It is a functional replacement for common case integer type like "unsigned",
"uint64_t", but also allows non-byte-width integer type and large integer
value types such as 3-bits, 15-bits, or more than 64-bits of precision. For
more details, see pr1043.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33951 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/APInt.cpp [new file with mode: 0644]