aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/ScalarReplAggregates.cpp
AgeCommit message (Expand)Author
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
2008-04-06API changes for class Use size reduction, wave 1.Gabor Greif
2008-02-29fix a bug Anders ran into where scalarrepl would crash when promotingChris Lattner
2008-02-29Refactor some code out of ConvertUsesToScalar into their own methods, noChris Lattner
2008-02-10Fix scalarrepl to not 'miscompile' undefined code, part #2.Chris Lattner
2008-01-30Fix a bug where scalarrepl would discard offset if type would match.Chris Lattner
2007-12-29Remove attribution from file headers, per discussion on llvmdev.Chris Lattner
2007-11-06At the point of calculating the shift amount, theDuncan Sands
2007-11-05If a long double is in a packed struct, it may beDuncan Sands
2007-11-04Change uses of getTypeSize to getABITypeSize, getTypeStoreSizeDuncan Sands
2007-09-28Don't do SRA for unions with long double fields.Dale Johannesen
2007-09-04Update GEP constructors to use an iterator interface to fixDavid Greene