aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/ConstantFolding.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* Give these files top-level comments that describe the current code.Dan Gohman2009-09-101-3/+7
* Revert 80959. It isn't sufficient to solve the full problem. And itDan Gohman2009-09-031-12/+6
* Remove the API for creating ConstantExprs with the nsw, nuw, inbounds,Dan Gohman2009-09-031-6/+12
* fix PR4848 an infinite loop when indexing down through a recursive gepChris Lattner2009-09-021-1/+1
* Don't assume that the operand of an inttoptr is an pointer-sized integer.Dan Gohman2009-08-211-1/+3
* Change getelementptr folding to use APInt instead of uint64_t forDan Gohman2009-08-211-11/+15
* Various comment and whitespace cleanups.Dan Gohman2009-08-201-1/+1
* Fix a bug in the over-index constant folding. When over-indexing anDan Gohman2009-08-191-8/+24
* Canonicalize indices in a constantexpr GEP. If Indices exceed theDan Gohman2009-08-191-4/+48
* Push LLVMContexts through the IntegerType APIs.Owen Anderson2009-08-131-14/+17
* Move a few more APIs back to 2.5 forms. The only remaining ones left to chan...Owen Anderson2009-07-311-9/+9
* Move more code back to 2.5 APIs.Owen Anderson2009-07-301-4/+4
* Move types back to the 2.5 API.Owen Anderson2009-07-291-4/+4
* Move ConstantExpr to 2.5 API.Owen Anderson2009-07-291-26/+26
* Return ConstantVector to 2.5 API.Owen Anderson2009-07-281-1/+1
* Move ConstantFP construction back to the 2.5-ish API.Owen Anderson2009-07-271-6/+6
* Remove Value::getNameLenDaniel Dunbar2009-07-261-78/+44
* Revert the ConstantInt constructors back to their 2.5 forms where possible, t...Owen Anderson2009-07-241-10/+10
* Get rid of the Pass+Context magic.Owen Anderson2009-07-221-71/+71
* llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.Torok Edwin2009-07-141-3/+3
* assert(0) -> LLVM_UNREACHABLE.Torok Edwin2009-07-111-3/+4
* Remove the vicmp and vfcmp instructions. Because we never had a release withNick Lewycky2009-07-081-2/+0
* "LLVMContext* " --> "LLVMContext *"Owen Anderson2009-07-061-11/+11
* Thread LLVMContext through the constant folding APIs, which touches a lot of ...Owen Anderson2009-07-061-102/+120
* Support vector casts in more places, fixing a variety of assertionDan Gohman2009-06-151-2/+2
* Change ConstantFoldConstantExpression to accept a nullDan Gohman2009-06-021-2/+0
* Use v.data() instead of &v[0] when SmallVector v might be empty.Jay Foad2009-05-211-5/+5
* Rename PaddedSize to AllocSize, in the hope that thisDuncan Sands2009-05-091-3/+3
* Revert 71165. It did more than just revert 71158 and it introducedDan Gohman2009-05-071-4/+36
* Temporarily revert r71158. It was causing a failure during a full bootstrap:Bill Wendling2009-05-071-36/+4
* Constant-fold ptrtoint+add+inttoptr to gep when the pointer is anDan Gohman2009-05-071-4/+36
* use higher level APIs.Chris Lattner2009-04-031-8/+6
* Rename getABITypeSize to getTypePaddedSize, asDuncan Sands2009-01-121-1/+1
* Fix whitespace in comment.Nick Lewycky2008-12-151-2/+1
* undef beats zero. Fix this missed optimization opportunity. Patch by Matt Elder!Nick Lewycky2008-11-201-1/+1
* Don't try to create a mask when we don't need one. Fixes a crash.Nick Lewycky2008-10-241-4/+6
* Teach constant folding that an inttoptr of aDuncan Sands2008-08-131-0/+13
* Fix minor issues with VICmp/VFCmp constant expressionsNate Begeman2008-07-251-1/+3
* "ret (constexpr)" can't be folded into a Constant. Add a method toNick Lewycky2008-05-251-16/+45
* transform more loops to iterator form, detabifyGabor Greif2008-05-221-1/+1
* Rewrite operand loops to use iterators. This shrinks .o file (at gcc4.0.1 -O3...Gabor Greif2008-05-221-4/+5
* suppress gcc3.4.6's <no value returned> warningsGabor Greif2008-05-211-0/+2
* Remove dead return. Thanks to Bill for the review!Chris Lattner2008-05-081-2/+0
* Add support for constant folding the 'offsetof' pattern even if theChris Lattner2008-05-081-16/+23
* Switch to using Simplified ConstantFP::get API.Chris Lattner2008-04-201-11/+9
* minor code cleanups, allow constant folding sinf/cosf.Chris Lattner2008-03-301-20/+26
* Avoid unnecessarily casting away const, fixing a FIXME.Dan Gohman2008-01-311-1/+1
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
* Fix a bug in my previous patch, thanks to Jay Foad forChris Lattner2007-12-121-2/+2
* Implement constant folding if vector<->vector bitcasts where the numberChris Lattner2007-12-111-2/+122