aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/ConstantFold.cpp
Commit message (Expand)AuthorAgeFilesLines
* For PR950:Reid Spencer2006-10-261-26/+56
* For PR950:Reid Spencer2006-10-201-139/+170
* Fix another dtor issue. The function local statics in this function wereChris Lattner2006-10-131-32/+42
* Eliminate ConstantBool::True and ConstantBool::False. Instead, provideConsta...Chris Lattner2006-09-281-17/+15
* Add new SetCondInst::isRelational/isEquality methods. RenameChris Lattner2006-09-171-1/+1
* s|llvm/Support/Visibility.h|llvm/Support/Compiler.h|Chris Lattner2006-08-271-1/+1
* Use hidden visibility to reduce the sizes of some .o files. This chops 60K o...Chris Lattner2006-06-281-12/+17
* Add more anonymous namespaces to make it clear that these are private classesChris Lattner2006-06-211-1/+18
* Add shufflevector support, todo, implement better constant folding.Chris Lattner2006-04-081-0/+8
* Constant fold extractelement(zero, x) -> zeroChris Lattner2006-04-071-0/+3
* Constant fold casts from things like <4 x int> -> <4 x uint>, likewise int<->fp.Chris Lattner2006-04-021-0/+108
* constant fold extractelement with undef operands.Chris Lattner2006-03-311-1/+7
* VMCore support for the insertelement operation.Robert Bocchino2006-01-171-0/+57
* Added constant folding support for the extractelement operation.Robert Bocchino2006-01-101-0/+10
* Implement a few symbolic constant folding things. X ? Y : Y is Y.Chris Lattner2006-01-051-7/+32
* fix some formatting problemsChris Lattner2006-01-051-7/+7
* implement constant folding of ==/!= on constant packed, simplify some code.Chris Lattner2006-01-041-3/+11
* implement constant folding for the element-wise binary operationsChris Lattner2006-01-041-0/+50
* don't crash when trying to constant fold packed expressions.Chris Lattner2006-01-041-0/+29
* 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