aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/ConstantFold.cpp
AgeCommit message (Expand)Author
2006-06-28Use hidden visibility to reduce the sizes of some .o files. This chops 60K o...Chris Lattner
2006-06-21Add more anonymous namespaces to make it clear that these are private classesChris Lattner
2006-04-08Add shufflevector support, todo, implement better constant folding.Chris Lattner
2006-04-07Constant fold extractelement(zero, x) -> zeroChris Lattner
2006-04-02Constant fold casts from things like <4 x int> -> <4 x uint>, likewise int<->fp.Chris Lattner
2006-03-31constant fold extractelement with undef operands.Chris Lattner
2006-01-17VMCore support for the insertelement operation.Robert Bocchino
2006-01-10Added constant folding support for the extractelement operation.Robert Bocchino
2006-01-05Implement a few symbolic constant folding things. X ? Y : Y is Y.Chris Lattner
2006-01-05fix some formatting problemsChris Lattner
2006-01-04implement constant folding of ==/!= on constant packed, simplify some code.Chris Lattner
2006-01-04implement constant folding for the element-wise binary operationsChris Lattner
2006-01-04don't crash when trying to constant fold packed expressions.Chris Lattner
2005-05-03Use ANSI-approved way of getting the value infinity (otherwise VC++ won't com...Jeff Cohen
2005-05-02fold fp div by 0 to inf, the way gcc does. This is legal according to the FP...Andrew Lenharth
2005-04-24Shut GCC 4.0 up about classes with virtual functions but no virtualReid Spencer
2005-04-21Remove trailing whitespaceMisha Brukman
2005-01-28Fix a nasty thinko in my previous commit.Chris Lattner
2005-01-28Fix ConstProp/2005-01-28-SetCCGEP.ll: indexing over zero sized elements doesChris Lattner
2005-01-06No need to pessimize current code for future possibilities.Chris Lattner
2004-11-22Fix test/Regression/CFrontend/2003-11-01-EmptyStructCrash.cChris Lattner
2004-11-17Generalize this code to turn any cast-to-first-element-of into a gep constexprChris Lattner
2004-10-17fold gep undef, ... -> undefChris Lattner
2004-10-17Fix constant folding relational operators with undef operands.Chris Lattner
2004-10-16Implement constant folding of undef values.Chris Lattner
2004-10-11Allow creation of GEP constantexprs with a vector of value* operands asChris Lattner
2004-10-11If we are trying to create a ConstantExpr cast that is really a GEP to theChris Lattner
2004-07-17bug 122:Reid Spencer
2004-07-15Implement folding of expressions like 'uint cast (int* getelementptr (int*Chris Lattner
2004-07-07When folding constant expr gep's, don't force the use of long indices.Chris Lattner
2004-06-17Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID()Chris Lattner
2004-05-30Fix a bug that Chris asserts emphatically is a bug. The changed clauseReid Spencer
2004-04-11Add a missing break, which caused a crash in an obscure situationChris Lattner
2004-04-05Support getelementptr instructions which use uint's to index into structureChris Lattner
2004-03-12Teach the constant folder how to do select instructionsChris Lattner
2004-03-08Implement test/Regression/Assembler/2004-03-07-FunctionAddressAlignment.llxChris Lattner
2004-02-22Get all instruction definitionsChris Lattner
2004-02-16Move the folding of gep null, 0, 0, 0 to a place where it can be shared andChris Lattner
2004-02-01Fix a crasher bug in my constant folding rewriteChris Lattner
2004-01-13Implement a bunch of symbolic constant folding opportunities. This implementsChris Lattner
2004-01-12Rearrange and comment code better. No functionality changesChris Lattner
2004-01-12Rename ConstantHandling.* -> ConstantFolding.*Chris Lattner
2004-01-12Remove a whole bunch more ugliness. This is actually getting to the point ofChris Lattner
2004-01-12Move ConstantHandling.h into lib/VMCore and out of include/llvmChris Lattner
2004-01-12Eliminate usage of the wierd overloaded operator constant foldersChris Lattner
2004-01-12Move llvm::ConstantFoldInstruction from here to Transforms/UtilsChris Lattner
2004-01-11Implement: Assembler/2004-01-11-getelementptrfolding.llxChris Lattner
2003-11-25Relax constrains on GEP type indexesChris Lattner
2003-11-17Implement == and != correctly. Before they would incorrectly return !=Chris Lattner
2003-11-17No REALLY, get rid of ConstantPointer referencesChris Lattner