Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Tighten up checking. | Chris Lattner | 2008-06-28 | 1 | -4/+10 | |
| | | | | llvm-svn: 52850 | |||||
* | fix the regressions from Eric's patch by making GetConstantStringInfo | Chris Lattner | 2008-06-27 | 1 | -29/+34 | |
| | | | | | | | tolerate a non-nul-terminated string, and handling a direct global reference. llvm-svn: 52813 | |||||
* | Reserve the size we'll need in advance. | Owen Anderson | 2008-06-26 | 1 | -0/+1 | |
| | | | | llvm-svn: 52763 | |||||
* | Move GetConstantStringInfo to lib/Analysis. Remove | Eric Christopher | 2008-06-26 | 1 | -0/+86 | |
| | | | | | | | | | string output routine from Constant. Update all callers. Change debug intrinsic api slightly to accomodate move of routine, these now return values instead of strings. llvm-svn: 52748 | |||||
* | Fix some warnings reported by gcc-4.3. Hopefully | Duncan Sands | 2008-06-19 | 1 | -1/+2 | |
| | | | | | | this still compiles on windows - I can't test! llvm-svn: 52488 | |||||
* | Use a SmallVector instead of an array, since auto_ptr doesn't handle arrays | Matthijs Kooijman | 2008-06-17 | 1 | -11/+8 | |
| | | | | | | properly. llvm-svn: 52390 | |||||
* | Make BuildSubAggregate use FindInsertedElement again to prevent it from | Matthijs Kooijman | 2008-06-16 | 1 | -20/+48 | |
| | | | | | | | | inserting extractvalues. In particular, this prevents the insertion of extractvalues that can't be folded away later. Also add an example of when this stuff is needed. llvm-svn: 52328 | |||||
* | Make the InsertBefore argument to FindInsertedValue optional, so you can ↵ | Matthijs Kooijman | 2008-06-16 | 1 | -3/+8 | |
| | | | | | | find an inserted value without modifying the code. llvm-svn: 52319 | |||||
* | Pass around Instruction* instead of Instruction& in FindInsertedValue and ↵ | Matthijs Kooijman | 2008-06-16 | 1 | -5/+5 | |
| | | | | | | friends. llvm-svn: 52318 | |||||
* | 80 column fixes. | Matthijs Kooijman | 2008-06-16 | 1 | -15/+31 | |
| | | | | llvm-svn: 52316 | |||||
* | Move FindScalarValue from InstructionCombining.cpp to ValueTracking.cpp. While | Matthijs Kooijman | 2008-06-16 | 1 | -0/+128 | |
| | | | | | | | | | | I'm at it, rename it to FindInsertedValue. The only functional change is that newly created instructions are no longer added to instcombine's worklist, but that is not really necessary anyway (and I'll commit some improvements next that will completely remove the need). llvm-svn: 52315 | |||||
* | Add #includes required by GCC 4.3, thanks for Zhongxing Xu | Chris Lattner | 2008-06-04 | 1 | -0/+1 | |
| | | | | | | for reporting this. llvm-svn: 51926 | |||||
* | Remove unneeded code I added. | Chris Lattner | 2008-06-02 | 1 | -6/+3 | |
| | | | | llvm-svn: 51878 | |||||
* | move CannotBeNegativeZero to ValueTracking. Simplify some signbit comparisons. | Chris Lattner | 2008-06-02 | 1 | -0/+50 | |
| | | | | llvm-svn: 51864 | |||||
* | move ComputeMaskedBits, MaskedValueIsZero, and ComputeNumSignBits | Chris Lattner | 2008-06-02 | 1 | -0/+709 | |
out of instcombine into a new file in libanalysis. This also teaches ComputeNumSignBits about the number of sign bits in a constantint. llvm-svn: 51863 |