aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/ConstantFolding.cpp
AgeCommit message (Expand)Author
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
2007-09-28Add sqrt and powi intrinsics for long double.Dale Johannesen
2007-09-06Next round of APFloat changes.Dale Johannesen
2007-08-11constant fold ptrtoint(inttoptr) with target data when available. This allowsChris Lattner
2007-08-08Handle functions with no name better.Chris Lattner
2007-08-08significantly speed up constant folding of calls (and thus all clients that useChris Lattner
2007-08-04This is the patch to provide clean intrinsic function overloading support in ...Chandler Carruth
2007-07-16Use ConstantFoldFP for folding all unary floating-point operations which mayDan Gohman
2007-04-01The bit counting intrinsics return i32 not the operand type. This fixesReid Spencer
2007-04-01For PR1297:Reid Spencer
2007-03-05Unbreak VC++ build.Jeff Cohen
2007-02-15For PR1195:Reid Spencer
2007-02-10completely eliminate a temporary vectorChris Lattner
2007-02-10Privatize StructLayout::MemberOffsets, adding an accessorChris Lattner
2007-02-02Changes to support making the shift instructions be true BinaryOperators.Reid Spencer
2007-01-31Fix a minor bug in my patch yesterday that broken ConstProp/bswap.llChris Lattner