| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Not all users of a BB are Instructions any more. | Nick Lewycky | 2008-03-08 | 1 | -5/+3 |
| | | | | | llvm-svn: 48047 | ||||
| * | Remove unused runPass methods. | Dan Gohman | 2008-03-08 | 1 | -15/+0 |
| | | | | | llvm-svn: 48044 | ||||
| * | Implement x86 support for @llvm.prefetch. It corresponds to prefetcht{0|1|2} ↵ | Evan Cheng | 2008-03-08 | 1 | -0/+5 |
| | | | | | | | and prefetchnta instructions. llvm-svn: 48042 | ||||
| * | There is no killUse. | Dan Gohman | 2008-03-07 | 1 | -1/+1 |
| | | | | | llvm-svn: 48034 | ||||
| * | Add new sretpromotion pass. | Devang Patel | 2008-03-07 | 1 | -0/+1 |
| | | | | | llvm-svn: 48032 | ||||
| * | RetVal is not used when there are more then one return operands. | Devang Patel | 2008-03-07 | 1 | -2/+3 |
| | | | | | llvm-svn: 48022 | ||||
| * | add a pass that can extract all kinds of global values, not just functions. ↵ | Andrew Lenharth | 2008-03-07 | 1 | -0/+9 |
| | | | | | | | Update llvm-extract to use it and optionally extract a global variable if you want it too llvm-svn: 48015 | ||||
| * | Cleanup some comments in the OCaml bindings. | Gordon Henriksen | 2008-03-07 | 1 | -8/+14 |
| | | | | | | | Patch by Erick Tryzelaar. llvm-svn: 48014 | ||||
| * | When setting the "unused" info, take into account something like this: | Bill Wendling | 2008-03-06 | 1 | -1/+1 |
| | | | | | | | | | %r3<def> = OR %x3<kill>, %x3 We don't want to mark the %r3 as unused even though it's a sub-register of %x3. llvm-svn: 48003 | ||||
| * | fix typos | Gabor Greif | 2008-03-06 | 1 | -1/+1 |
| | | | | | llvm-svn: 47994 | ||||
| * | Treat BBs that use BBs as proper predecessors and successors in the CFG. | Nick Lewycky | 2008-03-06 | 1 | -7/+17 |
| | | | | | llvm-svn: 47989 | ||||
| * | Clarify that CALLSEQ_START..END may not be nested, | Dale Johannesen | 2008-03-05 | 1 | -0/+1 |
| | | | | | | | and add some protection against creating such. llvm-svn: 47957 | ||||
| * | Add a target lowering hook to control whether it's worthwhile to compress fp ↵ | Evan Cheng | 2008-03-05 | 1 | -0/+5 |
| | | | | | | | | | constant. For x86, if sse2 is available, it's not a good idea since cvtss2sd is slower than a movsd load and it prevents load folding. On x87, it's important to shrink fp constant since fldt is very expensive. llvm-svn: 47931 | ||||
| * | Codegen support for i128 SINT_TO_FP. | Dan Gohman | 2008-03-05 | 1 | -0/+4 |
| | | | | | llvm-svn: 47928 | ||||
| * | Refactor code. Remove duplicated functions that basically do the same thing as | Evan Cheng | 2008-03-05 | 3 | -16/+59 |
| | | | | | | | findRegisterUseOperandIdx, findRegisterDefOperandIndx. Fix some naming inconsistencies. llvm-svn: 47927 | ||||
| * | Revert SmallVector ctor variants. | Devang Patel | 2008-03-04 | 1 | -9/+0 |
| | | | | | llvm-svn: 47908 | ||||
| * | Add FunctionType ctor variant that takes SmallVector params. | Devang Patel | 2008-03-04 | 1 | -0/+9 |
| | | | | | llvm-svn: 47895 | ||||
| * | Fix 80 column violations. | Evan Cheng | 2008-03-04 | 1 | -8/+13 |
| | | | | | llvm-svn: 47877 | ||||
| * | Rename isOperand() to isOperandOf() (and other similar methods). It always ↵ | Evan Cheng | 2008-03-04 | 1 | -10/+10 |
| | | | | | | | confuses me. llvm-svn: 47872 | ||||
| * | This is the initial check-in for adding register scavenging to PPC. (Currently, | Bill Wendling | 2008-03-03 | 1 | -2/+2 |
| | | | | | | | | | | PPC-64 doesn't work.) This also lowers the spilling of the CR registers so that it uses a register other than the default R0 register (the scavenger scrounges for one). A significant part of this patch fixes how kill information is handled. llvm-svn: 47863 | ||||
| * | s/isReturnStruct()/hasStructRetAttr()/g | Devang Patel | 2008-03-03 | 2 | -6/+9 |
| | | | | | llvm-svn: 47857 | ||||
| * | Stub out a Path::GetMainExecutable call to find the path to the | Chris Lattner | 2008-03-03 | 1 | -0/+4 |
| | | | | | | | main executable of a program. This needs to be implemented on windows. llvm-svn: 47835 | ||||
| * | make operand accessors const-correct | Chris Lattner | 2008-03-02 | 1 | -1/+5 |
| | | | | | llvm-svn: 47814 | ||||
| * | Add a new ShuffleVectorInst::getMaskValue method. | Chris Lattner | 2008-03-02 | 1 | -0/+5 |
| | | | | | llvm-svn: 47813 | ||||
| * | Add an unwind_to field to basic blocks, making them Users instead of Values. | Nick Lewycky | 2008-03-02 | 2 | -3/+17 |
| | | | | | | | This is the first checkin for PR1269, the new EH infrastructure. llvm-svn: 47802 | ||||
| * | Add MVT::is128BitVector and is64BitVector. Shrink | Dale Johannesen | 2008-03-01 | 1 | -0/+13 |
| | | | | | | | | unaligned load/store code using them. Per review of unaligned load/store vector patch. llvm-svn: 47782 | ||||
| * | Add pass to promote sret. | Devang Patel | 2008-02-29 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | This pass transforms %struct._Point = type { i32, i32, i32, i32, i32, i32 } define internal void @foo(%struct._Point* sret %agg.result) into %struct._Point = type { i32, i32, i32, i32, i32, i32 } define internal %struct._Point @foo() This pass updates foo() clients appropriately to use getresult instruction to extract return values. This pass is not yet ready for prime time. llvm-svn: 47776 | ||||
| * | Use enumeration for preffered EH dwarf encoding reason | Anton Korobeynikov | 2008-02-29 | 1 | -1/+11 |
| | | | | | llvm-svn: 47770 | ||||
| * | Don't fill eh frames even though these are text sections. | Evan Cheng | 2008-02-29 | 1 | -2/+6 |
| | | | | | llvm-svn: 47765 | ||||
| * | Add support to APInt for shift and rotate operations with APInt | Dan Gohman | 2008-02-29 | 1 | -0/+22 |
| | | | | | | | instead of uint32_t for the shift/rotate count operand type. llvm-svn: 47741 | ||||
| * | Add a method to APFloat to convert directly from APInt. | Dan Gohman | 2008-02-29 | 1 | -0/+2 |
| | | | | | llvm-svn: 47738 | ||||
| * | Interface of getByValTypeAlignment differed between | Dale Johannesen | 2008-02-28 | 1 | -1/+2 |
| | | | | | | | | | generic & x86 versions; change generic to follow x86 and improve comments. Add PPC version (not right for non-Darwin.) llvm-svn: 47734 | ||||
| * | Document that the shuffle mask may contain undef | Duncan Sands | 2008-02-28 | 1 | -7/+7 |
| | | | | | | | values. llvm-svn: 47719 | ||||
| * | Add a quick and dirty "loop aligner pass". x86 uses it to align its loops to ↵ | Evan Cheng | 2008-02-28 | 6 | -10/+52 |
| | | | | | | | 16-byte boundaries. llvm-svn: 47703 | ||||
| * | Remove dead code. | Devang Patel | 2008-02-27 | 1 | -4/+0 |
| | | | | | llvm-svn: 47700 | ||||
| * | Preparation step for some cleanup/generalization in EH information emission: | Anton Korobeynikov | 2008-02-27 | 1 | -0/+6 |
| | | | | | | | provide TAI hook for selection of EH data emission format. Currently unused. llvm-svn: 47699 | ||||
| * | Assert on invalid PHINode::addIncoming() arguments. Patch by Erick Tryzelaar! | Anton Korobeynikov | 2008-02-27 | 1 | -0/+2 |
| | | | | | llvm-svn: 47697 | ||||
| * | fixes from review of first commit | Nick Kledzik | 2008-02-27 | 1 | -3/+4 |
| | | | | | llvm-svn: 47695 | ||||
| * | Fix a bug in dead spill slot elimination. | Evan Cheng | 2008-02-27 | 1 | -0/+4 |
| | | | | | llvm-svn: 47687 | ||||
| * | Add -analyze support to postdomtree. | Dan Gohman | 2008-02-27 | 2 | -1/+8 |
| | | | | | llvm-svn: 47680 | ||||
| * | LegalizeTypes support for INSERT_VECTOR_ELT. | Duncan Sands | 2008-02-27 | 1 | -1/+2 |
| | | | | | llvm-svn: 47669 | ||||
| * | Don't track max alignment during stack object allocations since they can be ↵ | Evan Cheng | 2008-02-27 | 1 | -4/+0 |
| | | | | | | | deleted later. Let PEI compute it. llvm-svn: 47668 | ||||
| * | Final de-tabification. | Bill Wendling | 2008-02-27 | 1 | -26/+25 |
| | | | | | llvm-svn: 47663 | ||||
| * | Add path separator support, patch by Sam Bishop. | Chris Lattner | 2008-02-27 | 1 | -0/+4 |
| | | | | | llvm-svn: 47662 | ||||
| * | Spiller now remove unused spill slots. | Evan Cheng | 2008-02-27 | 1 | -1/+21 |
| | | | | | llvm-svn: 47657 | ||||
| * | Convert the last remaining users of the non-APInt form of | Dan Gohman | 2008-02-27 | 1 | -6/+0 |
| | | | | | | | | ComputeMaskedBits to use the APInt form, and remove the non-APInt form. llvm-svn: 47654 | ||||
| * | Add comment. | Devang Patel | 2008-02-27 | 1 | -0/+3 |
| | | | | | llvm-svn: 47653 | ||||
| * | Convert SimplifyDemandedMask and ShrinkDemandedConstant to use APInt. | Dan Gohman | 2008-02-27 | 1 | -3/+3 |
| | | | | | | | | | Change several cases in SimplifyDemandedMask that don't ever do any simplifying to reuse the logic in ComputeMaskedBits instead of duplicating it. llvm-svn: 47648 | ||||
| * | Remove unncessary ReturnInst constructors. | Devang Patel | 2008-02-26 | 1 | -3/+0 |
| | | | | | llvm-svn: 47633 | ||||
| * | Rename PrintableName to Name. | Bill Wendling | 2008-02-26 | 1 | -6/+6 |
| | | | | | llvm-svn: 47629 | ||||

