aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/ConstantFolding.cpp
Commit message (Expand)AuthorAgeFilesLines
* Switch llvm.cttz and llvm.ctlz to accept a second i1 parameter whichChandler Carruth2011-12-121-4/+8
* Add support for vectors of pointers.Nadav Rotem2011-12-051-1/+2
* Add support for constant folding the pow intrinsic.Chad Rosier2011-12-031-3/+6
* Abuse of mass replace isn't warranted even when the build is failing. ThanksChad Rosier2011-12-011-25/+29
* Fix build by not assuming TLI is guaranteed. Will have to track down cases whereChad Rosier2011-12-011-24/+23
* Prevent library calls from being folded if -fno-builtin has been specified.Chad Rosier2011-12-011-23/+24
* Propagate TargetLibraryInfo throughout ConstantFolding.cpp and Chad Rosier2011-12-011-26/+35
* Fixes following the CR by Chris and Duncan:Nadav Rotem2011-08-291-6/+0
* Bitcasts are transitive. Bitcast-Bitcast-X becomes Bitcast-X.Nadav Rotem2011-08-281-0/+6
* Implement Constant::isAllOnesValue(). Fix ConstantFolding to use the new api.Nadav Rotem2011-08-241-10/+7
* Revert "Address Duncan's CR request:"Eric Christopher2011-08-231-4/+9
* Address Duncan's CR request:Nadav Rotem2011-08-231-9/+4
* Add constant folding support for bitcasts of splat vectors to integers.Nadav Rotem2011-08-201-2/+10
* Convert GetElementPtrInst to use ArrayRef.Jay Foad2011-07-251-2/+1
* Convert ConstantExpr::getGetElementPtr andJay Foad2011-07-211-4/+3
* Convert TargetData::getIndexedOffset to use ArrayRef.Jay Foad2011-07-191-7/+5
* Use ArrayRef in ConstantFoldInstOperands and ConstantFoldCall.Jay Foad2011-07-191-22/+21
* land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner2011-07-181-31/+31
* Convert InsertValueInst and ExtractValueInst APIs to use ArrayRef.Jay Foad2011-07-131-2/+2
* Revert "revert 133714"Rafael Espindola2011-06-231-2/+1
* revert 133714Dylan Noblesmith2011-06-231-1/+2
* 133713 broke the build, revert it.Rafael Espindola2011-06-231-2/+1
* Support: make floating-exception header privateDylan Noblesmith2011-06-231-1/+2
* Revamp the "ConstantStruct::get" methods. Previously, these were scatteredChris Lattner2011-06-201-1/+1
* implement PR9315, constant folding exp2 in terms of pow (since hosts withoutChris Lattner2011-05-221-1/+7
* Don't include Operator.h from InstrTypes.h.Jay Foad2011-04-111-0/+1
* Constant folding support for calls to umul.with.overflow(), basically identic...Frits van Bommel2011-03-271-3/+8
* 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