summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* LLVM does not use the old style simple isel any more.Evan Cheng2007-10-081-5/+2
| | | | llvm-svn: 42758
* Remove debugging printf to get build going on x86-64.Evan Cheng2007-10-081-2/+0
| | | | llvm-svn: 42757
* When we start enabling SMUL_LOHI/UMUL_LOHI or SDIVREM/UDIVREM inDan Gohman2007-10-081-0/+14
| | | | | | target-indepenent lowering, don't use them on PowerPC. llvm-svn: 42755
* Add convenience overloads of SelectionDAG::getNode that take a SDVTListDan Gohman2007-10-082-0/+47
| | | | | | and individual SDOperand operands. llvm-svn: 42753
* Move the space in overview output for commands out of each of theDan Gohman2007-10-0819-19/+19
| | | | | | commands and into the common code. llvm-svn: 42752
* Simplify getIntPtrType, allowing it to work for arbitrary pointer sizes.Dan Gohman2007-10-081-6/+1
| | | | llvm-svn: 42751
* Use correct parentheses with the '&& "..."' idiom in an assert.Dan Gohman2007-10-081-2/+2
| | | | llvm-svn: 42750
* In -debug mode, dump SelectionDAGs both before and after theDan Gohman2007-10-081-1/+7
| | | | | | optimization passes. llvm-svn: 42749
* Fix grammar in a comment.Dan Gohman2007-10-081-1/+1
| | | | llvm-svn: 42748
* Add explicit keywords.Dan Gohman2007-10-086-16/+18
| | | | llvm-svn: 42747
* Use APInt::tcExtract. It's cleaner, and works :)Neil Booth2007-10-081-19/+14
| | | | llvm-svn: 42746
* Add a new function tcExtract for extracting a bignum from anNeil Booth2007-10-082-34/+83
| | | | | | | | | | | | | arbitrary range of bits embedded in the middle of another bignum. This kind of operation is desirable in many cases of software floating point, e.g. converting bignum integers to floating point numbers of fixed precision (you want to extract the precision most significant bits). Elsewhere, add an assertion, and exit the shift functions early if the shift count is zero. llvm-svn: 42745
* Fixed downrev Ocaml compatibility.Gordon Henriksen2007-10-081-2/+2
| | | | llvm-svn: 42744
* Begin the process of allowing DomTree on MBB's. Step One: template ↵Owen Anderson2007-10-082-35/+50
| | | | | | DomTreeNode by making it a typedef of a templated DomTreeNodeBase. llvm-svn: 42743
* Kill cycle of an live range is always the last use index + 1.Evan Cheng2007-10-081-1/+1
| | | | llvm-svn: 42742
* Allow passes to just pass up "FunctionPass(&ID)" instead of ↵Chris Lattner2007-10-081-0/+6
| | | | | | "FunctionPass((intptr_t)&ID)" llvm-svn: 42741
* C and Objective Caml bindings for getFunction and getNamedGlobal. Also enhancedGordon Henriksen2007-10-086-3/+69
| | | | | | | the Objective Caml 'declare_*' functions to behave more or less like getOrInsertFunction. llvm-svn: 42740
* disable this entirely: it is causing use of invalidated iterators and ↵Chris Lattner2007-10-071-0/+2
| | | | | | infinite looping. llvm-svn: 42739
* Fix many regressions on x86 by avoiding dereferencing the end iterator.Chris Lattner2007-10-071-35/+38
| | | | llvm-svn: 42738
* Finish off PR1723, by working around some strange compiler bug.Chris Lattner2007-10-071-2/+2
| | | | llvm-svn: 42737
* C and Objective Caml bindings for GlobalVariable::isConstant.Gordon Henriksen2007-10-077-1/+70
| | | | llvm-svn: 42736
* Add back convertFromSignExtendedInteger.Neil Booth2007-10-072-0/+32
| | | | llvm-svn: 42735
* Now that convertFromUnsignedParts has a sane, constant interface,Neil Booth2007-10-071-5/+1
| | | | | | | convertFromZeroExtendedInteger can be simplified as it doesn't need to make a copy of the source bignum. llvm-svn: 42734
* Reimplement convertFromUnsignedInteger so it is passed a const bignum.Neil Booth2007-10-072-20/+31
| | | | | | | | | It used to modify its argument in-place. This interface is saner and the implementation more efficient. It will be needed for decimal->binary conversion. llvm-svn: 42733
* convertFromInteger, as originally written, expected sign-extendedNeil Booth2007-10-076-12/+14
| | | | | | | | input. APInt unfortunately zero-extends signed integers, so Dale modified the function to expect zero-extended input. Make this assumption explicit in the function name. llvm-svn: 42732
* combineLostFractions does not need to be a member functionNeil Booth2007-10-072-17/+15
| | | | llvm-svn: 42729
* Some more problems noticed by CurtisDaniel Berlin2007-10-071-4/+8
| | | | llvm-svn: 42717
* C and Objective Caml bindings for PATypeHolder.Gordon Henriksen2007-10-076-1/+90
| | | | llvm-svn: 42713
* Bindings for the verifier.Gordon Henriksen2007-10-0613-24/+300
| | | | llvm-svn: 42707
* Deleting some unnecessary glue.Gordon Henriksen2007-10-063-21/+6
| | | | llvm-svn: 42702
* Adopting a uniform naming convention for type constructors inGordon Henriksen2007-10-064-61/+73
| | | | | | bindings (part le deux). llvm-svn: 42701
* Oops, I really wanted to commit this part also :)Anton Korobeynikov2007-10-061-2/+27
| | | | llvm-svn: 42700
* Move merge code into new helper function.Anton Korobeynikov2007-10-061-43/+34
| | | | llvm-svn: 42699
* Adopting a uniform naming convention for type constructors in bindings.Gordon Henriksen2007-10-063-31/+31
| | | | llvm-svn: 42698
* Adopting a uniform naming convention for constant constructors in bindings.Gordon Henriksen2007-10-066-134/+127
| | | | llvm-svn: 42697
* Adding C and Ocaml bindings for ConstantExpr.Gordon Henriksen2007-10-068-15/+478
| | | | llvm-svn: 42696
* Include DataTypes.h to provide intptr_t type. This fixes OpenBSD compilation ↵Anton Korobeynikov2007-10-061-0/+1
| | | | | | | | of this file. Inspired by Laurence Tratt's patch llvm-svn: 42695
* Reapply 42677.Evan Cheng2007-10-061-3/+52
| | | | llvm-svn: 42692
* Oops. Forgot this.Evan Cheng2007-10-061-0/+10
| | | | llvm-svn: 42691
* Cleaner, more general exponent output.Neil Booth2007-10-061-21/+22
| | | | llvm-svn: 42690
* silence warnings in no-assert build.Chris Lattner2007-10-061-23/+20
| | | | llvm-svn: 42687
* revert evan's patch until the header is committedChris Lattner2007-10-061-52/+3
| | | | llvm-svn: 42686
* Added DAG xforms. e.g.Evan Cheng2007-10-062-11/+52
| | | | | | | | (vextract (v4f32 s2v (f32 load $addr)), 0) -> (f32 load $addr) (vextract (v4i32 bc (v4f32 s2v (f32 load $addr))), 0) -> (i32 load $addr) Remove x86 specific patterns. llvm-svn: 42677
* Next powerpc long double bits. Comparisons work,Dale Johannesen2007-10-062-28/+60
| | | | | | although not well, and shortening FP converts. llvm-svn: 42672
* Make test work on non-x86 hosts.Dale Johannesen2007-10-061-1/+1
| | | | llvm-svn: 42671
* Fix and clarify some comments.Neil Booth2007-10-061-12/+12
| | | | llvm-svn: 42670
* Generalize tcFullMultiply so that the operands can be of differingNeil Booth2007-10-063-20/+30
| | | | | | | | part widths. Also, return the number of parts actually required to hold the result's value. Remove an over-cautious condition from rounding of float->hex conversion. llvm-svn: 42669
* Wrapping Value::dump.Gordon Henriksen2007-10-065-0/+13
| | | | llvm-svn: 42668
* Removing the silly CHelpers header by rolling wrap and unwrap into the CGordon Henriksen2007-10-055-125/+101
| | | | | | bindings headers themselves, hidden behind #ifdef __cplusplus. llvm-svn: 42666
* Test case for 3-address conversion.Evan Cheng2007-10-051-0/+32
| | | | llvm-svn: 42664
OpenPOWER on IntegriCloud