aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/ConstantFolding.cpp
Commit message (Expand)AuthorAgeFilesLines
* convert ConstantVector::get to use ArrayRef.Chris Lattner2011-02-151-2/+2
* revert my ConstantVector patch, it seems to have made the llvm-gccChris Lattner2011-02-141-2/+2
* Switch ConstantVector::get to use ArrayRef instead of a pointer+sizeChris Lattner2011-02-141-2/+2
* Simplify test, as suggested by Chris.Anders Carlsson2011-02-061-6/+2
* When loading from a constant, fold inttoptr if the integer type and the resul...Anders Carlsson2011-02-061-0/+11
* Give GetUnderlyingObject a TargetData, to keep it in syncDan Gohman2011-01-241-1/+2
* fix PR8983, a broken assertion.Chris Lattner2011-01-161-1/+1
* Teach constant folding to perform conversions from constant floatingChandler Carruth2011-01-111-0/+56
* Cleanup some of the constant folding code to consistently test intrinsicChandler Carruth2011-01-101-16/+18
* use isNullValue() to simplify code, add an assert.Chris Lattner2011-01-061-5/+6
* implement constant folding support for an exotic constant expr:Chris Lattner2011-01-061-1/+19
* Change all self assignments X=X to (void)X, so that we can turn on aJeffrey Yasskin2010-12-231-2/+1
* Move Value::getUnderlyingObject to be a standaloneDan Gohman2010-12-151-1/+1
* 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