aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar/ScalarReplAggregates.cpp
Commit message (Expand)AuthorAgeFilesLines
* Finish adding support for lifetime intrinsics to SROA. Fixes PR10121!Nick Lewycky2011-07-251-1/+110
* Convert GetElementPtrInst to use ArrayRef.Jay Foad2011-07-251-3/+2
* Fix MergeInVectorType to check for vector types with the same allocDan Gohman2011-07-211-0/+6
* Convert TargetData::getIndexedOffset to use ArrayRef.Jay Foad2011-07-191-6/+4
* land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner2011-07-181-91/+91
* Use DBG_VALUE location while inserting DBG_VALUE during alloca promotion.Devang Patel2011-07-071-2/+2
* Handle cases where multiple dbg.declare and dbg.value intrinsics are tied to ...Devang Patel2011-07-061-11/+58
* Simplify. Consolidate dbg.declare handling in AllocaPromoter.Devang Patel2011-07-061-13/+18
* Fix likely typo, reduce number of instruction name collisions.Nick Lewycky2011-07-011-1/+1
* Teach one piece of scalarrepl to handle lifetime markers. When transforming anNick Lewycky2011-06-271-13/+37
* When scalar replacement returns a vector type, only accept it if the vectorCameron Zwarich2011-06-181-0/+5
* Fix an invalid bitcast crash that occurs when doing a partial memset of a vectorCameron Zwarich2011-06-181-3/+15
* Remove a pointless assignment. Nothing checks the value of VectorTy anymore nowCameron Zwarich2011-06-181-1/+0
* Be more obvious about what is being tested.Cameron Zwarich2011-06-141-1/+2
* Fix grammar.Cameron Zwarich2011-06-131-3/+3
* Rename MergeInType to MergeInTypeForLoadOrStore.Cameron Zwarich2011-06-131-8/+10
* Remove the HadAVector instance variable and replace it with a use of ScalarKind.Cameron Zwarich2011-06-131-15/+26
* Remove a vacuous check.Cameron Zwarich2011-06-131-1/+1
* Have SRoA explicitly track the kind of scalar it is promoting. This is prettyCameron Zwarich2011-06-131-10/+21
* Remove an argument that is always true.Cameron Zwarich2011-06-131-6/+5
* Remove a vacuous condition.Cameron Zwarich2011-06-091-3/+1
* Fix PR10104 by adding a bounds check on a vector element access check. It wasCameron Zwarich2011-06-091-1/+4
* Fix an assymmetry between ConvertScalar_ExtractValue and ConvertScalar_Insert...Cameron Zwarich2011-06-081-3/+4
* Use IRBuilder, preserve line numbers.Devang Patel2011-06-031-4/+6
* Clean up the lazy initialization of DIBuilder a bit.Cameron Zwarich2011-05-241-0/+2
* Make LoadAndStorePromoter preserve debug info and create llvm.dbg.values whenCameron Zwarich2011-05-241-5/+12
* Fix PR9820: a read-only call differs from a load in that a load doesn'tDuncan Sands2011-05-061-6/+9
* Fix another case of <rdar://problem/9184212> that only occurs with codeCameron Zwarich2011-04-201-31/+44
* The bitcast case here is actually handled uniformly earlier in the function, soCameron Zwarich2011-04-201-8/+3
* Cleanup some code to better use an early return style in preparation for addingCameron Zwarich2011-04-201-6/+10
* Cleanup r129509 based on comments by ChrisMon P Wang2011-04-141-7/+6
* Cleanup r129472 by using a utility routine as suggested by Eli.Mon P Wang2011-04-141-51/+43
* Vectors with different number of elements of the same element type can haveMon P Wang2011-04-131-6/+64
* Remove PHINode::reserveOperandSpace(). Instead, add a parameter toJay Foad2011-03-301-2/+2
* (Almost) always call reserveOperandSpace() on newly created PHINodes.Jay Foad2011-03-301-0/+1
* Do some simple copy propagation through integer loads and stores when promotingCameron Zwarich2011-03-291-9/+14
* Fix a typo and add a test.Cameron Zwarich2011-03-261-1/+1
* Fix PR9464 by correcting some math that just happened to be right in most casesCameron Zwarich2011-03-231-11/+10
* Fix a comment.Cameron Zwarich2011-03-161-3/+3
* Only convert allocas to scalars if it is profitable. The profitability metric ICameron Zwarich2011-03-161-2/+16
* Better use initializer lists.Cameron Zwarich2011-03-161-5/+2
* Add a clarifying comment.Cameron Zwarich2011-03-161-1/+1
* Fix a crasher introduced by r127317 that is seen on the bots when using anCameron Zwarich2011-03-091-18/+21
* Add support to scalar replacement for partial vector accesses of an alloca, e.g.Cameron Zwarich2011-03-091-12/+127
* Move vector type merging to a separate function in preparation for it gettingCameron Zwarich2011-03-091-12/+23
* convert ConstantVector::get to use ArrayRef.Chris Lattner2011-02-151-1/+1
* revert my ConstantVector patch, it seems to have made the llvm-gccChris Lattner2011-02-141-1/+1
* Switch ConstantVector::get to use ArrayRef instead of a pointer+sizeChris Lattner2011-02-141-1/+1
* Give GetUnderlyingObject a TargetData, to keep it in syncDan Gohman2011-01-241-3/+3
* enhance SRoA to promote allocas that are used by PHI nodes. This oftenChris Lattner2011-01-241-26/+157