aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/ConstantFolding.cpp
AgeCommit message (Expand)Author
2009-08-21Don't assume that the operand of an inttoptr is an pointer-sized integer.Dan Gohman
2009-08-21Change getelementptr folding to use APInt instead of uint64_t forDan Gohman
2009-08-20Various comment and whitespace cleanups.Dan Gohman
2009-08-19Fix a bug in the over-index constant folding. When over-indexing anDan Gohman
2009-08-19Canonicalize indices in a constantexpr GEP. If Indices exceed theDan Gohman
2009-08-13Push LLVMContexts through the IntegerType APIs.Owen Anderson
2009-07-31Move a few more APIs back to 2.5 forms. The only remaining ones left to chan...Owen Anderson
2009-07-30Move more code back to 2.5 APIs.Owen Anderson
2009-07-29Move types back to the 2.5 API.Owen Anderson
2009-07-29Move ConstantExpr to 2.5 API.Owen Anderson
2009-07-28Return ConstantVector to 2.5 API.Owen Anderson
2009-07-27Move ConstantFP construction back to the 2.5-ish API.Owen Anderson
2009-07-26Remove Value::getNameLenDaniel Dunbar
2009-07-24Revert the ConstantInt constructors back to their 2.5 forms where possible, t...Owen Anderson
2009-07-22Get rid of the Pass+Context magic.Owen Anderson
2009-07-14llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.Torok Edwin
2009-07-11assert(0) -> LLVM_UNREACHABLE.Torok Edwin
2009-07-08Remove the vicmp and vfcmp instructions. Because we never had a release withNick Lewycky
2009-07-06"LLVMContext* " --> "LLVMContext *"Owen Anderson
2009-07-06Thread LLVMContext through the constant folding APIs, which touches a lot of ...Owen Anderson
2009-06-15Support vector casts in more places, fixing a variety of assertionDan Gohman
2009-06-02Change ConstantFoldConstantExpression to accept a nullDan Gohman
2009-05-21Use v.data() instead of &v[0] when SmallVector v might be empty.Jay Foad
2009-05-09Rename PaddedSize to AllocSize, in the hope that thisDuncan Sands
2009-05-07Revert 71165. It did more than just revert 71158 and it introducedDan Gohman
2009-05-07Temporarily revert r71158. It was causing a failure during a full bootstrap:Bill Wendling
2009-05-07Constant-fold ptrtoint+add+inttoptr to gep when the pointer is anDan Gohman
2009-04-03use higher level APIs.Chris Lattner
2009-01-12Rename getABITypeSize to getTypePaddedSize, asDuncan Sands
2008-12-15Fix whitespace in comment.Nick Lewycky
2008-11-20undef beats zero. Fix this missed optimization opportunity. Patch by Matt Elder!Nick Lewycky
2008-10-24Don't try to create a mask when we don't need one. Fixes a crash.Nick Lewycky
2008-08-13Teach constant folding that an inttoptr of aDuncan Sands
2008-07-25Fix minor issues with VICmp/VFCmp constant expressionsNate Begeman
2008-05-25"ret (constexpr)" can't be folded into a Constant. Add a method toNick Lewycky
2008-05-22transform more loops to iterator form, detabifyGabor Greif
2008-05-22Rewrite operand loops to use iterators. This shrinks .o file (at gcc4.0.1 -O3...Gabor Greif
2008-05-21suppress gcc3.4.6's <no value returned> warningsGabor Greif
2008-05-08Remove dead return. Thanks to Bill for the review!Chris Lattner
2008-05-08Add support for constant folding the 'offsetof' pattern even if theChris Lattner
2008-04-20Switch to using Simplified ConstantFP::get API.Chris Lattner
2008-03-30minor code cleanups, allow constant folding sinf/cosf.Chris Lattner
2008-01-31Avoid unnecessarily casting away const, fixing a FIXME.Dan Gohman
2007-12-29Remove attribution from file headers, per discussion on llvmdev.Chris Lattner
2007-12-12Fix a bug in my previous patch, thanks to Jay Foad forChris Lattner
2007-12-11Implement constant folding if vector<->vector bitcasts where the numberChris Lattner
2007-12-10Fix PR1850 by removing an unsafe transformation from VMCore/ConstantFold.cpp.Chris Lattner
2007-11-23splice some lines together, no functionality change.Chris Lattner
2007-11-01Executive summary: getTypeSize -> getTypeStoreSize / getABITypeSize.Duncan Sands
2007-10-02Rewrite sqrt and powi to use anyfloat. By popular demand.Dale Johannesen