aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/ConstantFolding.cpp
Commit message (Expand)AuthorAgeFilesLines
* PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() andJay Foad2010-12-071-4/+2
* Teach ConstantFoldInstruction() how to fold insertvalue and extractvalue.Frits van Bommel2010-11-291-1/+12
* Merge System into Support.Michael J. Spencer2010-11-291-1/+1
* Clarify that constant folding of instructions applies when all operandsDuncan Sands2010-11-231-10/+11
* Fix spelling.Duncan Sands2010-11-211-2/+2
* apply Dan's fix for PR8268 which allows constant folding to handle indexes overChris Lattner2010-11-211-7/+15
* Boost the power of phi node constant folding slightly: if allDuncan Sands2010-11-141-12/+18
* add uadd_ov/usub_ov to apint, consolidate constant foldingChris Lattner2010-10-141-32/+28
* Don't try to constant fold libm functions with non-finite arguments.Jakob Stoklund Olesen2010-09-271-0/+7
* Don't include <fenv.h> now that we have llvm/System/FEnv.h.Jakob Stoklund Olesen2010-09-171-1/+0
* Attempt to support platforms which don't have fenv.h.Dan Gohman2010-09-171-12/+7
* Fix the folding of floating-point math library calls, like sin(infinity),Dan Gohman2010-09-171-2/+9
* 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