Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove the dead removeArgument method, rename Options to OptionsMap. | Chris Lattner | 2007-04-05 | 1 | -61/+30 |
| | | | | llvm-svn: 35690 | ||||
* | Fix Transforms/GlobalOpt/2007-04-05-Crash.ll | Chris Lattner | 2007-04-05 | 1 | -1/+1 |
| | | | | llvm-svn: 35689 | ||||
* | Use a worklist-driven algorithm instead of a recursive one. | Chris Lattner | 2007-04-05 | 1 | -27/+36 |
| | | | | llvm-svn: 35680 | ||||
* | Change the bit_part_select (non)implementation from "return 0" to abort. | Reid Spencer | 2007-04-05 | 1 | -3/+5 |
| | | | | llvm-svn: 35679 | ||||
* | Implement the llvm.bit.part_select.iN.iN.iN overloaded intrinsic. | Reid Spencer | 2007-04-04 | 3 | -0/+182 |
| | | | | llvm-svn: 35678 | ||||
* | Squelch a warning about mismatch between sign of constant and sign of return | Reid Spencer | 2007-04-04 | 1 | -1/+1 |
| | | | | | | type. llvm-svn: 35674 | ||||
* | Properly emit range comparisons for switch cases, where neighbour cases | Anton Korobeynikov | 2007-04-04 | 1 | -71/+181 |
| | | | | | | | go to the same destination. Now we're producing really good code for switch-lower-feature.ll testcase llvm-svn: 35672 | ||||
* | Prevent transformConstExprCastCall from generating conversions that assert | Dale Johannesen | 2007-04-04 | 1 | -0/+35 |
| | | | | | | elsewhere. llvm-svn: 35668 | ||||
* | stringmap memory managed with malloc now | Chris Lattner | 2007-04-04 | 1 | -1/+1 |
| | | | | llvm-svn: 35666 | ||||
* | Fix 2007-04-04-BadFoldBitcastIntoMalloc.ll | Jeff Cohen | 2007-04-04 | 1 | -4/+5 |
| | | | | llvm-svn: 35665 | ||||
* | Re-materialize all loads from fixed stack slots. | Evan Cheng | 2007-04-04 | 3 | -15/+34 |
| | | | | llvm-svn: 35660 | ||||
* | Trivially re-materializable instructions have spill weights that are half of ↵ | Evan Cheng | 2007-04-04 | 1 | -6/+6 |
| | | | | | | what it would be otherwise. llvm-svn: 35658 | ||||
* | For PR1302: | Reid Spencer | 2007-04-04 | 1 | -8/+8 |
| | | | | | | | Use local variable names that match the function parameter name that it is passed to so the code is more clear, to wit: is_bytecode -> is_native llvm-svn: 35656 | ||||
* | Fix comment. | Duncan Sands | 2007-04-04 | 1 | -1/+1 |
| | | | | llvm-svn: 35655 | ||||
* | For PR1302: | Reid Spencer | 2007-04-04 | 1 | -31/+61 |
| | | | | | | | Implement file tests for both LinkInLibrary and LinkInFile to determine if the file is native. Don't generate warnings if the file is native. llvm-svn: 35653 | ||||
* | For PR1302: | Reid Spencer | 2007-04-04 | 3 | -6/+6 |
| | | | | | | Adjust useage of sys::Path::FileType for new enumerator names. llvm-svn: 35651 | ||||
* | For PR1302: | Reid Spencer | 2007-04-04 | 1 | -9/+38 |
| | | | | | | Implement recognition of COFF, ELF and Mach-O object/shared lib files. llvm-svn: 35650 | ||||
* | use calloc instead of new/memset, it is more efficient | Chris Lattner | 2007-04-04 | 1 | -4/+2 |
| | | | | llvm-svn: 35644 | ||||
* | Extend StringMap to support being initialized as completely empty. When | Chris Lattner | 2007-04-04 | 1 | -2/+22 |
| | | | | | | initialized this way, they do not do a malloc to allocate their buckets. llvm-svn: 35642 | ||||
* | Implement inline asm modifier P. | Evan Cheng | 2007-04-04 | 1 | -0/+1 |
| | | | | llvm-svn: 35640 | ||||
* | Typo. | Evan Cheng | 2007-04-04 | 1 | -1/+1 |
| | | | | llvm-svn: 35639 | ||||
* | Adding more MMX instructions. | Bill Wendling | 2007-04-03 | 2 | -64/+128 |
| | | | | llvm-svn: 35638 | ||||
* | make a new missing features section | Chris Lattner | 2007-04-03 | 1 | -2/+6 |
| | | | | llvm-svn: 35637 | ||||
* | Remove unused constant pool entries. | Evan Cheng | 2007-04-03 | 1 | -32/+60 |
| | | | | llvm-svn: 35635 | ||||
* | Updated | Bill Wendling | 2007-04-03 | 1 | -0/+4 |
| | | | | llvm-svn: 35634 | ||||
* | Fix a bug I introduced with my patch yesterday which broke Qt (I converted | Chris Lattner | 2007-04-03 | 1 | -1/+1 |
| | | | | | | | | some constant exprs to apints). Thanks to Anton for tracking down a small testcase that triggered this! llvm-svn: 35633 | ||||
* | greatly reduce hte default size of stringmap. | Chris Lattner | 2007-04-03 | 1 | -1/+1 |
| | | | | llvm-svn: 35632 | ||||
* | Fixed a bug that causes codegen of noop like add r0, r0, #0. | Evan Cheng | 2007-04-03 | 1 | -1/+1 |
| | | | | llvm-svn: 35627 | ||||
* | reinstate the previous two patches, with a bugfix :) | Chris Lattner | 2007-04-03 | 1 | -493/+525 |
| | | | | | | ldecod now passes. llvm-svn: 35626 | ||||
* | Starting implementation of the ELF32 ABI specification of varargs handling. | Nicolas Geoffray | 2007-04-03 | 2 | -9/+177 |
| | | | | | | | LowerVASTART emits the right code if the subtarget is ELF32, the other intrinsics (VAARG, VACOPY and VAEND) are not yet implemented. llvm-svn: 35625 | ||||
* | The PPC64 ELF ABI is "intended to use the same structure layout and calling ↵ | Nicolas Geoffray | 2007-04-03 | 6 | -92/+46 |
| | | | | | | | | | convention rules as the 64-bit PowerOpen ABI" (Reference http://www.linux-foundation.org/spec/ELF/ppc64/). Change all ELF tests to ELF32. llvm-svn: 35624 | ||||
* | Addition to the previous commit for getCalleeSavedRegClasses: | Nicolas Geoffray | 2007-04-03 | 1 | -2/+4 |
| | | | | | | | "The ELF ABI specifies F1-F8 registers as argument registers for double, not F1-F10. This affects only ELF, not MachO." llvm-svn: 35623 | ||||
* | The ELF ABI specifies F1-F8 registers as argument registers for double, not | Nicolas Geoffray | 2007-04-03 | 5 | -10/+12 |
| | | | | | | F1-F10. This affects only ELF, not MachO. llvm-svn: 35622 | ||||
* | Reverting back to 1.723. The last two commits broke JM (and possibily ↵ | Evan Cheng | 2007-04-03 | 1 | -524/+491 |
| | | | | | | others) on ARM. llvm-svn: 35620 | ||||
* | Inverted logic. | Evan Cheng | 2007-04-03 | 1 | -1/+1 |
| | | | | llvm-svn: 35619 | ||||
* | Bad bad bug. findRegisterUseOperand() returns -1 if a use if not found. | Evan Cheng | 2007-04-03 | 1 | -1/+1 |
| | | | | llvm-svn: 35618 | ||||
* | Changed to new MMX_ recipes. | Bill Wendling | 2007-04-03 | 1 | -3/+3 |
| | | | | llvm-svn: 35617 | ||||
* | Add FEMMS and ADDQ. Renamed MMX recipes to prepend the MMX_ to them. | Bill Wendling | 2007-04-03 | 2 | -69/+85 |
| | | | | llvm-svn: 35616 | ||||
* | split some code out into a helper function | Chris Lattner | 2007-04-03 | 1 | -18/+30 |
| | | | | llvm-svn: 35615 | ||||
* | Split a whole ton of code out of visitICmpInst into ↵ | Chris Lattner | 2007-04-03 | 1 | -520/+524 |
| | | | | | | visitICmpInstWithInstAndIntCst. llvm-svn: 35614 | ||||
* | Fix PR1253 and xor2.ll:test[01] | Chris Lattner | 2007-04-03 | 1 | -1/+30 |
| | | | | llvm-svn: 35612 | ||||
* | Arm supports negative strides as well, add them. This lets us compile: | Chris Lattner | 2007-04-03 | 1 | -3/+6 |
| | | | | | | | | | | | | CodeGen/ARM/arm-negative-stride.ll to: LBB1_2: @bb str r1, [r3, -r0, lsl #2] add r0, r0, #1 cmp r0, r2 bne LBB1_2 @bb llvm-svn: 35609 | ||||
* | allow -1 strides to reuse "1" strides. | Chris Lattner | 2007-04-02 | 1 | -1/+2 |
| | | | | llvm-svn: 35607 | ||||
* | 1. Insert custom lowering hooks for ISD::ROTR and ISD::ROTL. | Scott Michel | 2007-04-02 | 2 | -25/+76 |
| | | | | | | | | | 2. Help DAGCombiner recognize zero/sign/any-extended versions of ROTR and ROTL patterns. This was motivated by the X86/rotate.ll testcase, which should now generate code for other platforms (and soon-to-come platforms.) Rewrote code slightly to make it easier to read. llvm-svn: 35605 | ||||
* | fix off by 1 error in displacement computation | Dale Johannesen | 2007-04-02 | 1 | -0/+5 |
| | | | | llvm-svn: 35602 | ||||
* | fix the CodeGen/ARM/2007-03-13-InstrSched.ll regression: allow IV's with scales | Chris Lattner | 2007-04-02 | 1 | -4/+20 |
| | | | | | | to be folded into non-store instructions. llvm-svn: 35601 | ||||
* | Ugh. Copy coalescer does not update register numbers. | Evan Cheng | 2007-04-02 | 1 | -2/+15 |
| | | | | llvm-svn: 35600 | ||||
* | add support for the 'w' inline asm register class. | Chris Lattner | 2007-04-02 | 1 | -6/+28 |
| | | | | llvm-svn: 35598 | ||||
* | 1. Make use of APInt operation instead of using ConstantExpr::getXXX. | Zhou Sheng | 2007-04-02 | 1 | -26/+19 |
| | | | | | | 2. Use cheaper APInt methods. llvm-svn: 35594 | ||||
* | Use uint32_t for bitwidth instead of unsigned. | Zhou Sheng | 2007-04-02 | 1 | -29/+29 |
| | | | | llvm-svn: 35593 |