aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/ConstantFold.cpp
Commit message (Expand)AuthorAgeFilesLines
* Return undef value (instead of arbitrary) for wrong or undef index inJakub Staszak2011-09-021-4/+4
* ConstantVector returns arbitrary value for the wrong index.Jakub Staszak2011-09-021-0/+4
* Convert GetElementPtrInst to use ArrayRef.Jay Foad2011-07-251-3/+2
* Make better use of ConstantExpr::getGetElementPtr's InBounds parameter.Jay Foad2011-07-211-12/+8
* Convert ConstantExpr::getGetElementPtr andJay Foad2011-07-211-17/+12
* Convert ConstantFoldGetElementPtr to use ArrayRef.Jay Foad2011-07-191-24/+21
* Add APInt(numBits, ArrayRef<uint64_t> bigVal) constructor to prevent future a...Jeffrey Yasskin2011-07-181-1/+1
* land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner2011-07-181-65/+65
* Convert InsertValueInst and ExtractValueInst APIs to use ArrayRef.Jay Foad2011-07-131-22/+18
* don't load element before checking to see if it is valid.Chris Lattner2011-07-091-2/+2
* Land the long talked about "type system rewrite" patch. ThisChris Lattner2011-07-091-1/+1
* Improve constant folding of undef for cmp and select operators.Dan Gohman2011-07-011-2/+7
* Improve constant folding of undef for binary operators.Dan Gohman2011-07-011-4/+24
* Make ConstantVector::get() always take an ArrayRef, never a std::vector.Jay Foad2011-06-221-1/+1
* Revamp the "ConstantStruct::get" methods. Previously, these were scatteredChris Lattner2011-06-201-3/+3
* Fix a ton of comment typos found by codespell. Patch byChris Lattner2011-04-151-1/+1
* Don't include Operator.h from InstrTypes.h.Jay Foad2011-04-111-0/+1
* Enhance constant folding of bitcast operations on vectors of floats.Nadav Rotem2011-02-171-2/+1
* convert ConstantVector::get to use ArrayRef.Chris Lattner2011-02-151-6/+6
* revert my ConstantVector patch, it seems to have made the llvm-gccChris Lattner2011-02-141-6/+6
* Switch ConstantVector::get to use ArrayRef instead of a pointer+sizeChris Lattner2011-02-141-6/+6
* Fix a regression from r125393;Nadav Rotem2011-02-131-1/+2
* Fix 9173.Nadav Rotem2011-02-111-0/+40
* Fix 'fcmp one' constant folding. Noticed by inspection.Nick Lewycky2011-01-301-1/+1
* Fix some formatting and upgrade comments from llvm 1.x to 2.x syntax.Nick Lewycky2011-01-301-6/+6
* Add the select optimization recently added to instcombine to constant folding.Nick Lewycky2011-01-291-0/+12
* Add a constant folding of casts from zero to zero. Fixes PR9011!Nick Lewycky2011-01-211-0/+4
* Remove casts between Value** and Constant**, which won't work if aJay Foad2011-01-141-18/+31
* Move some shift transforms out of instcombine and into InstructionSimplify.Duncan Sands2011-01-141-2/+2
* fix PR8867: a crash handling fp128. Thanks to Nick for the testcase.Chris Lattner2010-12-291-1/+1
* There is no need for isAssociative to take the type as an argument anymore.Duncan Sands2010-12-201-2/+1
* PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() andJay Foad2010-12-071-10/+7
* Remove unneeded zero arrays.Benjamin Kramer2010-12-041-3/+1
* remove unions from LLVM IR. They are severely buggy and notChris Lattner2010-08-281-40/+0
* Constant fold x == undef to undef.Dan Gohman2010-06-281-1/+8
* Use A.append(...) instead of A.insert(A.end(), ...) when A is aDan Gohman2010-06-211-1/+1
* getFoldedOffsetOf no longer does anything special with vector types.Dan Gohman2010-06-051-1/+1
* Make the 'icmp pred trunc(ext(X)), CST --> icmp pred X, ext(trunc(CST))'Nick Lewycky2010-03-041-24/+5
* fix incorrect folding of icmp with undef, PR6481.Chris Lattner2010-03-031-1/+1
* Teach the constant folder about union types.Dan Gohman2010-02-251-0/+34
* Remove code which assumes it knows how vectors are stored in memory.Dan Gohman2010-02-251-12/+2
* Canonicalize ConstantInts to the right operand of commutativeDan Gohman2010-02-221-0/+4
* Use Instruction::isCommutative instead of duplicating it.Dan Gohman2010-02-221-24/+1
* Introduce isOpaqueTy and use it rather than isa<OpaqueType>. Also, move someDuncan Sands2010-02-161-1/+1
* There are two ways of checking for a given type, for example isa<PointerType>(T)Duncan Sands2010-02-161-9/+9
* Uniformize the names of type predicates: rather than having isFloatTy andDuncan Sands2010-02-151-13/+13
* Add support for a union type in LLVM IR. Patch by Talin!Chris Lattner2010-02-121-0/+6
* Canonicalize sizeof and alignof on pointer types to a canonicalDan Gohman2010-02-101-0/+19
* Factor out alignof expression folding into a separate function andDan Gohman2010-02-021-26/+69
* eliminate a bunch of pointless LLVMContext arguments.Chris Lattner2010-02-011-151/+124