aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/ConstantFold.cpp
AgeCommit message (Expand)Author
2009-09-03Revert 80959. It isn't sufficient to solve the full problem. And itDan Gohman
2009-09-03Remove the API for creating ConstantExprs with the nsw, nuw, inbounds,Dan Gohman
2009-08-29Cleanup whitespace and indentation.Dan Gohman
2009-08-13Push LLVMContexts through the IntegerType APIs.Owen Anderson
2009-08-12Simplify this code, and use an in-bounds GEP.Dan Gohman
2009-08-05Privatize the StructType table, which unfortunately involves routing contexts...Owen Anderson
2009-07-31Move a few more APIs back to 2.5 forms. The only remaining ones left to chan...Owen Anderson
2009-07-31Move getTrue() and getFalse() to 2.5-like APIs.Owen Anderson
2009-07-30Move more code back to 2.5 APIs.Owen Anderson
2009-07-29Move types back to the 2.5 API.Owen Anderson
2009-07-29Move ConstantExpr to 2.5 API.Owen Anderson
2009-07-28Return ConstantVector to 2.5 API.Owen Anderson
2009-07-28Change ConstantArray to 2.5 API.Owen Anderson
2009-07-27Move ConstantStruct back to 2.5 API.Owen Anderson
2009-07-27Move ConstantFP construction back to the 2.5-ish API.Owen Anderson
2009-07-24Revert the ConstantInt constructors back to their 2.5 forms where possible, t...Owen Anderson
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