aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar/ScalarReplAggregates.cpp
Commit message (Expand)AuthorAgeFilesLines
* Use cast<> instead of dyn_cast<> for things that are known to beJay Foad2009-06-061-1/+2
* PR4286: Make RewriteLoadUserOfWholeAlloca and Eli Friedman2009-06-011-8/+13
* Rename PaddedSize to AllocSize, in the hope that thisDuncan Sands2009-05-091-20/+20
* fix RewriteStoreUserOfWholeAlloca to use the correct type sizeChris Lattner2009-05-081-4/+6
* fix a crash on a pointless but valid zero-length memset, rdar://6808691Chris Lattner2009-04-211-13/+15
* Explicitly check for StoreInst, do not lose the chance to delete Zhou Sheng2009-03-181-1/+1
* Revert my previous change on Local.cpp, instead, fix the bug on scalarrepl.Zhou Sheng2009-03-181-1/+1
* teach SROA to handle promoting vector allocas with a memset into them intoChris Lattner2009-03-081-17/+19
* Enhance SROA to "promote to scalar" allocas which are Chris Lattner2009-03-081-0/+48
* change the MemIntrinsic get/setAlignment method to take an unsignedChris Lattner2009-03-081-3/+3
* Introduce a new MemTransferInst pseudo class, which is a commonChris Lattner2009-03-081-25/+19
* While converting an aggregate to scalare, ignore and remove aggregate's debug...Devang Patel2009-03-061-3/+12
* SRThreshold is meant to be inclusive.Evan Cheng2009-03-061-1/+1
* complete comment.Chris Lattner2009-03-041-1/+3
* this wasn't intended to be committed.Chris Lattner2009-03-041-2/+1
* Fix PR3720 by properly propagating alignment information from memcpy/memmove Chris Lattner2009-03-041-7/+34
* Use > instead of >=. We want to promote aggregates of 128-bytes.Bill Wendling2009-03-031-1/+1
* Reapply r65755, but reversing "<" to ">=".Bill Wendling2009-03-031-2/+3
* Temporarily revert r65755. It was causing failures in the self-hostingBill Wendling2009-03-011-5/+3
* hoist the check for alloca size up so that it controls CanConvertToScalar Chris Lattner2009-03-011-3/+5
* Use early exits. Reduce indentation.Devang Patel2009-02-101-37/+42
* Enable scalar replacement of AllocaInst whose one of the user is dbg info.Devang Patel2009-02-101-52/+81
* fix PR3489, use bits instead of bytes.Chris Lattner2009-02-061-2/+2
* teach "convert from scalar" to handle loads of fca's.Chris Lattner2009-02-031-2/+29
* refactor the interface to ConvertUsesOfLoadToScalar, Chris Lattner2009-02-031-34/+35
* convert ConvertUsesOfLoadToScalar to use IRBuilder,Chris Lattner2009-02-031-37/+33
* switch ConvertScalar_InsertValue to use an IRBuilder, no Chris Lattner2009-02-031-30/+32
* make scalar conversion handle stores of first classChris Lattner2009-02-031-22/+38
* Make SROA produce a vector only when the alloca is actually Chris Lattner2009-02-031-7/+20
* add another case of undefined behavior without crashing, PR3466.Chris Lattner2009-02-031-2/+3
* Teach ConvertUsesToScalar to handle memset, allowing it to handle Chris Lattner2009-02-031-21/+55
* rearrange how SRoA handles promotion of allocas to vectors.Chris Lattner2009-02-031-93/+120
* inline SROA::ConvertToScalar, no functionality change.Chris Lattner2009-02-021-20/+14
* Fix a bug which caused us to miscompile a couple of AdaChris Lattner2009-02-021-1/+6
* Fix a comment (bytes -> bits), reformat a commentDuncan Sands2009-02-021-29/+29
* Fix an obvious thinko.Duncan Sands2009-02-021-1/+1
* Simplify and generalize the SROA "convert to scalar" transformation toChris Lattner2009-01-311-317/+174
* Fix some issues with volatility, move "CanConvertToScalar" check Chris Lattner2009-01-281-21/+33
* Rename getABITypeSize to getTypePaddedSize, asDuncan Sands2009-01-121-22/+23
* Fix PR3304Chris Lattner2009-01-091-2/+12
* This implements the second half of the fix for PR3290, handlingChris Lattner2009-01-081-2/+99
* Implement the first half of PR3290: if there is a store of an Chris Lattner2009-01-071-5/+133
* Factor a bunch of code out into a helper method.Chris Lattner2009-01-071-148/+156
* use continue to simplify code and reduce nesting, no functionalityChris Lattner2009-01-071-38/+58
* Get TargetData once up front and cache as an ivar instead ofChris Lattner2009-01-071-45/+38
* Use the hasAllZeroIndices predicate to simplify some Chris Lattner2009-01-071-28/+6
* Allow SROA of vectors. Removing this caused aDale Johannesen2008-11-041-12/+4
* Allow scalarrepl to treat an all-zero GEP just as bitcast.Matthijs Kooijman2008-10-061-14/+28
* Tidy up several unbeseeming casts from pointer to intptr_t.Dan Gohman2008-09-041-1/+1
* Fix PR2423 by checking all indices for out of range access, not only Chris Lattner2008-08-231-35/+31