summaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine
AgeCommit message (Expand)AuthorFilesLines
2012-10-16[InstCombine] Teach InstCombine how to handle an obfuscated splat.Michael Gottesman1-2/+5
2012-10-15Move the Attributes::Builder outside of the Attributes class and into its own...Bill Wendling1-3/+3
2012-10-15Resubmit the changes to llvm core to update the functions to support differen...Micah Villmow2-7/+12
2012-10-15Add an enum for the return and function indexes into the AttrListPtr object. ...Bill Wendling1-4/+8
2012-10-15Attributes RewriteBill Wendling1-1/+2
2012-10-14Remove operator cast method in favor of querying with the correct method.Bill Wendling1-6/+12
2012-10-14Remove the bitwise AND operators from the Attributes class. Replace it with t...Bill Wendling1-1/+2
2012-10-13Implement new LibCallSimplifier classMeador Inge3-36/+9
2012-10-11Revert 165732 for further review.Micah Villmow2-12/+7
2012-10-11Add in the first iteration of support for llvm/clang/lldb to allow variable p...Micah Villmow2-7/+12
2012-10-11Don't crash when !tbaa.struct contents is invalid.Nick Lewycky1-0/+3
2012-10-09Create enums for the different attributes.Bill Wendling1-3/+3
2012-10-09Convert to using the Attributes::Builder interface.Bill Wendling1-12/+13
2012-10-08Move TargetData to DataLayout.Micah Villmow12-33/+33
2012-09-28Surprisingly, we missed a trivial case here. Fix that!Nick Lewycky1-0/+4
2012-09-27Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. S...Sylvestre Ledru8-39/+39
2012-09-27Fix a typo 'iff' => 'if'Sylvestre Ledru8-39/+39
2012-09-27Prefer shuffles to selects. Backends love shuffles!Nick Lewycky1-1/+19
2012-09-25Move Attribute::typeIncompatible inside of the Attributes class.Bill Wendling1-3/+3
2012-09-24Add missing check for presence of target data.Richard Osborne1-20/+22
2012-09-21InstCombine: Make sure we use the pre-zext type when creating a constant of a...Benjamin Kramer1-1/+2
2012-09-18Fix instcombine to obey requested alignment when merging allocas.Richard Osborne1-3/+7
2012-09-15Use LLVM_DELETED_FUNCTION in place of 'DO NOT IMPLEMENT' comments.Craig Topper1-2/+2
2012-09-13Handle the new !tbaa.struct metadata tags when converting a memcpy into scalarDan Gohman1-0/+17
2012-09-13Extract code for reducing a type to a single value type into a helper function.Dan Gohman1-15/+21
2012-08-30InstCombine: Fix comment to reflect the code.Benjamin Kramer1-1/+1
2012-08-30It is illegal to transform (sdiv (ashr X c1) c2) -> (sdiv x (2^c1 * c2)),Nadav Rotem1-10/+0
2012-08-29Make MemoryBuiltins aware of TargetLibraryInfo.Benjamin Kramer2-10/+11
2012-08-28InstCombine: Defensively avoid undefined shifts by limiting the amount to the...Benjamin Kramer1-2/+2
2012-08-28InstCombine: Guard the transform introduced in r162743 against large ints and...Benjamin Kramer1-10/+10
2012-08-28Make sure that we don't call getZExtValue on values > 64 bits.Nadav Rotem1-8/+8
2012-08-28Teach InstCombine to canonicalize [SU]div+[AL]shl patterns.Nadav Rotem1-0/+20
2012-08-21Port the global copy optimization from the SROA pass to InstCombine.Chandler Carruth1-1/+171
2012-08-18InstCombine: Fix a crasher when encountering a function pointer.Benjamin Kramer1-1/+1
2012-08-18Remove overly conservative hasOneUse check, this always expands into a single...Benjamin Kramer1-1/+1
2012-08-18InstCombine: Add a couple of fabs identities for comparing with 0.0.Benjamin Kramer1-0/+39
2012-08-15fix infinite loop in instcombine with more than 4GB memcpyMichael Liao1-6/+4
2012-08-07Fix a serious typo in InstCombine's optimization of comparisons.Bob Wilson1-1/+1
2012-07-27fix infinite loop in instcombine in the presence of a (malformed) self-refere...Nuno Lopes1-0/+4
2012-07-26Simplify demanded bits of select sources where the condition is a constant ve...Pete Cooper2-0/+34
2012-07-26Teach SimplifyDemandedBits how to look through fpext and fptrunc to simplify ...Pete Cooper1-0/+6
2012-07-25make all Emit*() functions consult the TargetLibraryInfo information before c...Nuno Lopes1-1/+1
2012-07-19Remove tabs.Bill Wendling1-1/+1
2012-07-17Back out r160101 and instead implement a dag combine to recover from instcomb...Evan Cheng1-7/+0
2012-07-12Instcombine was transforming:Evan Cheng1-0/+7
2012-07-09instcombine: merge the functions that remove dead allocas and dead mallocs/ca...Nuno Lopes4-122/+73
2012-07-06teach instcombine to remove allocated buffers even if there are stores, memcp...Nuno Lopes1-2/+25
2012-06-29Move llvm/Support/IRBuilder.h -> llvm/IRBuilder.hChandler Carruth1-1/+1
2012-06-28make instcombine produce calls to llvm.donothing instead of a random intrinsicNuno Lopes1-7/+4
2012-06-26Remove a instcombine transform that (no longer?) makes sense:Evan Cheng1-5/+0