aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar/ScalarReplAggregates.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* Enhance SRoA to promote allocas that are used by selects in someChris Lattner2011-01-231-1/+132
* Enhance SRoA to be more aggressive about scalarization of aggregate allocasChris Lattner2011-01-231-12/+114
* have AllocaInfo store the alloca being inspected, simplifying callers.Chris Lattner2011-01-231-22/+24
* Rearrange some code a bit. Change MarkUnsafe to Chris Lattner2011-01-231-27/+29
* remove an old hack that avoided creating MMX datatypes. TheChris Lattner2011-01-231-22/+1
* Remove outdated references to dominance frontiers.Cameron Zwarich2011-01-181-18/+18
* Roll r123609 back in with two changes that fix test failures with expensiveCameron Zwarich2011-01-171-7/+2
* Roll out r123609 due to failures on the llvm-x86_64-linux-checks bot.Cameron Zwarich2011-01-171-2/+7
* Eliminate the use of dominance frontiers in PromoteMemToReg. In addition toCameron Zwarich2011-01-171-7/+2
* tidy up a comment, as suggested by duncanChris Lattner2011-01-161-2/+2
* if an alloca is only ever accessed as a unit, and is accessed with load/store...Chris Lattner2011-01-161-3/+33
* Use an irbuilder to get some trivial constant folding when doing a storeChris Lattner2011-01-161-21/+17
* enhance FoldOpIntoPhi in instcombine to try harder when a phi hasChris Lattner2011-01-161-0/+1
* Generalize LoadAndStorePromoter a bit and switch LICMChris Lattner2011-01-151-15/+16
* switch SRoA to use LoadAndStorePromoter instead of its own copy of the code.Chris Lattner2011-01-141-136/+26
* split SROA into two passes: one that uses DomFrontiers (-scalarrepl) Chris Lattner2011-01-141-26/+55
* Implement full support for promoting allocas to registers using SSAUpdaterChris Lattner2011-01-141-5/+162
* Fix whitespace.Bob Wilson2011-01-131-120/+120
* Check for empty structs, and for consistency, zero-element arrays.Bob Wilson2011-01-131-2/+2
* Extend SROA to handle arrays accessed as homogeneous structs and vice versa.Bob Wilson2011-01-131-14/+57
* Make SROA more aggressive with allocas containing padding.Bob Wilson2011-01-131-34/+27
* split dom frontier handling stuff out to its own DominanceFrontier header,Chris Lattner2011-01-021-1/+1
* start using irbuilder to make mem intrinsics in a few passes.Chris Lattner2010-12-261-48/+15
* Preserve the address space when generating bitcasts for MemTransferInst in Co...Mon P Wang2010-12-231-3/+16
* Move Value::getUnderlyingObject to be a standaloneDan Gohman2010-12-151-3/+4
* Treat a call of function pointer like a load of the pointer when consideringNick Lewycky2010-11-241-1/+6
* Simplify code. No change in functionality.Benjamin Kramer2010-11-201-1/+1
* finish a thought.Chris Lattner2010-11-181-1/+1
* allow eliminating an alloca that is just copied from an constant globalChris Lattner2010-11-181-3/+10
* enhance the "alloca is just a memcpy from constant global"Chris Lattner2010-11-181-0/+7
* fix a small oversight in the "eliminate memcpy from constant global"Chris Lattner2010-11-181-3/+11
* Get rid of static constructors for pass registration. Instead, every pass ex...Owen Anderson2010-10-191-0/+1
* Eliminate some calls to Value::getNameStr.Benjamin Kramer2010-10-161-1/+1