aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/ConstantFolding.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* constant fold nasty constant expressions formed by llvm-gcc,Chris Lattner2010-01-021-3/+16
* Fix PR5551 by not ignoring the top level constantexpr whenChris Lattner2009-12-041-1/+1
* fix PR5673 by being more careful about pointers to functions.Chris Lattner2009-12-031-3/+10
* Teach ConstantFolding to do a better job when folding gep(bitcast).Nick Lewycky2009-11-291-0/+1
* Make ConstantFoldConstantExpression recursively visit the entireDan Gohman2009-11-231-2/+11
* fix ConstantFoldCompareInstOperands to take the LHS/RHS asChris Lattner2009-11-091-23/+18
* remove a bunch of extraneous LLVMContext argumentsChris Lattner2009-11-061-72/+60
* 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