aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/ConstantFold.cpp
AgeCommit message (Expand)Author
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
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