- Apr 04, 2007
-
-
Chris Lattner authored
llvm-svn: 35666
-
Chris Lattner authored
llvm-svn: 35644
-
Chris Lattner authored
initialized this way, they do not do a malloc to allocate their buckets. llvm-svn: 35642
-
Chris Lattner authored
llvm-svn: 35632
-
- Apr 01, 2007
-
-
Nick Lewycky authored
llvm-svn: 35534
-
- Mar 29, 2007
-
-
Reid Spencer authored
Make the sys::Path::getFileStatus function more efficient by having it return a pointer to the FileStatus structure rather than copy it. Adjust uses of the function accordingly. Also, fix some memory issues in sys::Path. llvm-svn: 35476
-
Reid Spencer authored
Updates for change in interface of getFileStatus method of sys::Path class. llvm-svn: 35458
-
- Mar 21, 2007
-
-
Zhou Sheng authored
some test cases for bitwidth > 64. llvm-svn: 35232
-
- Mar 20, 2007
-
-
Jeff Cohen authored
Get pos/neg infinity the correct way. llvm-svn: 35223
-
- Mar 19, 2007
-
-
Reid Spencer authored
llvm-svn: 35189
-
Reid Spencer authored
constructor. This helps to fix test/Assembler/2007-03-19-NegValue.ll llvm-svn: 35180
-
- Mar 12, 2007
-
-
Reid Spencer authored
llvm-svn: 35068
-
Zhou Sheng authored
llvm-svn: 35065
-
- Mar 10, 2007
-
-
Nick Lewycky authored
llvm-svn: 35056
-
- Mar 05, 2007
-
-
Jeff Cohen authored
llvm-svn: 34917
-
- Mar 02, 2007
-
-
Reid Spencer authored
llvm-svn: 34852
-
Reid Spencer authored
this to a NOTE: because pari/gp results start to get rounded incorrectly after 192 bits of precision. APInt and pari/gp never differ by more than 1, but APInt is more accurate because it does not lose precision after 192 bits as does pari/gp. llvm-svn: 34834
-
Nick Lewycky authored
llvm-svn: 34833
-
Reid Spencer authored
llvm-svn: 34828
-
Reid Spencer authored
but not on X86 becuase shift by word size is "undefined". llvm-svn: 34825
-
Reid Spencer authored
llvm-svn: 34818
-
- Mar 01, 2007
-
-
Reid Spencer authored
llvm-svn: 34791
-
Reid Spencer authored
llvm-svn: 34789
-
Reid Spencer authored
are not needed as the results are the same with or without it. Patch by Nicholas Lewycky. llvm-svn: 34782
-
Reid Spencer authored
Thanks for the idea Chris. llvm-svn: 34779
-
Reid Spencer authored
llvm-svn: 34775
-
- Feb 28, 2007
-
-
Reid Spencer authored
interface not depend on Type or ICmpInst. llvm-svn: 34761
-
Reid Spencer authored
can be chained together with other operations. llvm-svn: 34743
-
Reid Spencer authored
instead of honoring the client's requested bit width. llvm-svn: 34712
-
Reid Spencer authored
llvm-svn: 34705
-
- Feb 27, 2007
-
-
Reid Spencer authored
the bit width of negative numbers by computing the minimum bit width for a negative value. E.g. 0x1800000000000000 could be just 0x8000000000000000 llvm-svn: 34695
-
Reid Spencer authored
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. llvm-svn: 34680
-
Reid Spencer authored
llvm-svn: 34678
-
Reid Spencer authored
2. Change RoundDoubleToAPInt to take a bit width parameter. Use that parameter to limit the bit width of the result. llvm-svn: 34673
-
Reid Spencer authored
llvm-svn: 34662
-
Reid Spencer authored
llvm-svn: 34648
-
Reid Spencer authored
2. Rewrite operator=(const APInt& RHS) to allow the RHS to be a different bit width than the LHS. This makes it possible to use APInt as the key of a DenseMap, as needed for the IntConstants map in Constants.cpp 3. Fix operator=(uint64_t) to clear unused bits in case the client assigns a value that has more bits than the APInt allows. 4. Assert that bit widths are equal in operator== 5. Revise getHashValue() to put the bit width in the low order six bits. This should help to make i1 0, i2 0, ... i64 0 all distinct in the IntConstants DenseMap. llvm-svn: 34646
-
- Feb 26, 2007
-
-
Reid Spencer authored
Fix toString use of getValue to use getZExtValue() llvm-svn: 34642
-
Reid Spencer authored
llvm-svn: 34634
-
Chris Lattner authored
llvm-svn: 34632
-