aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine
AgeCommit message (Expand)Author
2012-10-11Revert 165732 for further review.Micah Villmow
2012-10-11Add in the first iteration of support for llvm/clang/lldb to allow variable p...Micah Villmow
2012-10-11Don't crash when !tbaa.struct contents is invalid.Nick Lewycky
2012-10-09Create enums for the different attributes.Bill Wendling
2012-10-09Convert to using the Attributes::Builder interface.Bill Wendling
2012-10-08Move TargetData to DataLayout.Micah Villmow
2012-09-28Surprisingly, we missed a trivial case here. Fix that!Nick Lewycky
2012-09-27Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. S...Sylvestre Ledru
2012-09-27Fix a typo 'iff' => 'if'Sylvestre Ledru
2012-09-27Prefer shuffles to selects. Backends love shuffles!Nick Lewycky
2012-09-25Move Attribute::typeIncompatible inside of the Attributes class.Bill Wendling
2012-09-24Add missing check for presence of target data.Richard Osborne
2012-09-21InstCombine: Make sure we use the pre-zext type when creating a constant of a...Benjamin Kramer
2012-09-18Fix instcombine to obey requested alignment when merging allocas.Richard Osborne
2012-09-15Use LLVM_DELETED_FUNCTION in place of 'DO NOT IMPLEMENT' comments.Craig Topper
2012-09-13Handle the new !tbaa.struct metadata tags when converting a memcpy into scalarDan Gohman
2012-09-13Extract code for reducing a type to a single value type into a helper function.Dan Gohman
2012-08-30InstCombine: Fix comment to reflect the code.Benjamin Kramer
2012-08-30It is illegal to transform (sdiv (ashr X c1) c2) -> (sdiv x (2^c1 * c2)),Nadav Rotem
2012-08-29Make MemoryBuiltins aware of TargetLibraryInfo.Benjamin Kramer
2012-08-28InstCombine: Defensively avoid undefined shifts by limiting the amount to the...Benjamin Kramer
2012-08-28InstCombine: Guard the transform introduced in r162743 against large ints and...Benjamin Kramer
2012-08-28Make sure that we don't call getZExtValue on values > 64 bits.Nadav Rotem
2012-08-28Teach InstCombine to canonicalize [SU]div+[AL]shl patterns.Nadav Rotem
2012-08-21Port the global copy optimization from the SROA pass to InstCombine.Chandler Carruth
2012-08-18InstCombine: Fix a crasher when encountering a function pointer.Benjamin Kramer
2012-08-18Remove overly conservative hasOneUse check, this always expands into a single...Benjamin Kramer
2012-08-18InstCombine: Add a couple of fabs identities for comparing with 0.0.Benjamin Kramer
2012-08-15fix infinite loop in instcombine with more than 4GB memcpyMichael Liao
2012-08-07Fix a serious typo in InstCombine's optimization of comparisons.Bob Wilson
2012-07-27fix infinite loop in instcombine in the presence of a (malformed) self-refere...Nuno Lopes
2012-07-26Simplify demanded bits of select sources where the condition is a constant ve...Pete Cooper
2012-07-26Teach SimplifyDemandedBits how to look through fpext and fptrunc to simplify ...Pete Cooper
2012-07-25make all Emit*() functions consult the TargetLibraryInfo information before c...Nuno Lopes
2012-07-19Remove tabs.Bill Wendling
2012-07-17Back out r160101 and instead implement a dag combine to recover from instcomb...Evan Cheng
2012-07-12Instcombine was transforming:Evan Cheng
2012-07-09instcombine: merge the functions that remove dead allocas and dead mallocs/ca...Nuno Lopes
2012-07-06teach instcombine to remove allocated buffers even if there are stores, memcp...Nuno Lopes
2012-06-29Move llvm/Support/IRBuilder.h -> llvm/IRBuilder.hChandler Carruth
2012-06-28make instcombine produce calls to llvm.donothing instead of a random intrinsicNuno Lopes
2012-06-26Remove a instcombine transform that (no longer?) makes sense:Evan Cheng
2012-06-26Replacing zero-sized alloca's with a null pointer is too aggressive, insteadDuncan Sands
2012-06-25improve optimization of invoke instructions:Nuno Lopes
2012-06-24llvm/lib: [CMake] Add explicit dependency to intrinsics_gen.NAKAMURA Takumi
2012-06-22Revert remaining part of r93200: "Disable folding sext(trunc(x)) -> x"Jakob Stoklund Olesen
2012-06-21instcombine: disable optimization of 'invoke null/undef'. I'll move this fun...Nuno Lopes
2012-06-21Look pass zext to strength reduce an udiv. Patch by David Majnemer. rdar://11...Evan Cheng
2012-06-21Add support for invoke to the MemoryBuiltin analysid.Nuno Lopes
2012-06-21refactor the MemoryBuiltin analysis:Nuno Lopes