aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/ConstantFold.cpp
AgeCommit message (Expand)Author
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
2003-11-17Eliminate use of the ConstantPointer classChris Lattner
2003-11-17Constant folding shalt not be built on annotationsChris Lattner
2003-11-11Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke
2003-10-20Added LLVM project notice to the top of every C++ source file.John Criswell
2003-08-21Implement Assembler/2003-08-21-ConstantExprCast-Fold.llxChris Lattner
2003-08-20Implement testcase: Assembler/2003-08-20-ConstantExprGEP-Fold.llxChris Lattner
2003-08-13Implement constant folding of casts from boolean constants to other valuesChris Lattner
2003-06-26Implement more aggressive folding of constant GEP instructionsChris Lattner
2003-05-27Fix constant folding to ALWAYS work.Chris Lattner
2003-05-14Remove unnecessary castsChris Lattner
2003-05-14Fix bugChris Lattner
2003-05-13Implement another getelementptr folding opportunity that arises whenChris Lattner
2003-05-12Fix Bug: ConstProp/2003-05-12-DivideError.llChris Lattner
2003-04-25** CORRECTLY, conservatively handle constant expressionsChris Lattner
2003-04-17Allow constant folding of GEP instructions, even if we don't do a whole lot yet.Chris Lattner
2002-09-03Implement setcc for booleans. Fixes bug:Chris Lattner
2002-08-14Remove support forNOT instructionChris Lattner
2002-07-30Implement constant propogation of logical (and, or, xor) expressions.Chris Lattner
2002-05-07Implement constant propogation of PHI instructions like this:Chris Lattner
2002-05-06Move code out of header fileChris Lattner