aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/ScalarReplAggregates.cpp
AgeCommit message (Expand)Author
2009-03-08teach SROA to handle promoting vector allocas with a memset into them intoChris Lattner
2009-03-08Enhance SROA to "promote to scalar" allocas which are Chris Lattner
2009-03-08change the MemIntrinsic get/setAlignment method to take an unsignedChris Lattner
2009-03-08Introduce a new MemTransferInst pseudo class, which is a commonChris Lattner
2009-03-06While converting an aggregate to scalare, ignore and remove aggregate's debug...Devang Patel
2009-03-06SRThreshold is meant to be inclusive.Evan Cheng
2009-03-04complete comment.Chris Lattner
2009-03-04this wasn't intended to be committed.Chris Lattner
2009-03-04Fix PR3720 by properly propagating alignment information from memcpy/memmove Chris Lattner
2009-03-03Use > instead of >=. We want to promote aggregates of 128-bytes.Bill Wendling
2009-03-03Reapply r65755, but reversing "<" to ">=".Bill Wendling
2009-03-01Temporarily revert r65755. It was causing failures in the self-hostingBill Wendling
2009-03-01hoist the check for alloca size up so that it controls CanConvertToScalar Chris Lattner
2009-02-10Use early exits. Reduce indentation.Devang Patel
2009-02-10Enable scalar replacement of AllocaInst whose one of the user is dbg info.Devang Patel
2009-02-06fix PR3489, use bits instead of bytes.Chris Lattner
2009-02-03teach "convert from scalar" to handle loads of fca's.Chris Lattner
2009-02-03refactor the interface to ConvertUsesOfLoadToScalar, Chris Lattner
2009-02-03convert ConvertUsesOfLoadToScalar to use IRBuilder,Chris Lattner
2009-02-03switch ConvertScalar_InsertValue to use an IRBuilder, no Chris Lattner
2009-02-03make scalar conversion handle stores of first classChris Lattner
2009-02-03Make SROA produce a vector only when the alloca is actually Chris Lattner
2009-02-03add another case of undefined behavior without crashing, PR3466.Chris Lattner
2009-02-03Teach ConvertUsesToScalar to handle memset, allowing it to handle Chris Lattner
2009-02-03rearrange how SRoA handles promotion of allocas to vectors.Chris Lattner
2009-02-02inline SROA::ConvertToScalar, no functionality change.Chris Lattner
2009-02-02Fix a bug which caused us to miscompile a couple of AdaChris Lattner
2009-02-02Fix a comment (bytes -> bits), reformat a commentDuncan Sands
2009-02-02Fix an obvious thinko.Duncan Sands
2009-01-31Simplify and generalize the SROA "convert to scalar" transformation toChris Lattner
2009-01-28Fix some issues with volatility, move "CanConvertToScalar" check Chris Lattner
2009-01-12Rename getABITypeSize to getTypePaddedSize, asDuncan Sands
2009-01-09Fix PR3304Chris Lattner
2009-01-08This implements the second half of the fix for PR3290, handlingChris Lattner
2009-01-07Implement the first half of PR3290: if there is a store of an Chris Lattner
2009-01-07Factor a bunch of code out into a helper method.Chris Lattner
2009-01-07use continue to simplify code and reduce nesting, no functionalityChris Lattner
2009-01-07Get TargetData once up front and cache as an ivar instead ofChris Lattner
2009-01-07Use the hasAllZeroIndices predicate to simplify some Chris Lattner
2008-11-04Allow SROA of vectors. Removing this caused aDale Johannesen
2008-10-06Allow scalarrepl to treat an all-zero GEP just as bitcast.Matthijs Kooijman
2008-09-04Tidy up several unbeseeming casts from pointer to intptr_t.Dan Gohman
2008-08-23Fix PR2423 by checking all indices for out of range access, not only Chris Lattner
2008-06-23minor tidying of comments.Chris Lattner
2008-06-22Fix PR2369 by making scalarrepl more careful about promoting Chris Lattner
2008-06-05Learn ScalarReplAggregrates how stores and loads of first class aggregratesMatthijs Kooijman
2008-06-04Change packed struct layout so that field sizesDuncan Sands
2008-05-23Use isSingleValueType instead of isFirstClassType toDan Gohman
2008-05-16API change for {BinaryOperator|CmpInst|CastInst}::create*() --> Create. Legac...Gabor Greif
2008-05-13Clean up the use of static and anonymous namespaces. This turned upDan Gohman