aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/ConstantFold.cpp
Commit message (Expand)AuthorAgeFilesLines
* Use ANSI-approved way of getting the value infinity (otherwise VC++ won't com...Jeff Cohen2005-05-031-3/+4
* fold fp div by 0 to inf, the way gcc does. This is legal according to the FP...Andrew Lenharth2005-05-021-0/+7
* Shut GCC 4.0 up about classes with virtual functions but no virtualReid Spencer2005-04-241-0/+5
* Remove trailing whitespaceMisha Brukman2005-04-211-40/+40
* Fix a nasty thinko in my previous commit.Chris Lattner2005-01-281-1/+1
* Fix ConstProp/2005-01-28-SetCCGEP.ll: indexing over zero sized elements doesChris Lattner2005-01-281-5/+36
* No need to pessimize current code for future possibilities.Chris Lattner2005-01-061-4/+3
* Fix test/Regression/CFrontend/2003-11-01-EmptyStructCrash.cChris Lattner2004-11-221-0/+1
* Generalize this code to turn any cast-to-first-element-of into a gep constexprChris Lattner2004-11-171-8/+21
* fold gep undef, ... -> undefChris Lattner2004-10-171-1/+8
* Fix constant folding relational operators with undef operands.Chris Lattner2004-10-171-7/+4
* Implement constant folding of undef values.Chris Lattner2004-10-161-4/+54
* Allow creation of GEP constantexprs with a vector of value* operands asChris Lattner2004-10-111-15/+16
* If we are trying to create a ConstantExpr cast that is really a GEP to theChris Lattner2004-10-111-0/+11
* bug 122:Reid Spencer2004-07-171-23/+20
* Implement folding of expressions like 'uint cast (int* getelementptr (int*Chris Lattner2004-07-151-0/+12
* When folding constant expr gep's, don't force the use of long indices.Chris Lattner2004-07-071-3/+6
* Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID()Chris Lattner2004-06-171-2/+2
* Fix a bug that Chris asserts emphatically is a bug. The changed clauseReid Spencer2004-05-301-1/+1
* Add a missing break, which caused a crash in an obscure situationChris Lattner2004-04-111-0/+1
* Support getelementptr instructions which use uint's to index into structureChris Lattner2004-04-051-4/+4
* Teach the constant folder how to do select instructionsChris Lattner2004-03-121-0/+11
* Implement test/Regression/Assembler/2004-03-07-FunctionAddressAlignment.llxChris Lattner2004-03-081-0/+20
* Get all instruction definitionsChris Lattner2004-02-221-3/+1
* Move the folding of gep null, 0, 0, 0 to a place where it can be shared andChris Lattner2004-02-161-2/+15
* Fix a crasher bug in my constant folding rewriteChris Lattner2004-02-011-3/+10
* Implement a bunch of symbolic constant folding opportunities. This implementsChris Lattner2004-01-131-21/+324
* Rearrange and comment code better. No functionality changesChris Lattner2004-01-121-160/+177
* Rename ConstantHandling.* -> ConstantFolding.*Chris Lattner2004-01-121-3/+49
* Remove a whole bunch more ugliness. This is actually getting to the point ofChris Lattner2004-01-121-52/+66
* Move ConstantHandling.h into lib/VMCore and out of include/llvmChris Lattner2004-01-121-1/+1
* Eliminate usage of the wierd overloaded operator constant foldersChris Lattner2004-01-121-33/+34
* Move llvm::ConstantFoldInstruction from here to Transforms/UtilsChris Lattner2004-01-121-58/+0
* Implement: Assembler/2004-01-11-getelementptrfolding.llxChris Lattner2004-01-111-6/+8
* Relax constrains on GEP type indexesChris Lattner2003-11-251-4/+12
* Implement == and != correctly. Before they would incorrectly return !=Chris Lattner2003-11-171-0/+24
* No REALLY, get rid of ConstantPointer referencesChris Lattner2003-11-171-2/+2
* Eliminate use of the ConstantPointer classChris Lattner2003-11-171-35/+23
* Constant folding shalt not be built on annotationsChris Lattner2003-11-171-62/+49
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+4
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-201-0/+7
* Implement Assembler/2003-08-21-ConstantExprCast-Fold.llxChris Lattner2003-08-211-2/+12
* Implement testcase: Assembler/2003-08-20-ConstantExprGEP-Fold.llxChris Lattner2003-08-201-10/+14
* Implement constant folding of casts from boolean constants to other valuesChris Lattner2003-08-131-0/+19
* Implement more aggressive folding of constant GEP instructionsChris Lattner2003-06-261-6/+25
* Fix constant folding to ALWAYS work.Chris Lattner2003-05-271-19/+9
* Remove unnecessary castsChris Lattner2003-05-141-2/+2
* Fix bugChris Lattner2003-05-141-1/+2
* Implement another getelementptr folding opportunity that arises whenChris Lattner2003-05-131-0/+16
* Fix Bug: ConstProp/2003-05-12-DivideError.llChris Lattner2003-05-121-1/+13