aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/GVN.cpp
AgeCommit message (Expand)Author
2009-12-10Fix PR5744, a case where we were getting the pointer size instead of theChris Lattner
2009-12-10allow this to build when the #if 0's are enabled. No functionality change.Chris Lattner
2009-12-09fix hte last remaining known (by me) phi translation bug. When we reanalyzeChris Lattner
2009-12-09change GetStoreValueForLoad to use IRBuilder, which is cleaner andChris Lattner
2009-12-09change AnalyzeLoadFromClobberingMemInst/AnalyzeLoadFromClobberingStoreChris Lattner
2009-12-09change AnalyzeLoadFromClobberingWrite and clients to pass in type Chris Lattner
2009-12-09change NonLocalDepEntry from being a typedef for an std::pair to be itsChris Lattner
2009-12-09add some aborts to #if 0's.Chris Lattner
2009-12-09Switch GVN and memdep to use PHITransAddr, which correctly handlesChris Lattner
2009-12-06constant fold loads from memcpy's from global constants. This is importantChris Lattner
2009-12-06add support for forwarding mem intrinsic values to non-local loads.Chris Lattner
2009-12-06Handle forwarding local memsets to loads. For example, we optimize this:Chris Lattner
2009-12-03Fix this crasher, and add a FIXME for a missed optimization.Owen Anderson
2009-12-02Cleanup/remove some parts of the lifetime region handling code in memdep and ...Owen Anderson
2009-12-02factor some code better.Chris Lattner
2009-11-28reenable load address insertion in load pre. This allows us toChris Lattner
2009-11-28Enhance InsertPHITranslatedPointer to be able to return a list of newlyChris Lattner
2009-11-27disable value insertion for now, I need to figure out howChris Lattner
2009-11-27Rework InsertPHITranslatedPointer to handle the recursive case, this Chris Lattner
2009-11-27teach GVN's load PRE to insert computations of the address in predecessorsChris Lattner
2009-11-27Fix phi translation in load PRE to agree with the phi Chris Lattner
2009-11-14Add an option for running GVN with redundant load processing disabled.Dan Gohman
2009-11-10Fix DenseMap iterator constness.Jeffrey Yasskin
2009-10-31Make sure PRE doesn't split crit edges from indirectbr.Chris Lattner
2009-10-30Add option to createGVNPass to disable PRE.Evan Cheng
2009-10-28Treat lifetime begin/end markers as allocations/frees respectively for theOwen Anderson
2009-10-27Rename MallocFreeHelper as MemoryBuiltinsVictor Hernandez
2009-10-26Rename MallocHelper as MallocFreeHelper, since it now also identifies calls t...Victor Hernandez
2009-10-23Remove AllocationInst. Since MallocInst went away, AllocaInst is the only su...Victor Hernandez
2009-10-21make GVN work better when TD is not around:Chris Lattner
2009-10-19Refactor lookup_or_add to contain _MUCH_ less duplicated code. Add support forOwen Anderson
2009-10-19Simplify some code.Owen Anderson
2009-10-14Use isVoidTy()Devang Patel
2009-10-10switch GVN to use SSAUpdater. Besides removing a lot of complexityChris Lattner
2009-10-10remove dead codeChris Lattner
2009-10-10random tidyingChris Lattner
2009-09-27simplify some code.Chris Lattner
2009-09-27Instruction::clone does not need to take an LLVMContext&. Remove that andNick Lewycky
2009-09-21big endian systems shift by bits too, hopefully this will fix the ppc Chris Lattner
2009-09-21fix PR5016, a crash I introduced in GVN handing first classChris Lattner
2009-09-21enable non-local analysis and PRE of large store -> little load.Chris Lattner
2009-09-21convert an std::pair to an explicit struct.Chris Lattner
2009-09-21move some functions, add a comment.Chris Lattner
2009-09-21split HandleLoadFromClobberingStore in two pieces: one that does theChris Lattner
2009-09-21Improve GVN to be able to forward substitute a small load Chris Lattner
2009-09-21formatting cleanups, no functionality change.Chris Lattner
2009-09-20Move CoerceAvailableValueToLoadType earlier in GVN.cpp. Hook it upChris Lattner
2009-09-20change the interface to CoerceAvailableValueToLoadType to be Chris Lattner
2009-09-20enhance GVN to forward substitute a stored value to a loadChris Lattner
2009-09-20Tabs -> spaces, and remove trailing whitespace.Daniel Dunbar