summaryrefslogtreecommitdiff
path: root/lib/VMCore/ConstantFold.cpp
AgeCommit message (Expand)AuthorFilesLines
2005-01-28Fix a nasty thinko in my previous commit.Chris Lattner1-1/+1
2005-01-28Fix ConstProp/2005-01-28-SetCCGEP.ll: indexing over zero sized elements doesChris Lattner1-5/+36
2005-01-06No need to pessimize current code for future possibilities.Chris Lattner1-4/+3
2004-11-22Fix test/Regression/CFrontend/2003-11-01-EmptyStructCrash.cChris Lattner1-0/+1
2004-11-17Generalize this code to turn any cast-to-first-element-of into a gep constexprChris Lattner1-8/+21
2004-10-17fold gep undef, ... -> undefChris Lattner1-1/+8
2004-10-17Fix constant folding relational operators with undef operands.Chris Lattner1-7/+4
2004-10-16Implement constant folding of undef values.Chris Lattner1-4/+54
2004-10-11Allow creation of GEP constantexprs with a vector of value* operands asChris Lattner1-15/+16
2004-10-11If we are trying to create a ConstantExpr cast that is really a GEP to theChris Lattner1-0/+11
2004-07-17bug 122:Reid Spencer1-23/+20
2004-07-15Implement folding of expressions like 'uint cast (int* getelementptr (int*Chris Lattner1-0/+12
2004-07-07When folding constant expr gep's, don't force the use of long indices.Chris Lattner1-3/+6
2004-06-17Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID()Chris Lattner1-2/+2
2004-05-30Fix a bug that Chris asserts emphatically is a bug. The changed clauseReid Spencer1-1/+1
2004-04-11Add a missing break, which caused a crash in an obscure situationChris Lattner1-0/+1
2004-04-05Support getelementptr instructions which use uint's to index into structureChris Lattner1-4/+4
2004-03-12Teach the constant folder how to do select instructionsChris Lattner1-0/+11
2004-03-08Implement test/Regression/Assembler/2004-03-07-FunctionAddressAlignment.llxChris Lattner1-0/+20
2004-02-22Get all instruction definitionsChris Lattner1-3/+1
2004-02-16Move the folding of gep null, 0, 0, 0 to a place where it can be shared andChris Lattner1-2/+15
2004-02-01Fix a crasher bug in my constant folding rewriteChris Lattner1-3/+10
2004-01-13Implement a bunch of symbolic constant folding opportunities. This implementsChris Lattner1-21/+324
2004-01-12Rearrange and comment code better. No functionality changesChris Lattner1-160/+177
2004-01-12Rename ConstantHandling.* -> ConstantFolding.*Chris Lattner1-3/+49
2004-01-12Remove a whole bunch more ugliness. This is actually getting to the point ofChris Lattner1-52/+66
2004-01-12Move ConstantHandling.h into lib/VMCore and out of include/llvmChris Lattner1-1/+1
2004-01-12Eliminate usage of the wierd overloaded operator constant foldersChris Lattner1-33/+34
2004-01-12Move llvm::ConstantFoldInstruction from here to Transforms/UtilsChris Lattner1-58/+0
2004-01-11Implement: Assembler/2004-01-11-getelementptrfolding.llxChris Lattner1-6/+8
2003-11-25Relax constrains on GEP type indexesChris Lattner1-4/+12
2003-11-17Implement == and != correctly. Before they would incorrectly return !=Chris Lattner1-0/+24
2003-11-17No REALLY, get rid of ConstantPointer referencesChris Lattner1-2/+2
2003-11-17Eliminate use of the ConstantPointer classChris Lattner1-35/+23
2003-11-17Constant folding shalt not be built on annotationsChris Lattner1-62/+49
2003-11-11Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke1-0/+4
2003-10-20Added LLVM project notice to the top of every C++ source file.John Criswell1-0/+7
2003-08-21Implement Assembler/2003-08-21-ConstantExprCast-Fold.llxChris Lattner1-2/+12
2003-08-20Implement testcase: Assembler/2003-08-20-ConstantExprGEP-Fold.llxChris Lattner1-10/+14
2003-08-13Implement constant folding of casts from boolean constants to other valuesChris Lattner1-0/+19
2003-06-26Implement more aggressive folding of constant GEP instructionsChris Lattner1-6/+25
2003-05-27Fix constant folding to ALWAYS work.Chris Lattner1-19/+9
2003-05-14Remove unnecessary castsChris Lattner1-2/+2
2003-05-14Fix bugChris Lattner1-1/+2
2003-05-13Implement another getelementptr folding opportunity that arises whenChris Lattner1-0/+16
2003-05-12Fix Bug: ConstProp/2003-05-12-DivideError.llChris Lattner1-1/+13
2003-04-25** CORRECTLY, conservatively handle constant expressionsChris Lattner1-2/+7
2003-04-17Allow constant folding of GEP instructions, even if we don't do a whole lot yet.Chris Lattner1-9/+57
2002-09-03Implement setcc for booleans. Fixes bug:Chris Lattner1-0/+4
2002-08-14Remove support forNOT instructionChris Lattner1-21/+0