| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Guard against huge loop trip counts in an APInt safe way. | Reid Spencer | 2007-03-02 | 1 | -2/+7 |
| | | | | | llvm-svn: 34858 | ||||
| * | X86-64 VACOPY needs custom expansion. va_list is a struct { i32, i32, i8*, ↵ | Evan Cheng | 2007-03-02 | 2 | -3/+34 |
| | | | | | | | i8* }. llvm-svn: 34857 | ||||
| * | Make sure debug code is not evaluated in non-debug case. | Reid Spencer | 2007-03-02 | 1 | -2/+3 |
| | | | | | llvm-svn: 34856 | ||||
| * | 1. Sort switch cases using APInt safe comparison. | Reid Spencer | 2007-03-02 | 1 | -2/+2 |
| | | | | | | | 2. Make sure debug output of APInt values is safe for all bit widths. llvm-svn: 34855 | ||||
| * | Use APInt safe isOne() method on ConstantInt instead of getZExtValue()==1 | Reid Spencer | 2007-03-02 | 1 | -1/+1 |
| | | | | | llvm-svn: 34854 | ||||
| * | Make sorting of ConstantInt be APInt clean through use of ult function. | Reid Spencer | 2007-03-02 | 1 | -1/+1 |
| | | | | | llvm-svn: 34853 | ||||
| * | Fix ashr for bitwidths > 64. This is now validated up to 1024 bits. | Reid Spencer | 2007-03-02 | 1 | -33/+49 |
| | | | | | llvm-svn: 34852 | ||||
| * | Fix uninitialized use of variable. Remove tabs and fix identation. | Anton Korobeynikov | 2007-03-02 | 1 | -19/+19 |
| | | | | | llvm-svn: 34850 | ||||
| * | Simplify things | Anton Korobeynikov | 2007-03-02 | 1 | -8/+2 |
| | | | | | llvm-svn: 34849 | ||||
| * | Fix a significant algorithm problem with the instcombine worklist. removing | Chris Lattner | 2007-03-02 | 1 | -54/+70 |
| | | | | | | | | | | | a value from the worklist required scanning the entire worklist to remove all entries. We now use a combination map+vector to prevent duplicates from happening and prevent the scan. This speeds up instcombine on a large file from the llvm-gcc bootstrap from 189.7s to 4.84s in a debug build and from 5.04s to 1.37s in a release build. llvm-svn: 34848 | ||||
| * | minor cleanup | Chris Lattner | 2007-03-02 | 1 | -6/+2 |
| | | | | | llvm-svn: 34846 | ||||
| * | Fix PR1234 by working around a compiler bug. | Chris Lattner | 2007-03-02 | 1 | -2/+1 |
| | | | | | llvm-svn: 34845 | ||||
| * | Mark dead def as unused. | Evan Cheng | 2007-03-02 | 1 | -2/+6 |
| | | | | | llvm-svn: 34844 | ||||
| * | Dead live-in detection bug. | Evan Cheng | 2007-03-02 | 1 | -2/+2 |
| | | | | | llvm-svn: 34843 | ||||
| * | Add a new test case. | Evan Cheng | 2007-03-02 | 1 | -0/+85 |
| | | | | | llvm-svn: 34842 | ||||
| * | - Keep track all def and uses of stack slot available in register. | Evan Cheng | 2007-03-02 | 1 | -28/+51 |
| | | | | | | | - Available value use may be deleted (e.g. noop move). llvm-svn: 34841 | ||||
| * | testcase for PR1233 | Chris Lattner | 2007-03-02 | 1 | -0/+7 |
| | | | | | llvm-svn: 34840 | ||||
| * | Invalidate last use of a reused register if the use is a deleted noop copy. | Evan Cheng | 2007-03-02 | 1 | -0/+1 |
| | | | | | llvm-svn: 34839 | ||||
| * | argument lowering should copy from the vreg shadows of live-in arguments | Chris Lattner | 2007-03-02 | 1 | -7/+7 |
| | | | | | | | passed in registers, not directly from the pregs themselves. llvm-svn: 34838 | ||||
| * | add a note | Chris Lattner | 2007-03-02 | 1 | -0/+22 |
| | | | | | llvm-svn: 34837 | ||||
| * | Fix a typo. | Owen Anderson | 2007-03-02 | 1 | -1/+1 |
| | | | | | llvm-svn: 34836 | ||||
| * | Use a better algorithm for rounding sqrt results. Change the FIXME about | Reid Spencer | 2007-03-02 | 1 | -8/+12 |
| | | | | | | | | | | 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 | ||||
| * | Implement unionWith. | Nick Lewycky | 2007-03-02 | 1 | -2/+11 |
| | | | | | llvm-svn: 34833 | ||||
| * | switch the inliner from being recursive to being iterative. | Chris Lattner | 2007-03-02 | 1 | -6/+14 |
| | | | | | llvm-svn: 34832 | ||||
| * | Fix an unequal bitwidth issue. | Reid Spencer | 2007-03-02 | 1 | -3/+6 |
| | | | | | llvm-svn: 34831 | ||||
| * | grammaro | Chris Lattner | 2007-03-02 | 1 | -1/+1 |
| | | | | | llvm-svn: 34830 | ||||
| * | Make it 64-bit safe. | Evan Cheng | 2007-03-02 | 1 | -7/+25 |
| | | | | | llvm-svn: 34829 | ||||
| * | Add a FIXME | Reid Spencer | 2007-03-02 | 1 | -0/+3 |
| | | | | | llvm-svn: 34828 | ||||
| * | Fix a typo. | Reid Spencer | 2007-03-02 | 1 | -1/+1 |
| | | | | | llvm-svn: 34826 | ||||
| * | Fix a problem where shifting by 64-bits leads to incorrect results on PPC | Reid Spencer | 2007-03-02 | 1 | -1/+4 |
| | | | | | | | but not on X86 becuase shift by word size is "undefined". llvm-svn: 34825 | ||||
| * | eliminate unnecessary reset of SP in epilog on darwin | Dale Johannesen | 2007-03-02 | 1 | -1/+1 |
| | | | | | llvm-svn: 34824 | ||||
| * | Reverse a premature commital. | Reid Spencer | 2007-03-02 | 1 | -21/+17 |
| | | | | | llvm-svn: 34822 | ||||
| * | Prefer non-virtual calls to ConstantInt::isZero over virtual calls to | Reid Spencer | 2007-03-02 | 9 | -42/+46 |
| | | | | | | | Constant::isNullValue() in situations where it is possible. llvm-svn: 34821 | ||||
| * | Add a non-virtual test for zero, isZero, and rename isUnitValue isOne. | Reid Spencer | 2007-03-02 | 1 | -2/+10 |
| | | | | | | | | These will be used in upcoming patches to avoid virtual function call when the client knows it is a ConstantInt. llvm-svn: 34820 | ||||
| * | Add an abs() function to get the absolute value. | Reid Spencer | 2007-03-01 | 1 | -0/+8 |
| | | | | | llvm-svn: 34819 | ||||
| * | Combine two lines that can be. | Reid Spencer | 2007-03-01 | 1 | -2/+1 |
| | | | | | llvm-svn: 34818 | ||||
| * | Remove virtual keyword from method that doesn't need to be virtual. | Reid Spencer | 2007-03-01 | 1 | -1/+1 |
| | | | | | llvm-svn: 34817 | ||||
| * | Make it possible to create an SCEVUnknown from an APInt as well as an int. | Reid Spencer | 2007-03-01 | 2 | -0/+6 |
| | | | | | llvm-svn: 34816 | ||||
| * | Although probably not necessary, guard against a potential assertion by | Reid Spencer | 2007-03-01 | 1 | -1/+1 |
| | | | | | | | using isNullValue() instead of getZExtValue() == 0. llvm-svn: 34815 | ||||
| * | Use isUnitValue() instead of getZExtValue() == 1 which will prevent an | Reid Spencer | 2007-03-01 | 1 | -1/+1 |
| | | | | | | | assert if the ConstantInt's value is large. llvm-svn: 34814 | ||||
| * | Add an isUnitValue method for comparison against 1. This just follows a | Reid Spencer | 2007-03-01 | 1 | -0/+7 |
| | | | | | | | | | common pattern with isNullValue, isAllOnesValue, etc. It also helps to prevent things like getZExtValue() == 1, which could assert for large bitwidths. llvm-svn: 34813 | ||||
| * | Use GCC intrinsics when available, and use smarter fallbacks when not. | Owen Anderson | 2007-03-01 | 1 | -2/+26 |
| | | | | | llvm-svn: 34812 | ||||
| * | Clarify the use of getValue/getSExtValue/getZExtValue and add the new | Reid Spencer | 2007-03-01 | 1 | -4/+14 |
| | | | | | | | APInt constructor. llvm-svn: 34811 | ||||
| * | Use APInt conversion to string so the result is correct regardless of the | Reid Spencer | 2007-03-01 | 1 | -1/+1 |
| | | | | | | | bit width of the ConstantInt being converted. llvm-svn: 34810 | ||||
| * | Make output for ConstantInt construction correct for any bitwidth. | Reid Spencer | 2007-03-01 | 1 | -1/+2 |
| | | | | | llvm-svn: 34809 | ||||
| * | Use the APInt versions of the bit-wise conversions of float/double to int | Reid Spencer | 2007-03-01 | 1 | -8/+10 |
| | | | | | | | | | and back. While this is not strictly necessary, it does pave the way for future changes in casting. It should now be possible to improve vector casting to deal with un-equal fp/int sizes. llvm-svn: 34808 | ||||
| * | Add doubleToBits and floatToBits methods. | Reid Spencer | 2007-03-01 | 1 | -0/+34 |
| | | | | | llvm-svn: 34807 | ||||
| * | Use modern variable name. ConstantUnsignedInt is long since dead. No | Reid Spencer | 2007-03-01 | 1 | -2/+2 |
| | | | | | | | functional change with this patch. llvm-svn: 34806 | ||||
| * | Emit eh filter info. | Jim Laskey | 2007-03-01 | 1 | -18/+66 |
| | | | | | llvm-svn: 34805 | ||||
| * | Collect eh filter info. | Jim Laskey | 2007-03-01 | 2 | -12/+26 |
| | | | | | llvm-svn: 34804 | ||||

