aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/ConstantFold.cpp
AgeCommit message (Expand)Author
2009-07-21Rename getConstantInt{True|False} to get{True|False} at Chris' behest.Owen Anderson
2009-07-14llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.Torok Edwin
2009-07-13Inline EvalVectorOp in order to get rid of passing-pointer-to-static-methods ...Owen Anderson
2009-07-13Begin the painful process of tearing apart the rat'ss nest that is Constants....Owen Anderson
2009-07-11assert(0) -> LLVM_UNREACHABLE.Torok Edwin
2009-07-08Remove the vicmp and vfcmp instructions. Because we never had a release withNick Lewycky
2009-06-21Expand this test to handle more cases (remainder and shifts) of zero.Nick Lewycky
2009-06-21implement PR4424: 0/x is always 0 for integer division.Chris Lattner
2009-06-20Revert r73790, and replace it with a significantly less ugly solution. Rathe...Owen Anderson
2009-06-19Fix a serious bug that would cause deadlock during abstract type refinement. ...Owen Anderson
2009-06-15Support vector casts in more places, fixing a variety of assertionDan Gohman
2009-06-04Split the Add, Sub, and Mul instruction opcodes into separateDan Gohman
2009-03-14Apply a patch by Micah Villmow to fix AsmParser to accept vectorDan Gohman
2009-02-24Extension of GEP in constant folder was broken (apparently this codeDaniel Dunbar
2009-02-04Allow the inverse transform x86_fp80 -> i80 (alsoDuncan Sands
2009-02-04Fix PR3468: a crash when constant folding a bitcast ofDuncan Sands
2009-01-21Make special cases (0 inf nan) work for frem.Dale Johannesen
2009-01-19div/rem by zero and div/rem overflow are both undefined according toChris Lattner
2008-11-10Added support for the following definition of shufflevector Mon P Wang
2008-11-03Fix unused variable warnings.Devang Patel
2008-10-16apply Eli's patch for PR2165 and provide a testcase.Chris Lattner
2008-10-09Add a "loses information" return value to APFloat::convertDale Johannesen
2008-10-09Rename APFloat::convertToAPInt to bitcastToAPInt toDale Johannesen
2008-09-03Try to fold each element of a vector. This is needed to maintain structuralNick Lewycky
2008-09-03Don't crash when trying to constant fold a vector with some elements that can'tNick Lewycky
2008-07-10Fix a case where vector comparison constant folding would cause anChris Lattner
2008-07-10elementwise comparison of vector constants was completely wrong. FixChris Lattner
2008-07-08improve commentChris Lattner
2008-07-08Fix three bugs:Chris Lattner
2008-06-03Constant folding for insertvalue and extractvalue.Dan Gohman
2008-05-17Revert constant-folding change that will miscompile in some cases.Nick Lewycky
2008-05-17Unbreak the build.Nick Lewycky
2008-05-17Constant fold inttoptr and ptrtoint.Nick Lewycky
2008-05-15IR support for extractvalue and insertvalue instructions. Also, beginDan Gohman
2008-05-10merge of use-diet branch to trunkGabor Greif
2008-04-20hopefully resolve PR2240Chris Lattner
2008-04-20rearrange some code, simplify handling of shifts.Chris Lattner
2008-04-20Use simplified ConstantFP::get method, fix a bug handling frem x, 0 with long...Chris Lattner
2008-04-19Implement PR2206.Chris Lattner
2008-04-19refactor handling of symbolic constant folding, picking upChris Lattner
2008-04-19indentation fix.Chris Lattner
2008-03-31Don't eliminate bitcast instructions that change the type of a pointerNate Begeman
2008-03-25Handle a special case xor undef, undef -> 0. Technically this should be trans...Evan Cheng
2008-02-29Use the new convertFromAPInt instead of convertFromZeroExtendedInteger.Dan Gohman
2008-02-20Unbreak build with gcc 4.3: provide missed includes and silence most annoying...Anton Korobeynikov
2008-02-19Fix some minor issues folding undef, PR2052Chris Lattner
2007-12-29Remove attribution from file headers, per discussion on llvmdev.Chris Lattner
2007-12-17Change the PointerType api for creating pointer types. The old functionality ...Christopher Lamb
2007-12-11Teach VMCore to constant fold shufflevectors with constant operands.Chris Lattner
2007-12-11significantly simplify some code, no functionality change.Chris Lattner