aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/ConstantFolding.cpp
Commit message (Expand)AuthorAgeFilesLines
* Teach FoldBitCast to be able to handle bitcasts from (e.g.) i128 -> <4 x float>.Chris Lattner2009-10-251-4/+13
* move FoldBitCast earlier in the file, and use it instead of Chris Lattner2009-10-251-132/+132
* refactor FoldBitCast to reduce nesting and to always return a constantexprChris Lattner2009-10-251-104/+109
* various cleanups suggested by DuncanChris Lattner2009-10-241-3/+5
* fix PR5287, a serious regression from my previous patches. Thanks toChris Lattner2009-10-241-0/+1
* teach libanalysis to simplify vector loads with bitcast sources. ThisChris Lattner2009-10-231-7/+13
* enhance FoldReinterpretLoadFromConstPtr to handle loads of up to 32 Chris Lattner2009-10-231-6/+8
* teach libanalysis to fold int and fp loads from almost arbitraryChris Lattner2009-10-231-8/+185
* move another load optimization from instcombine -> libanalysis.Chris Lattner2009-10-221-34/+48
* move 'loading i32 from string' optimization from instcombineChris Lattner2009-10-221-6/+35
* Move some constant folding logic for loads out of instcombine intoChris Lattner2009-10-221-0/+35
* Extend ConstantFolding to understand signed overflow variantsEvan Phoenix2009-10-051-0/+24
* Remove an unnnecessary LLVMContext argument inDan Gohman2009-10-051-2/+1
* teach the optimizer how to constant fold uadd/usub intrinsics.Chris Lattner2009-10-051-1/+29
* simplify this code a bunch.Chris Lattner2009-10-051-14/+14
* code simplifications.Chris Lattner2009-10-051-16/+25
* simplify some codeChris Lattner2009-09-161-6/+5
* Teach lib/VMCore/ConstantFold.cpp how to set the inbounds keyword andDan Gohman2009-09-111-6/+2
* 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