aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Move PMTopLevelManager and TImingInfo into anon namespace.Devang Patel2006-12-151-8/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32606 91177308-0d34-0410-b5e6-96231b3b80d8
* Not all test cases are created equal. This fix is needed.Jim Laskey2006-12-151-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32605 91177308-0d34-0410-b5e6-96231b3b80d8
* Not needed. Misinterpreted error message from other bug (Missing load/storeJim Laskey2006-12-151-4/+0
| | | | | | | relocations.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32604 91177308-0d34-0410-b5e6-96231b3b80d8
* extern_weak linkage. fixes PR1038Andrew Lenharth2006-12-151-1/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32603 91177308-0d34-0410-b5e6-96231b3b80d8
* Missing load/store relocations.Jim Laskey2006-12-151-1/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32601 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide 64-bit support for i64 sextload<i8>.Jim Laskey2006-12-151-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32600 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide support for FP_TO_UINT.Jim Laskey2006-12-151-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32599 91177308-0d34-0410-b5e6-96231b3b80d8
* silence a bogus warningChris Lattner2006-12-151-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32597 91177308-0d34-0410-b5e6-96231b3b80d8
* re-enable a temporarily-reverted patchChris Lattner2006-12-151-53/+132
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32595 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor clean up.Evan Cheng2006-12-151-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32593 91177308-0d34-0410-b5e6-96231b3b80d8
* This is done.Evan Cheng2006-12-151-5/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32591 91177308-0d34-0410-b5e6-96231b3b80d8
* Expand FP compares to soft-fp call(s)Evan Cheng2006-12-151-7/+102
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32590 91177308-0d34-0410-b5e6-96231b3b80d8
* s/ForcedLastUses/TransferLastUses/gDevang Patel2006-12-151-12/+26
| | | | | | | | | | Register pass has the its last user, otherwise sometimes no one will claim LastUse. Handle transferred last uses from child pass manager. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32589 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify the fetching of relocation mode.Jim Laskey2006-12-141-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32588 91177308-0d34-0410-b5e6-96231b3b80d8
* f64 <-> i64 bit_convert using movq in 64-bit mode.Evan Cheng2006-12-143-4/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32587 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a couple of typo's.Evan Cheng2006-12-141-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32585 91177308-0d34-0410-b5e6-96231b3b80d8
* This is done.Evan Cheng2006-12-141-5/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32584 91177308-0d34-0410-b5e6-96231b3b80d8
* Added MOVSS2DIrr and MOVDI2SSrr to foldMemeoryOperand().Evan Cheng2006-12-141-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32583 91177308-0d34-0410-b5e6-96231b3b80d8
* - Rename MOVDSS2DIrr to MOVSS2DIrr for consistency sake.Evan Cheng2006-12-141-3/+9
| | | | | | | | - Add MOVDI2SSrm and MOVSS2DImr to fold load / store for i32 <-> f32 bit_convert patterns. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32582 91177308-0d34-0410-b5e6-96231b3b80d8
* 1. Tidy up jump table info.Jim Laskey2006-12-144-59/+80
| | | | | | | 2. Allow the jit to handle PIC relocable jump tables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32581 91177308-0d34-0410-b5e6-96231b3b80d8
* avoid using a constant table when a constant can be used inlineRafael Espindola2006-12-141-24/+82
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32580 91177308-0d34-0410-b5e6-96231b3b80d8
* random minor typographical changesChris Lattner2006-12-141-14/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32579 91177308-0d34-0410-b5e6-96231b3b80d8
* Avoid creating invalid sub/add instructions on the prolog/epilogRafael Espindola2006-12-141-10/+86
| | | | | | | patch by Lauro git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32577 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a long-standing spiller bug:Evan Cheng2006-12-141-1/+35
| | | | | | | | | | | | | | | | | If a spillslot value is available in a register, and there is a noop copy that targets that register, the spiller correctly decide not to invalidate the spillslot register. However, even though the noop copy does not clobbers the value. It does start a new intersecting live range. That means the spillslot register is available for use but should not be reused for a two-address instruction modref operand which would clobber the new live range. When we remove the noop copy, update the available information by clearing the canClobber bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32576 91177308-0d34-0410-b5e6-96231b3b80d8
* Add -time-passes support.Devang Patel2006-12-141-1/+87
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32574 91177308-0d34-0410-b5e6-96231b3b80d8
* Add debug-pass=Details support to print Required and Preserved Set info.Devang Patel2006-12-141-1/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32573 91177308-0d34-0410-b5e6-96231b3b80d8
* Add " Made Modification " messages in debug-pass=Executions output.Devang Patel2006-12-141-3/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32572 91177308-0d34-0410-b5e6-96231b3b80d8
* Add debug-pass=Executions support in new pass manager.Devang Patel2006-12-131-6/+27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32571 91177308-0d34-0410-b5e6-96231b3b80d8
* Add -pass-debug=Arguments support in new manager.Devang Patel2006-12-131-1/+29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32567 91177308-0d34-0410-b5e6-96231b3b80d8
* fit in 80 colsChris Lattner2006-12-131-6/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32563 91177308-0d34-0410-b5e6-96231b3b80d8
* Using PDL as a prefix for PassDebugLevel enums is not a good idea.Devang Patel2006-12-133-19/+29
| | | | | | | Fix it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32562 91177308-0d34-0410-b5e6-96231b3b80d8
* Add note.Evan Cheng2006-12-131-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32561 91177308-0d34-0410-b5e6-96231b3b80d8
* More soft-fp work.Evan Cheng2006-12-132-37/+41
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32559 91177308-0d34-0410-b5e6-96231b3b80d8
* Move enum PassDebugLevel from PassManagerT.h to Pass.h.Devang Patel2006-12-133-21/+42
| | | | | | | | Use PDL as the prefix for these enums. Define and use PassDebugging_New in new PassManager. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32554 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed from PARALLEL_DIRS to DIRS since we're only building one directory.John Criswell2006-12-131-1/+1
| | | | | | | Thanks Reid. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32551 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove DSA.John Criswell2006-12-1314-7235/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32550 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bug in EvaluateInDifferentType. The type of operand should not beReid Spencer2006-12-131-20/+17
| | | | | | | | | | used to determine whether a ZExt or SExt cast is performed. Instead, pass an "isSigned" bool to the function and determine its value from the opcode of the cast involved. Also, clean up some cruft from previous patches. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32548 91177308-0d34-0410-b5e6-96231b3b80d8
* Update version in safe guards.Jim Laskey2006-12-131-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32546 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement review feedback. Most of this has to do with removing unnecessaryReid Spencer2006-12-131-43/+16
| | | | | | | cast instructions. A few are bug fixes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32544 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove DSA.John Criswell2006-12-131-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32542 91177308-0d34-0410-b5e6-96231b3b80d8
* For mul transforms, when checking for a cast from bool as either operand,Reid Spencer2006-12-131-2/+4
| | | | | | | | make sure to also check that it is a zext from bool, not any other cast operation type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32539 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix and/or/xor (cast A), (cast B) --> cast (and/or/xor A, B)Reid Spencer2006-12-131-41/+40
| | | | | | | | | The cast patch introduced the possibility that the wrong cast opcode could be used and that this transform could trigger on different kinds of cast operations. This patch rectifies that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32538 91177308-0d34-0410-b5e6-96231b3b80d8
* Change the interface to SCEVExpander::InsertCastOfTo to take a cast opcodeReid Spencer2006-12-132-31/+23
| | | | | | | | so the decision of which opcode to use is pushed upward to the caller. Adjust the callers to pass the expected opcode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32535 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix some casts. isdigit(c) returns 0 or 1, not 0 or -1Reid Spencer2006-12-131-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32534 91177308-0d34-0410-b5e6-96231b3b80d8
* only check non-external functionsChris Lattner2006-12-131-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32530 91177308-0d34-0410-b5e6-96231b3b80d8
* Reject attempts to define intrinsics. This fixes PR1047 andChris Lattner2006-12-131-0/+7
| | | | | | | Regression/Verifier/2006-12-12-IntrinsicDefine.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32529 91177308-0d34-0410-b5e6-96231b3b80d8
* Expand (f64 extload f32) to (f64 fp_ext (load f32)) if f64 type action is ↵Evan Cheng2006-12-131-0/+10
| | | | | | expand. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32527 91177308-0d34-0410-b5e6-96231b3b80d8
* Expand fsqrt, fsin, and fcos to libcalls.Evan Cheng2006-12-131-10/+25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32526 91177308-0d34-0410-b5e6-96231b3b80d8
* Add #ifdef switch toggle between old and new pass manager. However,Devang Patel2006-12-132-37/+65
| | | | | | | | continue to use old pass manager at the moment. To use new manager remove #define USE_OLD_PASSMANAGER 1 from Pass.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32525 91177308-0d34-0410-b5e6-96231b3b80d8
* revert my recent int<->fp and vector union promotion changes, they exposeChris Lattner2006-12-131-132/+53
| | | | | | | | obscure bugs affecting the X86 code generator. I will reenable this when fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32524 91177308-0d34-0410-b5e6-96231b3b80d8