summaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
AgeCommit message (Expand)AuthorFilesLines
2012-10-08Move TargetData to DataLayout.Micah Villmow1-9/+9
2012-09-27Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. S...Sylvestre Ledru1-1/+1
2012-09-27Fix a typo 'iff' => 'if'Sylvestre Ledru1-1/+1
2012-09-24Add missing check for presence of target data.Richard Osborne1-20/+22
2012-09-18Fix instcombine to obey requested alignment when merging allocas.Richard Osborne1-3/+7
2012-08-21Port the global copy optimization from the SROA pass to InstCombine.Chandler Carruth1-1/+171
2012-07-09instcombine: merge the functions that remove dead allocas and dead mallocs/ca...Nuno Lopes1-70/+3
2012-06-26Replacing zero-sized alloca's with a null pointer is too aggressive, insteadDuncan Sands1-8/+40
2012-04-08Teach InstCombine to nuke a common alloca pattern -- an alloca which hasChandler Carruth1-1/+70
2012-03-16Revert r152907.Bill Wendling1-15/+3
2012-03-16The alignment of the pointer part of the store instruction may have anBill Wendling1-3/+15
2011-08-16Use the getFirstInsertionPt() method instead of getFirstNonPHI + an 'isa<>'Bill Wendling1-2/+1
2011-08-16A few places where we want to skip the landingpad instruction for insertion.Bill Wendling1-0/+1
2011-08-15Update instcombine for atomic load/store.Eli Friedman1-29/+32
2011-07-25Convert GetElementPtrInst to use ArrayRef.Jay Foad1-2/+1
2011-07-22Convert IRBuilder::CreateGEP and IRBuilder::CreateInBoundsGEP to useJay Foad1-2/+1
2011-07-22Fix an MSVC warning, caused by a case I missed when convertingJay Foad1-1/+1
2011-07-18land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner1-14/+14
2011-05-27Final step of instcombine debuginfo; switch a couple more places over to Inse...Eli Friedman1-4/+6
2011-05-18More instcombine cleanup, towards improving debug line info.Eli Friedman1-3/+5
2011-03-30Remove PHINode::reserveOperandSpace(). Instead, add a parameter toJay Foad1-2/+1
2011-03-14This case is solved by Scalar Replacement of Aggregates (DT) andJin-Gu Kang1-25/+3
2011-03-13Add comment as following:Jin-Gu Kang1-0/+12
2011-03-12This patch removes some of useless instructions generated by bitfield access.Jin-Gu Kang1-3/+13
2011-03-08llvm.dbg.declare intrinsic does not use any llvm::Values. It's magic!Devang Patel1-30/+0
2011-02-15Spelling fix: consequtive -> consecutive.Duncan Sands1-1/+1
2010-12-25Move getOrEnforceKnownAlignment out of instcombine into Transforms/Utils.Chris Lattner1-2/+3
2010-10-25Fix a case where instcombine was stripping metadata (and alignment)Dan Gohman1-1/+3
2010-08-31Remove r111665, which implemented store-narrowing in InstCombine. Chris disc...Owen Anderson1-47/+0
2010-08-20Re-apply r111568 with a fix for the clang self-host.Owen Anderson1-0/+47
2010-08-19Revert r111568 to unbreak clang self-host.Owen Anderson1-45/+0
2010-08-19When a set of bitmask operations, typically from a bitfield initialization, o...Owen Anderson1-0/+45
2010-08-03Make instcombine set explicit alignments on load or storeDan Gohman1-6/+14
2010-07-22mass elimination of reliance on automatic iterator dereferencingGabor Greif1-1/+1
2010-07-12cache result of operator*Gabor Greif1-6/+9
2010-07-09do not repeatedly dereference use_iteratorGabor Greif1-3/+4
2010-05-28Move FindAvailableLoadedValue isSafeToLoadUnconditionally out ofDan Gohman1-0/+1
2010-05-28Teach instcombine to promote alloca array sizes.Dan Gohman1-0/+12
2010-02-16There are two ways of checking for a given type, for example isa<PointerType>(T)Duncan Sands1-14/+14
2010-02-15Uniformize the names of type predicates: rather than having isFloatTy andDuncan Sands1-5/+5
2010-01-30Check alignment of loads when deciding whether it is safe to execute themBob Wilson1-6/+7
2010-01-30Use more specific types to avoid casts. No functionality change.Bob Wilson1-6/+6
2010-01-29Preserve load alignment in instcombine transformations. I've been unable toBob Wilson1-0/+3
2010-01-29Improve isSafeToLoadUnconditionally to recognize that GEPs with constantBob Wilson1-2/+2
2010-01-22Keep ignoring pointer-to-pointer bitcastsVictor Hernandez1-4/+8
2010-01-21No need to look through bitcasts for DbgInfoIntrinsicVictor Hernandez1-13/+6
2010-01-19Fix comment.Eric Christopher1-1/+1
2010-01-05split out load/store/alloca.Chris Lattner1-0/+613