aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/ConstantFold.cpp
AgeCommit message (Expand)Author
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
2007-12-11refactor some code, no functionality change.Chris Lattner
2007-12-10Fix PR1850 by removing an unsafe transformation from VMCore/ConstantFold.cpp.Chris Lattner
2007-11-17Add support for vectors to int <-> float casts.Nate Begeman
2007-10-31Fix a regression in test/CodeGen/X86/2007-04-24-VectorCrash.ll introducedDan Gohman
2007-10-30Add support for folding binary operators with vector zero operands.Dan Gohman
2007-10-16Disable attempts to constant fold PPC f128.Dale Johannesen
2007-10-15avoid an APFloat copy.Chris Lattner
2007-10-14Disable some compile-time optimizations on PPCDale Johannesen
2007-10-07convertFromInteger, as originally written, expected sign-extendedNeil Booth
2007-09-30Constant fold int-to-long-double conversions;Dale Johannesen
2007-09-25Remove no-longer-used variable.Dale Johannesen
2007-09-25Make APFloat->int conversions deterministic even inDale Johannesen
2007-09-24float->int conversion rounds toward 0. Duh.Dale Johannesen
2007-09-24Just use APFloat for const / const. FixesDale Johannesen
2007-09-20Fix dumb regression in constant folding (Regression/C/casts)Dale Johannesen
2007-09-19Fix some long double issues.Dale Johannesen
2007-09-19Partial fix for PR1678: correct some parts of constantDuncan Sands
2007-09-12Revise previous patch per review comments.Dale Johannesen
2007-09-11Add APInt interfaces to APFloat (allows directlyDale Johannesen
2007-09-10Fix a buggy constant folding transformation when handling aliases.Chris Lattner
2007-09-06Next round of APFloat changes.Dale Johannesen
2007-09-04Update GEP constructors to use an iterator interface to fixDavid Greene
2007-08-13Constant fold: getelementptr (i8* inttoptr (i64 1 to i8*), i32 -1)Chris Lattner
2007-08-05Fix a doxygen directive.Reid Spencer
2007-07-20zext(undef) = 0 and sext(undef) = 0, not undef.Chris Lattner
2007-07-16Fix comments about vectors to use the current wording.Dan Gohman
2007-03-26Add a comment to explain a folding transform.Reid Spencer
2007-03-25fold constantexprs more aggressively, fixing PR1265Chris Lattner
2007-03-23Fix constant fold of div by zero and rem by zero to match IEEE 754Reid Spencer
2007-03-03Fix constant folding of fp->int bitcast for vectors.Reid Spencer
2007-03-02Prefer non-virtual calls to ConstantInt::isZero over virtual calls toReid Spencer
2007-03-01Use the APInt versions of the bit-wise conversions of float/double to intReid Spencer
2007-03-01Use a simpler constructor when constructing ConstantInst.Reid Spencer
2007-02-27Pull out the stops.Reid Spencer