Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Removed scoped_ptr, as its functionality is subsumed by OwningPtr. | Ted Kremenek | 2007-12-21 | 1 | -124/+0 | |
| | | | | llvm-svn: 45274 | |||||
* | Fix JIT encoding for CMPSD as well. | Evan Cheng | 2007-12-20 | 2 | -4/+8 | |
| | | | | llvm-svn: 45268 | |||||
* | Added OwningArrayPtr smart pointer class to provide an analogous class to | Ted Kremenek | 2007-12-20 | 1 | -0/+54 | |
| | | | | | | OwningPtr except that it works for pointers to arrays. llvm-svn: 45266 | |||||
* | add new smart pointer for clang. | Chris Lattner | 2007-12-20 | 1 | -0/+79 | |
| | | | | llvm-svn: 45261 | |||||
* | Type specification didn't match gcc's. | Evan Cheng | 2007-12-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 45260 | |||||
* | More accurate checks for two-address constraints. | Evan Cheng | 2007-12-20 | 1 | -8/+40 | |
| | | | | llvm-svn: 45259 | |||||
* | Implement review feedback, including additional transforms | Christopher Lamb | 2007-12-20 | 2 | -17/+40 | |
| | | | | | | | | | (icmp slt (sub A B) 1) -> (icmp sle A B) icmp sgt (sub A B) -1) -> (icmp sge A B) and add testcase. llvm-svn: 45256 | |||||
* | Add m_Zero(). | Chris Lattner | 2007-12-20 | 1 | -0/+18 | |
| | | | | llvm-svn: 45255 | |||||
* | Remove xfail. This is fixed. | Evan Cheng | 2007-12-20 | 1 | -1/+0 | |
| | | | | llvm-svn: 45254 | |||||
* | The physical register + virtual register joining requirement was much too ↵ | Evan Cheng | 2007-12-20 | 1 | -1/+1 | |
| | | | | | | strict. llvm-svn: 45253 | |||||
* | Bring back a burr scheduling heuristic that's still needed. | Evan Cheng | 2007-12-20 | 1 | -5/+34 | |
| | | | | llvm-svn: 45252 | |||||
* | Clean up previous patch: PHI uses should not prevent iv reuse if all other ↵ | Evan Cheng | 2007-12-20 | 1 | -35/+16 | |
| | | | | | | uses are addresses. This trades a constant multiply for one fewer iv. llvm-svn: 45251 | |||||
* | simplify this code with the new m_Zero() pattern. Make sure the select only | Chris Lattner | 2007-12-20 | 1 | -18/+10 | |
| | | | | | | has a single use, and generalize it to not require N to be a constant. llvm-svn: 45250 | |||||
* | Revert my previous check-in. | Devang Patel | 2007-12-20 | 2 | -7/+2 | |
| | | | | llvm-svn: 45249 | |||||
* | More eye-candy stuff :) | Anton Korobeynikov | 2007-12-20 | 1 | -14/+9 | |
| | | | | llvm-svn: 45247 | |||||
* | Add iterators for child traversal. | Anton Korobeynikov | 2007-12-20 | 1 | -13/+29 | |
| | | | | llvm-svn: 45246 | |||||
* | Updated comments to reflect what "side effects" means in this situation. | Bill Wendling | 2007-12-20 | 1 | -10/+3 | |
| | | | | llvm-svn: 45245 | |||||
* | More working CellSPU tests: | Scott Michel | 2007-12-20 | 8 | -60/+306 | |
| | | | | | | | - vec_const.ll: Vector constant loads - immed64.ll: i64, f64 constant loads llvm-svn: 45242 | |||||
* | Add lto version check mechanism. | Devang Patel | 2007-12-20 | 2 | -2/+7 | |
| | | | | llvm-svn: 45238 | |||||
* | Use a module to group calling convention values, too. | Gordon Henriksen | 2007-12-20 | 3 | -13/+17 | |
| | | | | llvm-svn: 45236 | |||||
* | Allow iv reuse if the user is a PHI node which is in turn used as addresses. | Evan Cheng | 2007-12-19 | 1 | -29/+82 | |
| | | | | llvm-svn: 45230 | |||||
* | Using modules to group enumerations in Ocaml bindings. | Gordon Henriksen | 2007-12-19 | 4 | -186/+204 | |
| | | | | llvm-svn: 45229 | |||||
* | Adding bindings for memory buffers and module providers. Switching | Gordon Henriksen | 2007-12-19 | 16 | -155/+351 | |
| | | | | | | to exceptions rather than variants for error handling in Ocaml. llvm-svn: 45226 | |||||
* | Enable EH on PPC Darwin. This basically works; there | Dale Johannesen | 2007-12-19 | 1 | -1/+1 | |
| | | | | | | | | | | | | are a couple of issues that show up with the optimizer, but I don't think they're really EH problems. (llvm-gcc testsuite users note: By default the testsuite uses the unwinding code that's built as part of your local llvm-gcc, which does not work. You need to trick it into using the installed system unwinding code to get useful results.) llvm-svn: 45221 | |||||
* | CellSPU testcase, extract_elt.ll: extract vector element. | Scott Michel | 2007-12-19 | 2 | -2/+180 | |
| | | | | llvm-svn: 45219 | |||||
* | When inlining through an 'nounwind' call, mark inlined | Duncan Sands | 2007-12-19 | 9 | -21/+114 | |
| | | | | | | | | | calls 'nounwind'. It is important for correct C++ exception handling that nounwind markings do not get lost, so this transformation is actually needed for correctness. llvm-svn: 45218 | |||||
* | More working CellSPU test cases: | Scott Michel | 2007-12-19 | 12 | -0/+1164 | |
| | | | | | | | | | | | | | | | | | - call.ll: Function call - ctpop.ll: Count population - dp_farith.ll: DP arithmetic - eqv.ll: Equivalence primitives - fcmp.ll: SP comparisons - fdiv.ll: SP division - fneg-fabs.ll: SP negation, aboslute value - int2fp.ll: Integer -> SP conversion - rotate_ops.ll: Rotation primitives - select_bits.ll: (a & c) | (b & ~c) bit selection - shift_ops.ll: Shift primitives - sp_farith.ll: SP arithmentic llvm-svn: 45217 | |||||
* | Two more test cases: or_ops.ll (arithmetic or operations) and vecinsert.ll | Scott Michel | 2007-12-19 | 5 | -6/+325 | |
| | | | | | | (vector insertions) llvm-svn: 45216 | |||||
* | fix formatting | Chris Lattner | 2007-12-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 45214 | |||||
* | Simplify LowerCallTo by using a callsite. | Duncan Sands | 2007-12-19 | 1 | -41/+27 | |
| | | | | llvm-svn: 45198 | |||||
* | The C++ exception handling personality function wants | Duncan Sands | 2007-12-19 | 3 | -28/+60 | |
| | | | | | | | | | | | | | | | | | | | | | | | to know about calls that cannot throw ('nounwind'): if such a call does throw for some reason then the personality will terminate the program. The distinction between an ordinary call and a nounwind call is that an ordinary call gets an entry in the exception table but a nounwind call does not. This patch sets up the exception table appropriately. One oddity is that I've chosen to bracket nounwind calls with labels (like invokes) - the other choice would have been to bracket ordinary calls with labels. While bracketing ordinary calls is more natural (because bracketing by labels would then correspond exactly to getting an entry in the exception table), I didn't do it because introducing labels impedes some optimizations and I'm guessing that ordinary calls occur more often than nounwind calls. This fixes the gcc filter2 eh test, at least at -O0 (the inliner needs some tweaking at higher optimization levels). llvm-svn: 45197 | |||||
* | Add new immed16.ll test case, fix CellSPU errata to make test case work. | Scott Michel | 2007-12-19 | 6 | -13/+61 | |
| | | | | llvm-svn: 45196 | |||||
* | Modified to support comments better. | Bill Wendling | 2007-12-19 | 1 | -53/+42 | |
| | | | | llvm-svn: 45192 | |||||
* | Mark the "isRemat" instruction as never having side effects. | Bill Wendling | 2007-12-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 45190 | |||||
* | fix more table abuses. | Chris Lattner | 2007-12-19 | 1 | -50/+46 | |
| | | | | llvm-svn: 45187 | |||||
* | Don't leave newly created nodes around if it turns out they are not needed. | Evan Cheng | 2007-12-19 | 1 | -2/+4 | |
| | | | | llvm-svn: 45186 | |||||
* | Added "GetCurrentDirectory()" to sys::Path. | Ted Kremenek | 2007-12-18 | 3 | -0/+24 | |
| | | | | llvm-svn: 45182 | |||||
* | Add debugging info. Use the newly created "hasUnmodelledSideEffects" method. | Bill Wendling | 2007-12-18 | 1 | -21/+38 | |
| | | | | llvm-svn: 45178 | |||||
* | Fold subtracts into integer compares vs. zero. This improves generate code ↵ | Christopher Lamb | 2007-12-18 | 1 | -1/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | for this case on X86 from _foo: movl $99, %ecx movl 4(%esp), %eax subl %eax, %ecx xorl %edx, %edx testl %ecx, %ecx cmovs %edx, %eax ret to _foo: xorl %ecx, %ecx movl 4(%esp), %eax cmpl $99, %eax cmovg %ecx, %eax ret llvm-svn: 45173 | |||||
* | Support more insane CEP's in AsmPrinter (Yes, PyPy folks do really use them). | Anton Korobeynikov | 2007-12-18 | 1 | -1/+24 | |
| | | | | llvm-svn: 45172 | |||||
* | Fix comments | Christopher Lamb | 2007-12-18 | 1 | -4/+2 | |
| | | | | llvm-svn: 45170 | |||||
* | Remove an orthogonal transformation of the selection condition from my most ↵ | Christopher Lamb | 2007-12-18 | 2 | -40/+3 | |
| | | | | | | recent submission. llvm-svn: 45169 | |||||
* | Added "isDirectory" method to llvm::sys::Path. | Ted Kremenek | 2007-12-18 | 3 | -1/+22 | |
| | | | | llvm-svn: 45168 | |||||
* | Fix PR1872: SrcValue and SrcValueOffset should not be used to compute load / ↵ | Evan Cheng | 2007-12-18 | 2 | -20/+28 | |
| | | | | | | store node id. llvm-svn: 45167 | |||||
* | Ignore shell scripts when doing "dsymutil" call. | Bill Wendling | 2007-12-18 | 1 | -1/+2 | |
| | | | | llvm-svn: 45166 | |||||
* | remove obviously dead uses of IncludeFile. | Chris Lattner | 2007-12-18 | 7 | -13/+0 | |
| | | | | llvm-svn: 45165 | |||||
* | Also print alignment and volatileness. | Evan Cheng | 2007-12-18 | 1 | -13/+19 | |
| | | | | llvm-svn: 45164 | |||||
* | remove a dead annotation | Chris Lattner | 2007-12-18 | 2 | -4/+0 | |
| | | | | llvm-svn: 45163 | |||||
* | Added some sectioning comments to Serialize.h. | Ted Kremenek | 2007-12-18 | 1 | -14/+71 | |
| | | | | | | Added additional serialization functors for use with std::foreach. llvm-svn: 45162 | |||||
* | add an obvious load folding missed optzn. | Chris Lattner | 2007-12-18 | 1 | -0/+21 | |
| | | | | llvm-svn: 45161 |