- Oct 09, 2007
-
-
Chris Lattner authored
llvm-svn: 42781
-
- Oct 08, 2007
-
-
Dan Gohman authored
commands and into the common code. llvm-svn: 42752
-
Neil Booth authored
llvm-svn: 42746
-
Neil Booth authored
arbitrary range of bits embedded in the middle of another bignum. This kind of operation is desirable in many cases of software floating point, e.g. converting bignum integers to floating point numbers of fixed precision (you want to extract the precision most significant bits). Elsewhere, add an assertion, and exit the shift functions early if the shift count is zero. llvm-svn: 42745
-
- Oct 07, 2007
-
-
Neil Booth authored
llvm-svn: 42735
-
Neil Booth authored
convertFromZeroExtendedInteger can be simplified as it doesn't need to make a copy of the source bignum. llvm-svn: 42734
-
Neil Booth authored
It used to modify its argument in-place. This interface is saner and the implementation more efficient. It will be needed for decimal->binary conversion. llvm-svn: 42733
-
Neil Booth authored
input. APInt unfortunately zero-extends signed integers, so Dale modified the function to expect zero-extended input. Make this assumption explicit in the function name. llvm-svn: 42732
-
Neil Booth authored
llvm-svn: 42729
-
- Oct 06, 2007
-
-
Neil Booth authored
llvm-svn: 42690
-
Chris Lattner authored
llvm-svn: 42687
-
Neil Booth authored
llvm-svn: 42670
-
Neil Booth authored
part widths. Also, return the number of parts actually required to hold the result's value. Remove an over-cautious condition from rounding of float->hex conversion. llvm-svn: 42669
-
- Oct 04, 2007
-
-
Neil Booth authored
Useful for diagnostics and debugging. llvm-svn: 42598
-
- Oct 03, 2007
-
-
Chris Lattner authored
llvm-svn: 42589
-
Chris Lattner authored
to giving it iterators. llvm-svn: 42586
-
Neil Booth authored
it const. Preparation for APFloat -> hexadecimal string conversion. llvm-svn: 42576
-
- Sep 30, 2007
-
-
Dale Johannesen authored
llvm-svn: 42483
-
- Sep 26, 2007
-
-
Neil Booth authored
llvm-svn: 42373
-
Dale Johannesen authored
cases with undefined behavior. llvm-svn: 42328
-
- Sep 25, 2007
-
-
Dale Johannesen authored
of zero, infinity, and NaNs. llvm-svn: 42298
-
- Sep 22, 2007
-
-
Neil Booth authored
llvm-svn: 42220
-
Dale Johannesen authored
bit width instead of number of words allocated, which makes it actually work for int->APF conversions. Adjust callers. Add const to one of the APInt constructors to prevent surprising match when called with const argument. llvm-svn: 42210
-
- Sep 21, 2007
-
-
Dale Johannesen authored
llvm-svn: 42181
-
- Sep 18, 2007
-
-
Devang Patel authored
Do not hide APInt::dump() inside #ifndef NDEBUG. llvm-svn: 42068
-
- Sep 15, 2007
-
-
Chris Lattner authored
llvm-svn: 41972
-
Dale Johannesen authored
double from some of the many places in the optimizers it appears, and do something reasonable with x86 long double. Make APInt::dump() public, remove newline, use it to dump ConstantSDNode's. Allow APFloats in FoldingSet. Expand X86 backend handling of long doubles (conversions to/from int, mostly). llvm-svn: 41967
-
- Sep 14, 2007
-
-
Dan Gohman authored
ambiguity. llvm-svn: 41960
-
Dan Gohman authored
are strict about such things. llvm-svn: 41956
-
- Sep 12, 2007
-
-
Dale Johannesen authored
(could break hash table in ConstantFP) llvm-svn: 41874
-
- Sep 11, 2007
-
-
Dale Johannesen authored
access to bits). Use them in place of float and double interfaces where appropriate. First bits of x86 long double constants handling (untested, probably does not work). llvm-svn: 41858
-
- Sep 08, 2007
-
-
Evan Cheng authored
first region, just deallocate all but the last region in the list. llvm-svn: 41782
-
- Sep 05, 2007
-
-
Evan Cheng authored
Added Reset() to free all allocated memory regions and reset state to be the same as right after ctor. llvm-svn: 41728
-
Dale Johannesen authored
native types to handle denormals correctly. llvm-svn: 41726
-
- Sep 01, 2007
-
-
Dale Johannesen authored
llvm-svn: 41665
-
- Aug 31, 2007
-
-
Dale Johannesen authored
Use APFloat interfaces for more references, mostly of ConstantFPSDNode. llvm-svn: 41632
-
- Aug 30, 2007
-
-
Dale Johannesen authored
Add APFloat interfaces to ConstantFP, SelectionDAG. Fix integer bit in double->APFloat conversion. Convert LegalizeDAG to use APFloat interface in ConstantFPSDNode uses. llvm-svn: 41587
-
- Aug 25, 2007
-
-
Dale Johannesen authored
This means backing out the preceding change to Constants.cpp, alas. llvm-svn: 41378
-
- Aug 24, 2007
-
-
Dale Johannesen authored
llvm-svn: 41353
-
Chris Lattner authored
llvm-svn: 41352
-