Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add / merge tests. | Evan Cheng | 2007-01-30 | 2 | -10/+15 |
| | | | | llvm-svn: 33654 | ||||
* | In thumb mode, round up stack frame size to multiple of 4 since add/sub | Evan Cheng | 2007-01-30 | 1 | -115/+124 |
| | | | | | | sp, imm instructions implicitly multiply the offset by 4. llvm-svn: 33653 | ||||
* | Thumb eliminateFrameIndex fixes. | Evan Cheng | 2007-01-30 | 1 | -8/+27 |
| | | | | llvm-svn: 33652 | ||||
* | Change the operand orders to t_addrmode_s* to make it easier to morph | Evan Cheng | 2007-01-30 | 3 | -32/+26 |
| | | | | | | | instructions that use these address modes to instructions that use t_addrmode_sp. llvm-svn: 33651 | ||||
* | - In thumb mode, if size of MachineFunction is >= 2048, force LR to be | Evan Cheng | 2007-01-30 | 3 | -41/+123 |
| | | | | | | | | | | | | | spilled (if it is not already). - If LR is spilled, use BL to implement far jumps. LR is not used as a GPR in thumb mode so it can be clobbered if it is properly spilled / restored in prologue / epilogue. - If LR is force spilled but no far jump has been emitted, try undo'ing the spill by: push lr -> delete pop pc -> bx lr llvm-svn: 33650 | ||||
* | Use BL to implement Thumb far jumps. | Evan Cheng | 2007-01-30 | 1 | -0/+3 |
| | | | | llvm-svn: 33649 | ||||
* | test that the 'ir' constraint works. | Chris Lattner | 2007-01-29 | 1 | -0/+7 |
| | | | | llvm-svn: 33646 | ||||
* | Factor GetInstSize() out of constpool island pass. | Evan Cheng | 2007-01-29 | 3 | -70/+84 |
| | | | | llvm-svn: 33644 | ||||
* | add initial support for handling inline asms with multiple constraints. | Chris Lattner | 2007-01-29 | 1 | -4/+42 |
| | | | | | | | | This doesn't do the "right thing" but will probably work in most cases. This implements CodeGen/PowerPC/2007-01-29-lbrx-asm.ll. llvm-svn: 33643 | ||||
* | new testcase | Chris Lattner | 2007-01-29 | 1 | -0/+7 |
| | | | | llvm-svn: 33642 | ||||
* | Out of line function. | Jim Laskey | 2007-01-29 | 3 | -2/+9 |
| | | | | llvm-svn: 33641 | ||||
* | Use StartPassTimer() and StopPassManager() | Devang Patel | 2007-01-29 | 1 | -3/+2 |
| | | | | llvm-svn: 33640 | ||||
* | Only gather frame info if debug or eh. | Jim Laskey | 2007-01-29 | 4 | -5/+9 |
| | | | | llvm-svn: 33639 | ||||
* | - Undo previous check-in (i.e. Do not export TimingInfo class through | Devang Patel | 2007-01-29 | 2 | -54/+67 |
| | | | | | | | | | | | PassManagers.h). - Add StopPassTimer() and StartPassTimer() to expose TimingInfo to CallGraphPassManager - Use these two APIs in CalLgraphPassManager to measure timings. llvm-svn: 33638 | ||||
* | Finish off bug 680, allowing targets to custom lower frame and return | Nate Begeman | 2007-01-29 | 13 | -66/+69 |
| | | | | | | address nodes. llvm-svn: 33636 | ||||
* | We'd still like to register allocate r2 on darwin before the callee-save | Nate Begeman | 2007-01-29 | 1 | -6/+6 |
| | | | | | | regs. llvm-svn: 33635 | ||||
* | rename flag | Jim Laskey | 2007-01-29 | 1 | -1/+1 |
| | | | | llvm-svn: 33634 | ||||
* | Comment. | Evan Cheng | 2007-01-29 | 1 | -1/+1 |
| | | | | llvm-svn: 33633 | ||||
* | Remember if LR register has been spilled in this function. | Evan Cheng | 2007-01-29 | 2 | -5/+17 |
| | | | | llvm-svn: 33632 | ||||
* | Save all registers by default, as they can be used to pass parameters | Anton Korobeynikov | 2007-01-29 | 1 | -13/+11 |
| | | | | | | for "inreg" calls llvm-svn: 33631 | ||||
* | Update some of the llvm in the readme | Nate Begeman | 2007-01-29 | 1 | -25/+23 |
| | | | | llvm-svn: 33630 | ||||
* | Properly support cstrings | Nate Begeman | 2007-01-29 | 2 | -5/+16 |
| | | | | llvm-svn: 33629 | ||||
* | Flag to control exception handling. | Jim Laskey | 2007-01-29 | 3 | -2/+14 |
| | | | | llvm-svn: 33628 | ||||
* | Measure timings. | Devang Patel | 2007-01-29 | 1 | -2/+3 |
| | | | | llvm-svn: 33627 | ||||
* | Move TimingInfo into PassManagers.h so that other libs can use it. | Devang Patel | 2007-01-29 | 2 | -53/+54 |
| | | | | llvm-svn: 33626 | ||||
* | Disable zero landing pads for now. | Jim Laskey | 2007-01-29 | 1 | -1/+2 |
| | | | | llvm-svn: 33625 | ||||
* | Regenerate. | Reid Spencer | 2007-01-29 | 3 | -272/+342 |
| | | | | llvm-svn: 33624 | ||||
* | For PR1142: | Reid Spencer | 2007-01-29 | 1 | -4/+39 |
| | | | | | | | | | | When an unresolved definition is found, check to see if it is only unresolved because the csretcc was upgraded to the sret param attribute. Such changes change the function type and lead to unresolved definitions. In such cases, just cast the function to the type expected by the CallInst. That is, cast to the version of the function that has the sret param attribute. llvm-svn: 33623 | ||||
* | Landing pad-less eh for PPC. | Jim Laskey | 2007-01-29 | 7 | -129/+234 |
| | | | | llvm-svn: 33622 | ||||
* | Update project | Jim Laskey | 2007-01-29 | 1 | -6/+0 |
| | | | | llvm-svn: 33621 | ||||
* | Remove tabs. | Reid Spencer | 2007-01-29 | 1 | -2/+2 |
| | | | | llvm-svn: 33620 | ||||
* | Implement use of new IntrinsicLowering interface. | Reid Spencer | 2007-01-29 | 2 | -5/+10 |
| | | | | llvm-svn: 33619 | ||||
* | Use TargetData to obtain the correct size of the "size_t" argument for | Reid Spencer | 2007-01-29 | 1 | -9/+24 |
| | | | | | | | | functions like memcpy, memmove and memset. Ensure only one prototype is used for these functions and that it matches the system definition by using the appropriate type for the size argument. llvm-svn: 33618 | ||||
* | IntrinsicLowering now requires TargetData. | Reid Spencer | 2007-01-29 | 1 | -1/+3 |
| | | | | llvm-svn: 33617 | ||||
* | Update project. | Jim Laskey | 2007-01-29 | 1 | -6/+4 |
| | | | | llvm-svn: 33616 | ||||
* | Regenerate. | Reid Spencer | 2007-01-29 | 3 | -1261/+1163 |
| | | | | llvm-svn: 33615 | ||||
* | Upgrade old csret calling convention into sret parameter attribute. | Reid Spencer | 2007-01-29 | 2 | -15/+60 |
| | | | | llvm-svn: 33614 | ||||
* | Update this test case to look for sret parameter attribute not csret cc. | Reid Spencer | 2007-01-29 | 1 | -1/+2 |
| | | | | llvm-svn: 33613 | ||||
* | Simplify names of lattice values. SGTUNE becomes SGT, for example. | Nick Lewycky | 2007-01-29 | 1 | -71/+127 |
| | | | | | | | | | | | | | Fix initializeConstant, now initializeInt. Fixes major performance bottleneck. X == Y || X->DominatedBy(Y) is redundant. Remove the X == Y part. Fix crasher in makeEqual where getOrInsertNode would add a new constant, producing an NE relationship between the two members we're trying to make equal. This now allows us to mark more BBs as unreachable. llvm-svn: 33612 | ||||
* | Read from the right place. | Chris Lattner | 2007-01-29 | 1 | -1/+1 |
| | | | | llvm-svn: 33611 | ||||
* | Fix PR1139 | Chris Lattner | 2007-01-29 | 1 | -17/+24 |
| | | | | llvm-svn: 33610 | ||||
* | Make doxygen happy | Anton Korobeynikov | 2007-01-29 | 1 | -1/+1 |
| | | | | llvm-svn: 33609 | ||||
* | For PR1138: | Reid Spencer | 2007-01-28 | 1 | -4/+11 |
| | | | | | | | Force memcpy to be the 32-bit variant. Since this is only used with CBE and lli which both target 32-bit machines, this should be okay. llvm-svn: 33608 | ||||
* | Adjust a comment to reflect reality. | Reid Spencer | 2007-01-28 | 1 | -4/+4 |
| | | | | llvm-svn: 33607 | ||||
* | Arguments are counting from 1. not from 0. Maybe we should change | Anton Korobeynikov | 2007-01-28 | 1 | -1/+1 |
| | | | | | | numbering somehow? E.g. make return argument the last? llvm-svn: 33606 | ||||
* | More cleanup | Anton Korobeynikov | 2007-01-28 | 2 | -4/+5 |
| | | | | llvm-svn: 33605 | ||||
* | Drop CSRET from here too. | Nick Lewycky | 2007-01-28 | 1 | -1/+0 |
| | | | | llvm-svn: 33604 | ||||
* | Fix compile error "jump to case label crosses initialization". | Nick Lewycky | 2007-01-28 | 1 | -5/+6 |
| | | | | | | What compiler are people using that accepts this code? llvm-svn: 33603 | ||||
* | Grammar fix | Anton Korobeynikov | 2007-01-28 | 1 | -4/+5 |
| | | | | llvm-svn: 33602 | ||||
* | Merge error at my side. Fixed. | Anton Korobeynikov | 2007-01-28 | 4 | -294/+450 |
| | | | | llvm-svn: 33601 |