summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Make it possible to create an SCEVUnknown from an APInt as well as an int.Reid Spencer2007-03-011-0/+4
| | | | llvm-svn: 34816
* Although probably not necessary, guard against a potential assertion byReid Spencer2007-03-011-1/+1
| | | | | | using isNullValue() instead of getZExtValue() == 0. llvm-svn: 34815
* Use isUnitValue() instead of getZExtValue() == 1 which will prevent anReid Spencer2007-03-011-1/+1
| | | | | | assert if the ConstantInt's value is large. llvm-svn: 34814
* Use APInt conversion to string so the result is correct regardless of theReid Spencer2007-03-011-1/+1
| | | | | | bit width of the ConstantInt being converted. llvm-svn: 34810
* Use the APInt versions of the bit-wise conversions of float/double to intReid Spencer2007-03-011-8/+10
| | | | | | | | and back. While this is not strictly necessary, it does pave the way for future changes in casting. It should now be possible to improve vector casting to deal with un-equal fp/int sizes. llvm-svn: 34808
* Use modern variable name. ConstantUnsignedInt is long since dead. NoReid Spencer2007-03-011-2/+2
| | | | | | functional change with this patch. llvm-svn: 34806
* Emit eh filter info.Jim Laskey2007-03-011-18/+66
| | | | llvm-svn: 34805
* Collect eh filter info.Jim Laskey2007-03-011-12/+19
| | | | llvm-svn: 34804
* Use a simpler constructor for ConstantInt.Reid Spencer2007-03-011-1/+1
| | | | llvm-svn: 34803
* Lower eh filter intrinsic.Jim Laskey2007-03-012-1/+5
| | | | llvm-svn: 34802
* Wrap a long line.Reid Spencer2007-03-011-1/+2
| | | | llvm-svn: 34799
* Avoid a potential assert out if the loop increment is > 64 bits.Reid Spencer2007-03-011-1/+1
| | | | llvm-svn: 34798
* Regenerate.Reid Spencer2007-03-012-170/+156
| | | | llvm-svn: 34797
* The 64-bit constructor for ConstantInt changes from int64_t to uint64_t.Reid Spencer2007-03-011-1/+1
| | | | | | | This caused a warning for construction with -1. Avoid the warning by using -1ULL instead. llvm-svn: 34796
* Construct ConstantInt with simpler constructor.Reid Spencer2007-03-011-4/+4
| | | | llvm-svn: 34795
* Use a simpler constructor when constructing ConstantInt. Also, replaceReid Spencer2007-03-011-16/+9
| | | | | | | verbose code to sext/trunc or zext/trunc and APInt with new methods on that class. llvm-svn: 34794
* Use a simpler constructor when constructing ConstantInst.Reid Spencer2007-03-011-20/+19
| | | | llvm-svn: 34793
* Drop the ConstantInt(const Type&, const APInt&) constructor. It isReid Spencer2007-03-011-14/+9
| | | | | | redundant and more verbose than the ConstantInt(const APInt&) constructor. llvm-svn: 34792
* Make the static table of results in sqrt const.Reid Spencer2007-03-011-1/+1
| | | | llvm-svn: 34791
* Fix last night's 445.gobmk breakage which was caused by comparison ofReid Spencer2007-03-011-0/+1
| | | | | | APInt's of unequal bitwidth. llvm-svn: 34790
* Add methods for bit width modification: sextOrTrunc, zextOrTrunc.Reid Spencer2007-03-011-0/+16
| | | | llvm-svn: 34789
* Ensure that fastcall'ed function is correctly mangled & stack isAnton Korobeynikov2007-03-012-13/+20
| | | | | | properly aligned llvm-svn: 34788
* Implemented the frameaddress intrinsic for PPC.Nicolas Geoffray2007-03-012-1/+25
| | | | llvm-svn: 34787
* Delete register scavenger when done with it.Evan Cheng2007-03-011-0/+2
| | | | llvm-svn: 34786
* Use a spilled free callee-saved register as scratch register.Evan Cheng2007-03-011-3/+17
| | | | llvm-svn: 34785
* Add a version of FindUnusedReg that restrict search to a specific set of ↵Evan Cheng2007-03-011-0/+15
| | | | | | registers. llvm-svn: 34784
* - Track which callee-saved registers are spilled.Evan Cheng2007-03-013-20/+47
| | | | | | - Some code clean up. llvm-svn: 34783
* Remove the "isSigned" parameters from ConstantRange. It turns out theyReid Spencer2007-03-013-51/+35
| | | | | | | | are not needed as the results are the same with or without it. Patch by Nicholas Lewycky. llvm-svn: 34782
* Switch from std::vector<bool> to BitVector.Evan Cheng2007-03-011-12/+32
| | | | llvm-svn: 34781
* APIntify various computations in ScalarEvolutionReid Spencer2007-03-011-55/+52
| | | | llvm-svn: 34780
* Use a real table in sqrt to shorten and quicken the code.Reid Spencer2007-03-011-14/+10
| | | | | | Thanks for the idea Chris. llvm-svn: 34779
* Get rid of verboten <iostream> include.Bill Wendling2007-03-011-1/+0
| | | | llvm-svn: 34777
* Add a square root function.Reid Spencer2007-03-011-6/+87
| | | | llvm-svn: 34775
* Reduce #includage by taking a method out of line.Reid Spencer2007-03-011-0/+4
| | | | llvm-svn: 34774
* A restore is promoted to copy (or deleted entirely), remove the kill from ↵Evan Cheng2007-03-011-3/+4
| | | | | | the last use of the targetted register. llvm-svn: 34773
* Interface clean up.Evan Cheng2007-03-011-1/+1
| | | | llvm-svn: 34772
* Interface clean up.Evan Cheng2007-03-011-13/+7
| | | | llvm-svn: 34770
* Oops.Evan Cheng2007-03-011-1/+0
| | | | llvm-svn: 34768
* Track all joined registers and eliminate unneeded kills after all joining ↵Evan Cheng2007-03-011-22/+42
| | | | | | are done. llvm-svn: 34767
* For PR1205:Reid Spencer2007-02-281-16/+20
| | | | | | Make GetConstantFactor compute its result using an APInt. llvm-svn: 34765
* Changes requested in review of last pass. Also pulled isThumb into aDale Johannesen2007-02-281-113/+142
| | | | | | member, instead of resetting in every function that uses it. llvm-svn: 34764
* Doh. ARM::PC is obvious a reserved register.Evan Cheng2007-02-281-0/+1
| | | | llvm-svn: 34763
* For PR1205:Reid Spencer2007-02-282-13/+20
| | | | | | Adjust to changes in ConstantRange interface. llvm-svn: 34762
* Move ConstantRange class to lib/Support from lib/Analysis and make itsReid Spencer2007-02-281-76/+20
| | | | | | interface not depend on Type or ICmpInst. llvm-svn: 34761
* Provide an ICmpInst::makeConstantRange to generate a ConstantRange valueReid Spencer2007-02-281-0/+36
| | | | | | | from a predicate and an APInt. This is removed from ConstantRange class so that ConstantRange doesn't have to depend on lib/VMCore. llvm-svn: 34760
* Chain is on second operand.Jim Laskey2007-02-281-4/+23
| | | | llvm-svn: 34759
* For PR1205:Reid Spencer2007-02-283-46/+34
| | | | | | | Remove ConstantInt from ConstantRange interface and adjust its users to compensate. llvm-svn: 34758
* Implement a convenience method to construct a ConstantInt directly from anReid Spencer2007-02-281-0/+4
| | | | | | | APInt. The implied type is the integer type that corresponds to the bit width of the APInt. llvm-svn: 34757
* For PR1205:Reid Spencer2007-02-283-53/+28
| | | | | | | First round of ConstantRange changes. This makes all CR constructors use only APInt and not use ConstantInt. Clients are adjusted accordingly. llvm-svn: 34756
* Add intelligence about where to break large blocks.Dale Johannesen2007-02-282-36/+81
| | | | llvm-svn: 34755
OpenPOWER on IntegriCloud