summaryrefslogtreecommitdiffstats
path: root/llvm/include
Commit message (Collapse)AuthorAgeFilesLines
* Not all users of a BB are Instructions any more.Nick Lewycky2008-03-081-5/+3
| | | | llvm-svn: 48047
* Remove unused runPass methods.Dan Gohman2008-03-081-15/+0
| | | | llvm-svn: 48044
* Implement x86 support for @llvm.prefetch. It corresponds to prefetcht{0|1|2} ↵Evan Cheng2008-03-081-0/+5
| | | | | | and prefetchnta instructions. llvm-svn: 48042
* There is no killUse.Dan Gohman2008-03-071-1/+1
| | | | llvm-svn: 48034
* Add new sretpromotion pass.Devang Patel2008-03-071-0/+1
| | | | llvm-svn: 48032
* RetVal is not used when there are more then one return operands.Devang Patel2008-03-071-2/+3
| | | | llvm-svn: 48022
* add a pass that can extract all kinds of global values, not just functions. ↵Andrew Lenharth2008-03-071-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 Henriksen2008-03-071-8/+14
| | | | | | Patch by Erick Tryzelaar. llvm-svn: 48014
* When setting the "unused" info, take into account something like this:Bill Wendling2008-03-061-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 typosGabor Greif2008-03-061-1/+1
| | | | llvm-svn: 47994
* Treat BBs that use BBs as proper predecessors and successors in the CFG.Nick Lewycky2008-03-061-7/+17
| | | | llvm-svn: 47989
* Clarify that CALLSEQ_START..END may not be nested,Dale Johannesen2008-03-051-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 Cheng2008-03-051-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 Gohman2008-03-051-0/+4
| | | | llvm-svn: 47928
* Refactor code. Remove duplicated functions that basically do the same thing asEvan Cheng2008-03-053-16/+59
| | | | | | findRegisterUseOperandIdx, findRegisterDefOperandIndx. Fix some naming inconsistencies. llvm-svn: 47927
* Revert SmallVector ctor variants.Devang Patel2008-03-041-9/+0
| | | | llvm-svn: 47908
* Add FunctionType ctor variant that takes SmallVector params.Devang Patel2008-03-041-0/+9
| | | | llvm-svn: 47895
* Fix 80 column violations.Evan Cheng2008-03-041-8/+13
| | | | llvm-svn: 47877
* Rename isOperand() to isOperandOf() (and other similar methods). It always ↵Evan Cheng2008-03-041-10/+10
| | | | | | confuses me. llvm-svn: 47872
* This is the initial check-in for adding register scavenging to PPC. (Currently,Bill Wendling2008-03-031-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()/gDevang Patel2008-03-032-6/+9
| | | | llvm-svn: 47857
* Stub out a Path::GetMainExecutable call to find the path to theChris Lattner2008-03-031-0/+4
| | | | | | main executable of a program. This needs to be implemented on windows. llvm-svn: 47835
* make operand accessors const-correctChris Lattner2008-03-021-1/+5
| | | | llvm-svn: 47814
* Add a new ShuffleVectorInst::getMaskValue method.Chris Lattner2008-03-021-0/+5
| | | | llvm-svn: 47813
* Add an unwind_to field to basic blocks, making them Users instead of Values.Nick Lewycky2008-03-022-3/+17
| | | | | | This is the first checkin for PR1269, the new EH infrastructure. llvm-svn: 47802
* Add MVT::is128BitVector and is64BitVector. ShrinkDale Johannesen2008-03-011-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 Patel2008-02-291-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 reasonAnton Korobeynikov2008-02-291-1/+11
| | | | llvm-svn: 47770
* Don't fill eh frames even though these are text sections.Evan Cheng2008-02-291-2/+6
| | | | llvm-svn: 47765
* Add support to APInt for shift and rotate operations with APIntDan Gohman2008-02-291-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 Gohman2008-02-291-0/+2
| | | | llvm-svn: 47738
* Interface of getByValTypeAlignment differed betweenDale Johannesen2008-02-281-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 undefDuncan Sands2008-02-281-7/+7
| | | | | | values. llvm-svn: 47719
* Add a quick and dirty "loop aligner pass". x86 uses it to align its loops to ↵Evan Cheng2008-02-286-10/+52
| | | | | | 16-byte boundaries. llvm-svn: 47703
* Remove dead code.Devang Patel2008-02-271-4/+0
| | | | llvm-svn: 47700
* Preparation step for some cleanup/generalization in EH information emission:Anton Korobeynikov2008-02-271-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 Korobeynikov2008-02-271-0/+2
| | | | llvm-svn: 47697
* fixes from review of first commitNick Kledzik2008-02-271-3/+4
| | | | llvm-svn: 47695
* Fix a bug in dead spill slot elimination.Evan Cheng2008-02-271-0/+4
| | | | llvm-svn: 47687
* Add -analyze support to postdomtree.Dan Gohman2008-02-272-1/+8
| | | | llvm-svn: 47680
* LegalizeTypes support for INSERT_VECTOR_ELT.Duncan Sands2008-02-271-1/+2
| | | | llvm-svn: 47669
* Don't track max alignment during stack object allocations since they can be ↵Evan Cheng2008-02-271-4/+0
| | | | | | deleted later. Let PEI compute it. llvm-svn: 47668
* Final de-tabification.Bill Wendling2008-02-271-26/+25
| | | | llvm-svn: 47663
* Add path separator support, patch by Sam Bishop. Chris Lattner2008-02-271-0/+4
| | | | llvm-svn: 47662
* Spiller now remove unused spill slots.Evan Cheng2008-02-271-1/+21
| | | | llvm-svn: 47657
* Convert the last remaining users of the non-APInt form ofDan Gohman2008-02-271-6/+0
| | | | | | | ComputeMaskedBits to use the APInt form, and remove the non-APInt form. llvm-svn: 47654
* Add comment.Devang Patel2008-02-271-0/+3
| | | | llvm-svn: 47653
* Convert SimplifyDemandedMask and ShrinkDemandedConstant to use APInt.Dan Gohman2008-02-271-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 Patel2008-02-261-3/+0
| | | | llvm-svn: 47633
* Rename PrintableName to Name.Bill Wendling2008-02-261-6/+6
| | | | llvm-svn: 47629
OpenPOWER on IntegriCloud