aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/SCCP.cpp
AgeCommit message (Expand)Author
2009-11-23Fix a use of an invalidated iterator in the case where there are multipleDan Gohman
2009-11-20Fix IPSCCP's code for deleting dead blocks to tolerate outstandingDan Gohman
2009-11-10fix a crash in SCCP handling extractvalue of an array, pointed out andChris Lattner
2009-11-05Do map insert+find in one step. TODO -= 2.Benjamin Kramer
2009-11-04Fix an iterator invalidation bug that happens when a hashtableChris Lattner
2009-11-03reimplement multiple return value handling in IPSCCP, making it Chris Lattner
2009-11-03finish half thunk thoughtChris Lattner
2009-11-03fix an IPSCCP bug I introduced when I changed IPSCCP to start working on Chris Lattner
2009-11-03fix a subtle bug I introduced when refactoring SCCP. TestcaseChris Lattner
2009-11-03turn IPSCCP back on now that the iterator invalidation bug is fixed.Chris Lattner
2009-11-02fix a nasty iterator invalidation bug from my conversion fromChris Lattner
2009-11-02revert r8579[56], which are causing unhappiness in buildbot land.Chris Lattner
2009-11-02disable IPSCCP support for multiple return values, it is buggy, so justChris Lattner
2009-11-02improve IPSCCP to be able to propagate the result of "!mayBeOverridden"Chris Lattner
2009-11-02don't mark the arguments of prototype overdefined, they will never be queried.Chris Lattner
2009-11-02restore some code I removed in r85788, refactor it intoChris Lattner
2009-11-02remove some confused code that dates from when we hadChris Lattner
2009-11-02avoid redundant lookups in BBExecutable, and make it a SmallPtrSet.Chris Lattner
2009-11-02Use the libanalysis 'ConstantFoldLoadFromConstPtr' functionChris Lattner
2009-11-02switch the main 'ValueState' map from being an std::map to beingChris Lattner
2009-11-02only IPSCCP incoming arguments if the function is executable, this fixesChris Lattner
2009-11-02add a new ValueState::getConstantInt() helper, use it to Chris Lattner
2009-11-02tidy up some more: remove some extraneous inline specifiers, return harder.Chris Lattner
2009-11-02eliminate the SCCPSolver::getValueMapping method.Chris Lattner
2009-11-02fix failures introduced in r85774Chris Lattner
2009-11-02factor duplicated code into a new DeleteInstructionInBlockChris Lattner
2009-11-02Chris used to use '...' instead of proper grammar.Chris Lattner
2009-11-02remove some extraneous llvmcontext stuff.Chris Lattner
2009-11-02change LatticeVal to use PointerIntPair to save some space.Chris Lattner
2009-11-01teach ipsccp and ipconstprop that a blockaddress doesn't 'take the address' o...Chris Lattner
2009-10-29teach various passes about blockaddress. We no longerChris Lattner
2009-10-27Rename MallocFreeHelper as MemoryBuiltinsVictor Hernandez
2009-10-26Rename MallocHelper as MallocFreeHelper, since it now also identifies calls t...Victor Hernandez
2009-10-26Remove FreeInst.Victor Hernandez
2009-10-24Auto-upgrade free instructions to calls to the builtin free function.Victor Hernandez
2009-10-23Remove AllocationInst. Since MallocInst went away, AllocaInst is the only su...Victor Hernandez
2009-10-20Fix PR4313: IPSCCP was not setting the lattice value for the invoke instructionTorok Edwin
2009-10-05Remove an unnnecessary LLVMContext argument inDan Gohman
2009-10-05strength reduce a ton of type equality tests to check the typeid (ThroughChris Lattner
2009-09-27calls to external functions are already marked overdefined, special casingChris Lattner
2009-09-24Constant propagating byval pointer is safe if function is readonly.Torok Edwin
2009-09-24Don't constant propagate byval pointers, since they are not really pointers, butTorok Edwin
2009-09-18Enhance transform passes so that they apply the same tranforms to malloc call...Victor Hernandez
2009-09-02eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861Chris Lattner
2009-08-30add getPointerAddressSpace() to GEP instruction, use the methodChris Lattner
2009-08-23eliminate the "Value" printing methods that print to a std::ostream.Chris Lattner
2009-08-17Fix debug output to include a newline after printing a Value, nowDan Gohman
2009-08-13Push LLVMContexts through the IntegerType APIs.Owen Anderson
2009-07-31Move a few more APIs back to 2.5 forms. The only remaining ones left to chan...Owen Anderson
2009-07-31Move getTrue() and getFalse() to 2.5-like APIs.Owen Anderson