aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/ConstantFolding.cpp
Commit message (Expand)AuthorAgeFilesLines
* eliminate CallInst::ArgOffsetGabor Greif2010-07-161-2/+2
* Add parentheses around an || to correct the logic. Also silences a GCC warningChandler Carruth2010-07-121-1/+1
* fix PR7429, a crash turning a load from a string into a float.Chris Lattner2010-07-121-3/+9
* conditionalize by CallInst::ArgOffsetGabor Greif2010-07-071-2/+2
* Eliminate unnecessary uses of getZExtValue().Dan Gohman2010-06-181-1/+1
* Revert 101465, it broke internal OpenGL testing.Eric Christopher2010-04-161-2/+2
* reapply r101434Gabor Greif2010-04-161-2/+2
* back out r101423 and r101397, they break llvm-gcc self-host on darwin10Gabor Greif2010-04-161-2/+2
* reapply r101364, which has been backed out in r101368Gabor Greif2010-04-151-2/+2
* back out r101364, as it trips the linux nightlybot on some clang C++ testsGabor Greif2010-04-151-2/+2
* rotate CallInst operands, i.e. move callee to the backGabor Greif2010-04-151-2/+2
* Minor code simplification.Dan Gohman2010-04-121-1/+1
* FP16 constfoldingAnton Korobeynikov2010-03-191-0/+25
* Simplify this code.Dan Gohman2010-03-181-16/+8
* When constant folding GEP of GEP, do not crash if an index ofDuncan Sands2010-03-121-1/+13
* Constant-fold GEP-of-GEP into a single GEP.Dan Gohman2010-03-101-0/+11
* Remove the code which constant-folded ptrtoint(inttoptr(x)+c) toDan Gohman2010-02-231-37/+5
* Canonicalize ConstantInts to the right operand of commutativeDan Gohman2010-02-221-2/+2
* Minor formatting cleanup.Dan Gohman2010-02-221-2/+1
* Fold bswap(undef) to undef.Dan Gohman2010-02-171-0/+6
* There are two ways of checking for a given type, for example isa<PointerType>(T)Duncan Sands2010-02-161-2/+2
* Uniformize the names of type predicates: rather than having isFloatTy andDuncan Sands2010-02-151-2/+2
* Add const qualifiers.Dan Gohman2010-02-081-2/+2
* Generalize target-independent folding rules for sizeof to handle moreDan Gohman2010-02-011-0/+38
* fix PR5978 by peeling the loop so that we avoid shifting theChris Lattner2010-01-081-2/+2
* 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